Friday, November 9, 2007

Migrate IIS FTP to New Server and Drive

Bulletin: 110907

Software Effected:
ServerMigrator, Rsemble Server Edition

Issue:
We are in the process of migrating Windows IIS ftp and web services from a failing server to a new member server.
Using the Winzero ServerMigrator, the migration process results, local user accounts, passwords, local groups, local group membership, file and folder permissions are sucessfully moved to the new server. One of our requirements was to move the INETPub folder to a different drive on the destination server. How do we repoint IIS to see the new drive without using IISAdmin to recreate all the ftp sites maually.

Solution:
MSFtp services is dependend on the local user accounts, permissions and locations of the virtual FTP root. Both the local accounts and the NTFS permissions are automatically recreate on the destination server. However, when the data from INETPub folder is moved to a diferrent drive letter on the destination folder, IIS must be configured to point to the new location of the INETPub folder.

Registry Information
You can quickly change default INETPub entries in the registry to reflect the new drive location. For a registry change to take effect, you must restart the service that is affected by the change. For global changes to take effect, you must restart all services. We strongly recommend changing at least both the CurrentConrolSet and ControlSet001 plus any ControlSet00x entry in:

FTP Services
Key: HKEY_LOCAL_MACHINE
Path: SYSTEM\CurrentControlSet\Services\MSFTPSVC\Parameters\Virtual Roots\
Value string: \

Web Services
Key: HKEY_LOCAL_MACHINE\SYSTEM
Path: CurrentControlSet\Control\ContentIndex\Catalogs\Web
Value string: Location

Key: HKEY_LOCAL_MACHINE
Path: Software\Microsoft\Inetstp
Value string: PathWWWRoot

Change the drive letter to the New INETPub folder location on the destination server.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.