Move the Microsoft Dynamics CRM databases to another SQL Server and SQL Server Reporting Services server in the same domain, and leave the Microsoft Dynamics CRM Server 2011 on the existing server
- Back up the OrganizationName_MSCRM database and the MSCRM_CONFIG database. To do this, follow these steps:
- On the computer that is running Microsoft SQL Server, click Start, point to All Programs, point to Microsoft SQL Server 2008, and then click SQL Server Management Studio.
- In the Connect to Server window, type the name of the server that is running Microsoft SQL Server 2008 in the Server name box and then click Connect.
- Expand Databases, right-click the OrganizationName_MSCRM database, point to Tasks, and then click Back Up.
- Under Destination, add the location to save the backup file, and then click OK.
- Repeat steps 1b and 1c for the MSCRM_CONFIG database.
Note If you must move more than one organization, repeat steps 1a-1d for each organization database. - Restore the OrganizationName_MSCRM database and the MSCRM_CONFIG database on the new computer that is running SQL Server. To do this, follow these steps:
- On the new computer, click Start, point to All Programs , point to Microsoft SQL Server 2008, and then click SQL Server Management Studio.
- In the Connect to Server window, type the name of the server that is running Microsoft SQL Server 2008 in the Server name box and then click Connect.
- Right-click Databases, and then click Restore Database.
- Under Destination to restore, type the name of the OrganizationName_MSCRM database in the To database box.
- Under Source for restore, click From device, click the ellipsis button ( ... ), add the OrganizationName_MSCRM database, and then click OK.
- Click to select the Restore check box, and then click OK.
- Repeat steps 2b-2e for the MSCRM_CONFIG database.
Note If you must move more than one organization, repeat steps 2a-2f for each organization database. - Update the configdb registry subkey on the computer that is running Microsoft Dynamics CRM Server 2011. To do this, follow these steps:
- On the computer that is running Microsoft Dynamics CRM Server 2011, click Start, click Run, type regedit in the Open box, and then clickOK.
- Locate registry subkey: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSCRM.
- Right-click configdb, and then click Modify.
- In the Value data box, change the data source to the name of the new SQL Server, and then click OK. For example, the string value in the Value data box should resemble the following:
Data Source= <NewSQLServeName>r ;Initial Catalog=MSCRM_CONFIG;Integrated Security=SSPI
Note If multiple Microsoft Dynamics CRM roles are in your deployment, you must update the configdb registry key for all the server roles. If you use the Microsoft Dynamics CRM Reporting Extensions and if you are not moving the Microsoft SQL Server Reporting Services server, you must update the configdb subkey on the computer on which the Microsoft Dynamics CRM Reporting Extensions are installed.
- Configure the Microsoft Dynamics CRM application to point to the new SQL Server and Microsoft SQL Server Reporting Services. To do this, follow these steps:
- On the computer that is running Microsoft Dynamics CRM Server 2011, click Start, point to All Programs, point to Microsoft Dynamics CRM 2011 , and then click Deployment Manager.
- Click Organizations.
- Right-click the organization that you moved to the new computer that is running SQL Server, and then click Disable.
- Right-click the organization that you disabled, and then click Edit Organization.
- Type the new name of the SQL Server and the new URL for the Microsoft SQL Server Reporting Services server.
- Click Next two times, and then click Apply.
- Right-click the organization that you disabled in step 4c, click Enable, and then click Yes.
- If you are using the Microsoft Dynamics CRM Reporting Extensions and if you are moving to a new Microsoft SQL Server Reporting Services server, you must install the Microsoft Dynamics CRM Reporting Extensions on the new server that is running Microsoft SQL Server Reporting Services.
时间: 2024-11-03 21:19:06