MSCRM 迁移 数据库 服务器

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

 

    1. Back up the OrganizationName_MSCRM database and the MSCRM_CONFIG database. To do this, follow these steps:

      1. 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.

      2. 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.

      3. Expand Databases, right-click the OrganizationName_MSCRM database, point to Tasks, and then click Back Up.

      4. Under Destination, add the location to save the backup file, and then click OK.

      5. 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.

       

       

    2. 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:

      1. On the new computer, click Start, point to All Programs , point to Microsoft SQL Server 2008, and then click SQL Server Management Studio.

      2. 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.

      3. Right-click Databases, and then click Restore Database.

      4. Under Destination to restore, type the name of the OrganizationName_MSCRM database in the To database box.

      5. Under Source for restore, click From device, click the ellipsis button ( ... ), add the OrganizationName_MSCRM database, and then click OK.

      6. Click to select the Restore check box, and then click OK.

      7. 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.

       

       

    3. Update the configdb registry subkey on the computer that is running Microsoft Dynamics CRM Server 2011. To do this, follow these steps:

      1. On the computer that is running Microsoft Dynamics CRM Server 2011, click Start, click Run, type regedit in the Open box, and then clickOK.

      2. Locate registry subkey: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSCRM.

      3. Right-click configdb, and then click Modify.

      4. 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.

       

       

    4. 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:

      1. 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.

      2. Click Organizations.

      3. Right-click the organization that you moved to the new computer that is running SQL Server, and then click Disable.

      4. Right-click the organization that you disabled, and then click Edit Organization.

      5. Type the new name of the SQL Server and the new URL for the Microsoft SQL Server Reporting Services server.

      6. Click Next two times, and then click Apply.

      7. Right-click the organization that you disabled in step 4c, click Enable, and then click Yes.

    5. 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.

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。