Hi All,
We recently updated the database for our SharePoint 2010 application as Microsoft has stopped support for SQL 2008
Steps migratiing database are as follows :
We recently updated the database for our SharePoint 2010 application as Microsoft has stopped support for SQL 2008
Steps migratiing database are as follows :
- Install SharePoint SP1(Service Pack 1) on Application server and reboot. Test the application and make sure it is working fine
- Install SharePoint SP1(Service Pack 1) on WFE server and reboot. Test the application and make sure it is working fine.
Note : Service Pack installation is mandatory - Once your application is working fine, you need to stop following services on application server and WFE
- *SharePoint 2010 Administration
- *SharePoint 2010 Timer
- *SharePoint 2010 Tracing
- *SharePoint 2010 User Code Host
- *SharePoint 2010 VSS Writer
- *SharePoint Foundation Search V4
- *SharePoint Server Search 14
- *World Wide Web Publishing Service
- *SharePoint Server Search 14
- *SharePoint Foundation Search V4
- *SharePoint Server Search 14
- *Web Analytics Service(in services.msc)
- * IIS
- Ensure no connection exists on the databases (Run command sp_who2 on SQL instance "Servername\Instance name" and confirm.Kill the connections if needed.
- Backup content database & custom database
Note : Make sure there is enough space to take back up and other drives. - Detach all user databases using and secure respective .mdf & .ldf files.Ensure all the user databases are detached before proceeding further.
- Start uninstall process of SQL 2008 R2. Select your database instance while uninstalling.
- Once uninstallation completed, re-boot the machine
- Start installing SQL 2012
- Ensure data drives and backup drives are configured to drives which have ample of space to cope up with database size requirements.
- Ensure Instance name
- Make sure to add your Admin users and sa account as Administrators
- Attach all the database which were detached in earlier steps
- Change database property to SQL 2012
Will update any details/scripts related to this shortly - Start all the stopped services and start IIS
- Test you application
Tada ! Its should work :)
You can also user performance monitor tool to make sure the data hasn't changed before and after database migration.
I am pretty much sure that this strategy can work on any version of SharePoint but I would advice you to carry this activities on Development server and upon successful execution can be carried on Production servers
No comments:
Post a Comment