| Zak 的个人资料Zaks照片日志列表 | 帮助 |
|
|
9月8日 Move SharePoint Databases to New Database ServerLately I had to test the best approach to migrate SharePoint databases including the configuration database to a brand new SQL Database Server, and make sure everything is back in order. The following expresses my approach and the steps involved in a safe and sound migration. Although there are various blogs and articles available out there, Unfortunately it became very cumbersome to manage and my intention was to keep it as simple as possible.. Assets.Small to Medium farm contains 1 Application server, 2 frontends and 1 SQL Server (Just to keep it simple). Topology.Requirement.
Reason.Any valid reason in relation to performance, Network Issues and growing too fast and too quickly etc etc. In my case moving up to failover SQL clusters from single server scenario.. Process.- Backup the entire MOSS farm using STSADM command line tool or the central administration web interface. This step is just in case anything goes wrong.
- Backup all SharePoint related Databases from source database server (DB01) using standard TSQL Statements.
- Generate the SQL Scripts for User creation ( domain user accounts and domain service accounts ). SQL Logins require additional operations that where not tested through this process.
- Restore SQL Database Backup files to the new Database server (DB02)
- Execute the account creation script on the new Database server (DB02) (script generated from earlier step) - Stop all SharePoint Services on all the servers including the application servers.
- Stop IIS, including all dependency services. Its easier to stop the IISAdmin service which in turn stops all dependency services.
- Run the STSADM Command to Rename the Server. This command needs to be executed on all the servers (application and front end).
- Finally either 1. restart the SharePoint web front end servers including the application servers or; 2. restart all the stopped services (SharePoint and IIS) manually in a orderly fashion based on the dependencies.
- All done…Now you should have your farm pointing to the new database servers, Just to make sure there are no other side effects monitor the event logs. Test.Go to the Central admin UI > Operations > Servers in farm, you should now see the new server displayed. References.http://technet.microsoft.com/en-us/library/cc512725.aspx Note.This process will not work effectively on a single/standalone server scenario. |
|
|