Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

How to move the Microsoft Dynamics CRM 4.0 deployment


View products that this article applies to.

INTRODUCTION

This article describes the steps that you must follow to move the Microsoft Dynamics CRM 4.0 deployment in the following scenarios:
  • You want to move the Microsoft Dynamics CRM databases to another Microsoft SQL Server and Microsoft SQL Server Reporting Services server in the same domain. Additionally, you want to leave the Microsoft Dynamics CRM Server on the existing server.
  • You want to redeploy the Microsoft Dynamics CRM deployment that includes the Microsoft Dynamics CRM server within the same domain or to another domain.
  • You want to move the Microsoft Dynamics CRM Server or one of the Microsoft Dynamics CRM server roles. However, you want to leave the SQL Server and SQL Server Reporting Services server intact.

↑ Back to the top


More Information

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 on the existing server

  1. Back up the Organization_MSCRM database and the MSCRM_Config database. To do this, follow these steps:
    1. On the computer that is running SQL Server, click Start, point to All Programs, point to Microsoft SQL Server 2005, and then click SQL Server Management Studio.
    2. Expand Databases, right-click the Organization_MSCRM database, point to Tasks, and then click Back Up.
    3. Under Destination, add the location to save the backup file, and then click OK.
    4. 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 Organization_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 2005, and then click SQL Server Management Studio.
    2. Right-click Databases, and then click Restore Database.
    3. Under Destination to restore, type the name of the Organization_MSCRM database in the To database box.
    4. Under Source for restore, click From device, click the ellipsis button (...), add the Organization_MSCRM database, and then click OK.
    5. Click to select the Restore check box, and then click OK.
    6. 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 following registry subkeys on the computer that is running Microsoft Dynamics CRM Server:
    • configdb
    • database
    • metabase
    To do this, follow these steps:
    1. On the computer that is running Microsoft Dynamics CRM Server, click Start, click Run, type regedit in the Open box, and then click OK.
    2. Locate the following 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=NewSQLServer;Initial Catalog=MSCRM_CONFIG;Integrated Security=SSPI
    5. Follow steps 3b-3d for the database subkey and for the metabase subkey.
    Notes
    • If multiple Microsoft Dynamics CRM Roles are in your deployment, you must update the registry keys for all the server roles.
    • If you use the Microsoft Dynamics CRM Data Connector for SQL Server Reporting Services and if you are not moving the SQL Server Reporting Services server, you must update the configdb subkey on the computer on which the Microsoft Dynamics CRM Data Connector for SQL Server Reporting Services is installed.
  4. Configure the Microsoft Dynamics CRM Application to point to the new SQL Server and SQL Server Reporting Services. To do this, follow these steps:
    1. On the computer that is running Microsoft Dynamics CRM Server, click Start, point to All Programs, point to Microsoft Dynamics CRM, 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 SQL Server Reporting Services server.

      Note This step publishes the reports that are in Microsoft Dynamics CRM to the new computer that is running SQL Server Reporting Services server that you specify.
    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 Data Connector for SQL Server Reporting Services and if you are moving to a new SQL Server Reporting Services server, you must install the data connector on the new computer that is running SQL Server Reporting Services.

Redeploy the Microsoft Dynamics CRM deployment that includes the Microsoft Dynamics CRM Server within the same domain or to another domain.

  1. Back up the Organization_MSCRM databases. To do this, follow these steps:
    1. On the computer that is running SQL Server, click Start, point to All Programs, point to Microsoft SQL Server 2005, and then click SQL Server Management Studio.
    2. Expand Databases, right-click the Organization_MSCRM database, point to Tasks, and then click Back Up.
    3. Under Destination, add the location to save the backup file, and then click OK.
    4. Repeat steps 1b and 1c for any other
      Organization_MSCRM database that must be moved.
  2. Install Microsoft Dynamics CRM 4.0 on the new computer that will run Microsoft Dynamics CRM Server.

    Note When you are prompted to enter the organization name, use a name that differs from the original organization name. You will import the old organization into the new installation. Therefore, you do not want the installation process to create a new organization that has the same name.
  3. Restore the Organization_MSCRM databases on the new computer that is running SQL Server. To do this, follow these steps:
    1. On the new computer that is running SQL Server, click Start, point to All Programs, point to Microsoft SQL Server 2005, and then click SQL Server Management Studio.
    2. Right-click Databases, and then click Restore Database.
    3. Under Destination to restore, type the name of the Organization_MSCRM database in the To database box.
    4. Under Source for restore, click From device, click the ellipsis button (...), add the Organization_MSCRM database, and then click OK.
    5. Click to select the Restore check box, and then click OK.
    6. Repeat steps 3b-3e for any additional Organization_MSCRM databases.
  4. Apply hotfix 950680.

    For more information about hotfix 950680, click the following article number to view the article in the Microsoft Knowledge Base:

    950680 The workflow rules no longer run when you use the Deployment Manager Import Organization Wizard to import an organization in Microsoft Dynamics CRM 4.0

  5. Import the organization into the new deployment of Microsoft Dynamics CRM 4.0. To do this, follow these steps:
    1. On the new computer that is running Microsoft Dynamics CRM Server, click Start, point to All Programs, point to Microsoft Dynamics CRM, and then click Deployment Manager.
    2. Right-click Organizations, and then click Import Organization.
    3. If you are using the Professional edition of Microsoft Dynamics CRM, you are prompted to delete the existing organization. Click OK to delete the organization that was created during the installation.

      Note This action does not delete the actual Organization_MSCRM database from the computer that is running SQL Server.
    4. In the SQL Server box, click the computer to which you restored the Organization_MSCRM database, click the organization database in the Organization database box, and then click Next.
    5. Type the display name and the name for the organization, and then click Next.
    6. Type the URL in the SQL Server Reporting Services URL box, and then click Next.
    7. Select the method in the Method for the Mapping of the Users list, and then click Next.
    8. Map the users, and then click Next.
    9. In the System Requirements dialog box, click Next, and then click Import.
Notes
  • If you plan to use the same Microsoft Dynamics CRM E-mail Router, you must run the Configuration Wizard to configure the router for the new environment.
  • You must install the Microsoft Dynamics CRM Data Connector for SQL Server Reporting Services to register the components with the new MSCRM_Config database.
  • You must run the Configuration Wizard for the Microsoft Dynamics CRM Client for Outlook to connect to the new Microsoft Dynamics CRM Server.
  • You must reinstall the Data Migration Manager to point to the new Microsoft Dynamics CRM Server.

Move the Microsoft Dynamics CRM Server or one of the Microsoft Dynamics CRM server roles. However, leave the SQL Server and the SQL Server Reporting Services server intact

  1. Install the Microsoft Dynamics CRM Server or server role on a new server. To do this, follow these steps:
    1. On the new computer, install Microsoft Dynamics CRM Server.
    2. During the installation process, type the name of the SQL Server on which the MSCRM_Config database exists in the Select Deployment Options dialog box, and then click Connect to an Existing Deployment.
    3. Complete the installation.
  2. Uninstall the Microsoft Dynamics CRM Server or the server role from the old Microsoft Dynamics CRM Server. To do this, follow these steps:
    1. In Control Panel, open the Add or Remove Programs item.
    2. Select the Microsoft Dynamics CRM Server, and then click Change/Remove.
    3. Complete the removal wizard to remove the Microsoft Dynamics CRM Server or server role on the old server.
    Note If you cannot uninstall the old Microsoft Dynamics CRM Server or server role in step 2 because of a hardware failure, go to step 3.
  3. Remove the server from Deployment Manager. To do this, follow these steps:
    1. On the computer that is running Microsoft Dynamics CRM Server, click Start, point to All Programs, point to Microsoft Dynamics CRM, and then click Deployment Manager.
    2. Click Servers. A list of the servers in the Microsoft Dynamics CRM deployment should appear. If no servers appear, right-click Servers, and then click Refresh.
    3. Right-click the server that is not in the deployment, click Delete, and then click Yes. The server is removed from the MSCRM_Config database.
Note Depending on the Microsoft Dynamics CRM roles that you move, you may have to run the Configuration Wizard for the Microsoft Dynamics CRM E-mail Router to update the configuration. You may also have to run the Configuration Wizard for the Microsoft Dynamics CRM Client for Outlook to connect to the new Microsoft Dynamics CRM Server. Additionally, you may have to reinstall the Data Migration Manager to point to the new Microsoft Dynamics CRM Server.

↑ Back to the top


Keywords: kbmbsmigrate, kbhowto, kbexpertiseinter, kbmbspilot, kb

↑ Back to the top

Article Info
Article ID : 952934
Revision : 1
Created on : 1/7/2017
Published on : 9/12/2011
Exists online : False
Views : 466