Migrate IIS 6.0 to IIS 7.0/7.5


Migrate IIS 5.0 / 6.0 to another server were very simple prior to windows 2008. Steps was just add/remove widows component to add IIS to destination server and from the source server’s IIS manger selecting Action –All Tasks– Backup/Restore Configuration to backup the existing configuration and  copy backup files from source server folder ( \systemroot\System32\Inetsrv\Metaback)  to the same folder at the destination server. Restart destination server the IIS service and done.

Following steps are based on webdeploy.exe tool to migrate from IIS6.0 to IIS7.5.

You can download and install the latest web deployment tool from following link:

http://www.iis.net/download/WebDeploy

Prerequisites:

This guide requires the following prerequisites:

  • .NET Framework 2.0 SP1 or greater
  • Web Deployment Tool 1.1

Now based on complexity of one’s web-sever firms; syntax could fairly complex for newbies specially dependency issues. Please backup your IIS server before proceed with following steps. There are many way this web deployment tool can be used (I tried in different forest). I find this tool is very sensitive to encrypted sites, dependency issues and also unable to generate deployment zip file for large web contents. Once I removed application pool related dependency from my existing (source) sites and following steps worked.

Source server (Windows 2003, running existing sites IIS 6.0)

C:\Program Files\IIS\Microsoft Web Deploy V2>msdeploy -verb:sync  -source:metakey=lm/w3svc/1 -dest:package=c:\Site1.zip, -disableLink:Content  > WebDeployPackage.log

Destination server (Windows 2008 R2, installed IIS 7.5 and runs only default web site):

C:\Program Files\IIS\Microsoft Web Deploy V2>msdeploy -verb:sync -source:package

=D:\deployment\win2k3\Site1.zip -dest:metakey=lm/w3svc/1  > WebDeploySync.log

For more details, following links are very informative:

http://learn.iis.net/page.aspx/427/migrate-a-web-site-from-iis-60-to-iis-7/

http://technet.microsoft.com/en-us/library/dd569001%28WS.10%29.aspx

 

Advertisements

About Robiul

Robiul has 15 years of continuous successful career experience in ICT with extensive background in System Engineering, IT infrastructure design, operations and service delivery, managing IT projects / MIS functions for local and multi-national companies with in-depth knowledge of multiple operating systems as well as construct / manage small to medium size Data Center. Proven ability to design and implement medium to semi-large scale LAN/WAN/WLAN and system infrastructures. Academic qualification: Master of Science in Information Systems. Professional certifications are: MCSE, CCNA, ITIL and FoundStone Security Professional, VCP, NetAPP, CISSP etc.
This entry was posted in Others and tagged . Bookmark the permalink.