16.2. Sharing content using Distributed File System (DFS)

Microsoft’s Distributed File System is designed to synchronize folders across file servers and has been around for a long time. No doubt you’ve run across it in your IT pro career. IIS can take advantage of DFS to synchronize website content across web servers in a web farm. Although it’s slightly more complicated to configure than the simple script from the previous section, it overcomes a couple problems with the script.

There are two drawbacks to the copy script:

  • The copy process doesn’t delete or remove files. That leaves old content out on your servers and increases disk usage. You can fix that by writing better scripts and scheduling updates using PowerShell, but it requires a ...

Get Learn Windows IIS in a Month of Lunches now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.