Well i have to say your method looks ok in general but I would say
the best plan in something like this is to get a vm with iis7 in
to test things out first.
Somewhere like vaasnet.com is great for this as its per hour & instant setup.
Also you may come up against something like this in you testing
Regards
Jeremy
If this has helped Please: Don't forget to click "Mark as Answer" on the post that helped you.
That way future readers will know which post solved your issue.
But remember testing & backup are your best friends in any server moving.
Regards
Jeremy
If this has helped Please: Don't forget to click "Mark as Answer" on the post that helped you.
That way future readers will know which post solved your issue.
Sorry for the late reply, and to answer your questions:
MNeverick20
Current folder is: C:\Inetpub\wwwroot\ Will this be as well C:\Inetpub\wwwroot\ on new Windows Server Web 2008 R2 with IIS7?
Yes, the physical paths of sites are also part of the configurations, and they should be migrated to the exact same path as they were at the old server.
MNeverick20
The current websites use only ASP.NET 2.0 Is there anything I should care about it, when I use MSDeploy for a IIS6 to IIS7 Migration?
As you said you have checked the dependencies, what you need to do is ensure all the listed dependencies have been or will be installed when the site is being takan online on the new server.
MNeverick20
Will customized HTTP-Header as well migrated? Like X-UA-Compatible IE=EmulateIE7; IE=EmulateIE9
Yes. Custom headers will also been migrated.
MNeverick20
I have a fresh new installed Windows Web Server 2008 R2 with IIS7 - should I start the webserver before migration or after Migration?
You need to ensure msdeploy has been installed and corresponding service have been started. As I know, if no particular reason, you don't need to restart the server.
MNeverick20
Destination Server MSDeploy Syntax question:
Please see above:
Should I use
msdeploy -verb:sync
or
msdeploy -verb:migrate
instead? I am unsure which syntax is correct.
There is no verb migrate for the latest version, so you need to use sync for all migration tasks.
MNeverick20
I have created a backup from the new ISS7 System with
%windir%\system32\inetsrv\appcmd add backup “PreWebDeploy”
Is this the correct syntax for restore the backup?:
%windir%\system32\inetsrv\appcmd restore backup "PreWebDeploy"
That's correct.
MNeverick20
Is there anything I missed above regarding the syntax of the IIS6 to IIS7 migration?
I notice you use webServer60 as provider at source server which means you will package a server but matakey provide for destination which is used for one site. You need to make source provider compatible with the destination one, means server -> server,
site -> site.
And to add more information, you can always specify an "-whatif" option to command to see the execution result without actually running the command.
MNeverick20
8 Posts
Re: IIS6 to IIS7 migration: some basic questions of understanding (MS Deploy)
Jan 21, 2012 11:31 AM|LINK
again, I have no errors.
Is the correct syntax for a migration for IIS6 to IIS7 -verb:sync or -verb:migrate on the destination server?
I hope my questions are very simple to answer.
Meverick
HCamper
8048 Posts
Re: IIS6 to IIS7 migration: some basic questions of understanding (MS Deploy)
Jan 21, 2012 12:30 PM|LINK
Hi,
The syntax looks correct...
Forums Post http://forums.iis.net/t/1159017.aspx
general Syntax commands.. you should still
test before deployment.
regards,
Martin
Community Member Award 2011
jeremyh
89 Posts
Re: IIS6 to IIS7 migration: some basic questions of understanding (MS Deploy)
Jan 21, 2012 02:58 PM|LINK
Ok great glad you read that.
Well i have to say your method looks ok in general but I would say
the best plan in something like this is to get a vm with iis7 in
to test things out first.
Somewhere like vaasnet.com is great for this as its per hour & instant setup.
Also you may come up against something like this in you testing
http://stackoverflow.com/questions/2601862/msdeploy-migrate-only-configuration-from-iis-6-to-7
http://forums.iis.net/t/1159017.aspx
Good luck
Jeremy
If this has helped Please: Don't forget to click "Mark as Answer" on the post that helped you.
That way future readers will know which post solved your issue.
HCamper
8048 Posts
Re: IIS6 to IIS7 migration: some basic questions of understanding (MS Deploy)
Jan 21, 2012 03:12 PM|LINK
Hi,
Jeremy has suggestion you should look at.
Regards,
Martin
Community Member Award 2011
MNeverick20
8 Posts
Re: IIS6 to IIS7 migration: some basic questions of understanding (MS Deploy)
Jan 22, 2012 12:28 PM|LINK
On the destination server I should use --verb:migrate..., correct?
Many thanks,
Meverick
HCamper
8048 Posts
Re: IIS6 to IIS7 migration: some basic questions of understanding (MS Deploy)
Jan 23, 2012 06:05 AM|LINK
Hi,
Sorry for the late reply,
I have problems at times using verbs while writing.:D.
http://raquila.com/software/ms-deploy-basics/ I found this while searching.
"MS Deploy Basics"
HTH
Martin
Community Member Award 2011
MNeverick20
8 Posts
Re: IIS6 to IIS7 migration: some basic questions of understanding (MS Deploy)
Jan 24, 2012 06:44 AM|LINK
OK - so - do you know from your past experience with MS Deploy, that I should use
on the source server
sync
and on the target server
migrate
correct?
Many thanks,
Meverick
HCamper
8048 Posts
Re: IIS6 to IIS7 migration: some basic questions of understanding (MS Deploy)
Jan 24, 2012 07:36 AM|LINK
Hi,
I my experience comes from Trouble Shooting and testing: The syntax is different.
MS Deploy To Synchronize by using a package file http://learn.iis.net/page.aspx/452/synchronizing-two-iis-servers-with-php/
I did testing checked the logs and then learned how to use MS Deploy correctly for this purpose.
This was not with out problems :(.
Not sure if it answers your questions ?
Maybe Jeremy can explain the details better.
Martin
Community Member Award 2011
jeremyh
89 Posts
Re: IIS6 to IIS7 migration: some basic questions of understanding (MS Deploy)
Jan 24, 2012 09:09 AM|LINK
Use sync on the target server.
For more background take a read of
http://forums.iis.net/t/1161314.aspx
http://forums.iis.net/t/1167114.aspx
But remember testing & backup are your best friends in any server moving.
Jeremy
If this has helped Please: Don't forget to click "Mark as Answer" on the post that helped you.
That way future readers will know which post solved your issue.
Lloydz
2335 Posts
Microsoft
Re: IIS6 to IIS7 migration: some basic questions of understanding (MS Deploy)
Jan 27, 2012 05:19 AM|LINK
Hi,
Sorry for the late reply, and to answer your questions:
Yes, the physical paths of sites are also part of the configurations, and they should be migrated to the exact same path as they were at the old server.
As you said you have checked the dependencies, what you need to do is ensure all the listed dependencies have been or will be installed when the site is being takan online on the new server.
Yes. Custom headers will also been migrated.
You need to ensure msdeploy has been installed and corresponding service have been started. As I know, if no particular reason, you don't need to restart the server.
There is no verb migrate for the latest version, so you need to use sync for all migration tasks.
That's correct.
I notice you use webServer60 as provider at source server which means you will package a server but matakey provide for destination which is used for one site. You need to make source provider compatible with the destination one, means server -> server, site -> site.
And to add more information, you can always specify an "-whatif" option to command to see the execution result without actually running the command.
Hope this helps, thanks.