Friday, April 1, 2011

Migrating MOSS 2007 SSP/MySites to SharePoint 2010 in a database attach scenario While moving Sharepoint 2007 Mysites and profiles to SharePoint 2010 we have faced lot of issues. first we did this by following spmike blog but we have faced accesing problems other than server(while clicking people search result link). Here i am just modifing the some of the spmike blog content only, so this credit goes to spmike only. Below are the steps.....

1. Backup your existing MySites content database(s) on your MOSS 2007 farm SQL Server

2. Back up existing SSP database on MOSS 2007 farm SQL Server

3. Move both database .BAK files to the new SQL Server

4. Restore the SSP database from .BAK as database named AllProfile_DB(in my case) on your new SQL Server

5. Restore the MySites database from .BAK as database named WSS_Content_MySites (in my case) on your new SQL Server

6. Create a new Web Application in your SharePoint 2010 Central Administration site to host your migrated MySites content (e.g. http://gss.mysites)

7. Create a root site collection in the above created Web Application at location “/” by using My Site Host Template located under the Enterprise Tab (How to create MySite )

8. Attach and upgrade the restored 2007 MySites database (i.e. WSS_Content_MySites) using the SharePoint 2010 Management Shell

Mount-SpcontentDatabase –Name WSS_Content_MySites –WebApplication http://gss.mysites

9. Turn off the following services in your SharePoint 2010 Central Administration

• site User Profile Service

• User Profile Synchronization Service

10. Delete existing User Profile Service Application(s) if they already exist [Central Administration -> Application Management -> Manage Service Applications] Make sure to check the box for delete associated data/content

11. Reset IIS

12. Create a new User Profile Service Application in Central Administration [Central Administration –> Manage Service Applications –> New] Name = User Profile Service Application Create New App Pool “User Profile Service Application” DOMAIN\farm_account Use the restored 2007 SSP database as the “Profile Database Name” (AllProfile_DB) Accept all other default database names Enter the newly created MySites SiteCollectionurl (e.g. http://gss.mysites) as the default MySites location for the new User Profile Service Application

13. Go to “Administrators” in the ribbon menu for the User Profile Service Application and verify that DOMAIN\farm_account has “Full Control” rights

14. Start the User Profile Service in Central Administration [Central Administration –> Application Management –> Manage Services on Server]

15. Start the User Profile Synchronization service in Central Administration [Central Administration –> Application Management –> Manage Services on Server] Use DOMAIN\farm_account credentials This will take a few minutes…

16. Follow progress in ULSViewer.exe if you are concerned it is failing & filter by Category=”User Profile”

17. Reset IIS

18. In service.msc on your Central Administration host server (i.e. “App Server”), verify the two ForeFront Identity Management Windows services Services are started set to startup “Automatic” Running as DOMAIN\farm_account

19. Setup Profile Import [Central Administration -> Manage Service Applications -> User Profile Service Application - click on title] Click on the link to “Add New Synchronization Connection” [see examples below]

Name = DOMAIN

Forest Name = sub.domain.local

Specify a DC = dc.sub.domain.local

Authentication = Windows Authentication

Account Name = DOMAIN\ad_sync_account

Make sure your chosen account has “Replicating Changes” rights in AD [for more details refer to this article] Click “Populate Containers” Click “Select All” “OK”

20. Run a Full Import Central Administration –> Manage Service Applications” -> “User Profile Service Application” -> “Start Profile Synchronization” -> select Full Import radio button option This will take a few minutes..

21. Setup Profile Sync schedules [Central Administration –> Monitoring –> Timer Jobs] Test the MySites site with a domain user account…success!


Might be it will help somebody.....