Redeploying Microsoft CRM 3
Redeploying Microsoft CRM 3
Overview
This lesson examines how to redeploy an existing installation of Microsoft CRM
3.0 to a new installation. Microsoft provides a redeployment tool to help system
administrators, implementation consultants, and software developers redeploy
Microsoft CRM data to a new Microsoft CRM environment. The Microsoft CRM
Redeployment Wizard is the only supported way to migrate a copy of a
Microsoft CRM system to a second installation of Microsoft CRM.
Page 399
Microsoft CRM Installation and Configuration
Scenario
Fabrikam Inc. is a mid-sized manufacturer of various chain products. These
include oil field roller chain, precision roller chain, agricultural conveyor chain,
and engineering class chain. Although their customer base spans multiple
manufacturing industries, their target base includes manufacturers of agricultural
machinery. Fabrikam runs their manufacturing, distribution, and financial
operations on Microsoft Dynamics GP™. Fabrikam has recently purchased
Microsoft CRM to improve their Sales, Marketing, and Customer Service
operations.
Problem
Fabrikam hired an implementation consultant to lead their Microsoft CRM 3.0
implementation. The company's project planning team performed a complete
needs analysis of the company culture, and the consultant analyzed and upgraded
the hardware and software environments.
Goal
The Implementation Consultant wants to redeploy Microsoft CRM from
Fabrikam's test environment to their production environment. All customizations
must be carried over.
Solution
The implementation consultant must follow these steps:
Page 400
Chapter 11: Redeploying Microsoft CRM 3.0
Page 401
Microsoft CRM Installation and Configuration
• Users
• Client computers
• The Organizational Unit
• Security groups
Page 402
Chapter 11: Redeploying Microsoft CRM 3.0
The challenges faced in redeploying Microsoft CRM along with Active Directory
include the following:
This process begins with backing up the existing Microsoft CRM databases and
restoring them in the new installation. To use the restored Microsoft CRM
databases in a new Microsoft CRM installation, the databases must be:
Page 403
Microsoft CRM Installation and Configuration
Figure 11-2 displays a separate Microsoft CRM implementation with its own
Active Directory forest and domain that is not connected to the original Active
Directory forest and domain.
Page 404
Chapter 11: Redeploying Microsoft CRM 3.0
Figure 11-3 displays a separate Microsoft CRM implementation with its own
Active Directory domain (in the same forest) that is not directly connected to the
original Active Directory domain.
Page 405
Microsoft CRM Installation and Configuration
Figure 11-4 displays a separate Microsoft CRM implementation that is part of the
original Active Directory domain; however, the redeployed implementation has
its own Active Directory OU, structure, users, and groups.
Page 406
Chapter 11: Redeploying Microsoft CRM 3.0
System Requirements
The Microsoft CRM redeployment wizard does not require additional hardware
or software beyond the requirements of Microsoft CRM.
Page 407
Microsoft CRM Installation and Configuration
It is also possible to redeploy Microsoft CRM to the same domain as the original
deployment. However, the following requirements must be met regarding the
new Organizational Unit:
Each version of Microsoft CRM (1.0, 1.2, and 3.0) has its own unique
redeployment tool. Be sure to use the redeployment tool that matches your
version of Microsoft CRM.
Also note that redeployment between Microsoft CRM versions is not supported.
You cannot redeploy Microsoft CRM 1.0 or 1.2 to 3.0. All redeployments must
be for the same version.
Other Languages
Language considerations involving the redeployment tools include the following:
Page 408
Chapter 11: Redeploying Microsoft CRM 3.0
• The original deployment and the new deployment must be the same
language. For example:
– An original Spanish implementation can be redeployed to a new
Spanish implementation.
– An original Spanish implementation cannot be redeployed to a
new Italian implementation.
Web Browser
There is no limitation to accessing different implementations of the Microsoft
CRM Web application using only a Web browser (such as Internet Explorer).
If the Microsoft CRM client for Outlook users are going to access the new
Microsoft CRM installation:
Although users of the Web client can access both the old and new Microsoft
CRM implementations, Microsoft CRM client for Outlook users can only access
one deployment at a time.
However, if you are moving the production system to a new deployment and
have installed the Microsoft CRM 3.0 Exchange E-mail Router, you need to
install the Router for the new System.
NOTE: Due to changes in the transformation of the database from the old system to
the new, messages into and out of the new system are not linked to messages copied
from the original system.
Page 409
Microsoft CRM Installation and Configuration
Topic Issue
Microsoft CRM Redeployment must be between the same version
Versions of Microsoft CRM (for example, 1.2 to 3.0 is not
supported)
Redeployment between language versions is not
supported (for example, from English to German)
Redeployment Content A redeployment migrates all of the Microsoft
CRM data in the database
System administrators and VARs can change the
user names and organization names when
redeploying a Microsoft CRM database.
Redeployments of incremental data and system
changes are not supported.
Customizations Microsoft CRM customizations using in-the-box
customization tools (schema, forms, views,
mappings ) are supported
Non-supported customizations as defined by the
SDK are not supported.
Redeployment does not redeploy ISV solutions.
Redeployment Tools There is not an automated Redeployment tool
upgrade process from 1.x to 3.0; therefore,
Redeployment tools must be manually un-
installed (if present) and the newer Microsoft
CRM 3.0 Redeployment tool must be manually
installed.
The Redeployment tool APIs are not be exposed
in the SDK
The Redeployment tool support all localized
versions of Microsoft CRM
The Redeployment tool does not re-install the
Microsoft CRM platform, or reconfigure
Exchange e-mail, Back Office Integration, or
Microsoft CRM clients for Outlook.
TABLE 11-1 - REDEPLOYMENT ISSUES
Page 410
Chapter 11: Redeploying Microsoft CRM 3.0
In this high-level overview, the following tasks are not addressed by the
Microsoft CRM Redeployment Tool:
Page 411
Microsoft CRM Installation and Configuration
These issues must be addressed after the Microsoft CRM Redeployment Wizard
is used by the administrator.
1. Make sure all Microsoft CRM Sales for Outlook Clients have
synchronized their data.
2. Stop the Microsoft CRM Exchange E-mail Router service.
3. Use the Workflow Monitor to check for any workflow activity.
Cancel all running workflow processes.
4. Stop the Microsoft CRM Workflow service.
5. Use the SQL Server Backup tool to back up the Microsoft CRM
metabase and Microsoft CRM database files. If existing backup files
exist for each database file (created from the sample data load
process), remove them first before creating your backup file.
Step 2: (Optional) Back up Customizations, Workflow, and
Custom Reports
Customizations, workflow, and customized reports are not redeployed using the
Redeployment Tool. If you want the redeployed Microsoft CRM system to
include customizations, workflow rules, or custom reports from your source
Microsoft CRM system, back them up and restore them to your redeployed
system manually.
Exporting Customizations, including Entity, Template, and
Configuration customizations
From the Microsoft CRM Customizations area, use Export Customizations to
export your customizations from your source system.
You must also copy the callout.config.xml file and all the files in the
<systemdrive>:\Program Files\Microsoft CRM\Server\bin\assembly folder
and deploy this to your new server. This must be done before workflow rules are
imported using the Import Workflow Wizard.
Page 412
Chapter 11: Redeploying Microsoft CRM 3.0
Exporting Reports
If you have any custom reports on your source system, run the
DownloadReports.exe command-line tool.
• The publish.config file and the Reports folder created here are used
in Step 7.
• The procedure for downloading reports can be found in the
Implementation Guide.
WARNING: Do not install Microsoft CRM now. Microsoft CRM Server is installed
later in the process.
Page 413
Microsoft CRM Installation and Configuration
It is recommended that you retain the original names of your Microsoft CRM
database files and do not rename them as part of this redeployment process. If
you are changing the organization name for the new system, you must change the
names of the restored database files. In Microsoft CRM, the database names have
the following format:
• <organization name>_MSCRM
• <organization name>_METABASE
If you change the organization's name in the new deployment, you must rename
the database files once you restore them in the new system. To do so, change the
<organization name> portion of each database name to match the organization
name that you plan to enter when installing Microsoft CRM in step 6.
Step 5: Run the Redeployment Wizard
Before you can perform this step, you must install the Redeployment Wizard.
Install the Redeployment Wizard
The Microsoft CRM Redeployment Wizard is available on the Microsoft CRM
Server CD. The Wizard is located in the \RedeploymentTool folder.
Perform the following steps to install the wizard on the computer running
Microsoft CRM Server in your new system:
NOTE: If the procedure above fails to install the Redeployment Wizard, you can run
the installation again from a command prompt window and generate a log file. The log
file can assist in troubleshooting the failed installation. The command is:
msiexec /l*v logfile.log /I redeployImport.msi
Page 414
Chapter 11: Redeploying Microsoft CRM 3.0
• Defines and maps the users from the original Microsoft CRM
implementation to the new implementation.
• Creates the Active Directory groups on the new system.
• Finalizes the database transformation to the new implementation.
1. On the Start menu, select All Programs, then Microsoft CRM, and
then click Microsoft CRM Redeployment Wizard.
2. On the Welcome to the Microsoft CRM Redeployment Wizard
opening page, click Next.
3. On the Database Information page, type the name of the Microsoft
SQL Server and select the name of your restored Microsoft CRM
database.
4. On the Organization Information page, type an Organization Name.
This name can be the same as your original Microsoft CRM system.
However, if you prefer to use a different Organization Name, enter it
here and the Microsoft CRM Redeployment Wizard transforms the
data to use the name.
5. On the Active Directory Information page, Browse Active Directory
to choose an Organizational Unit where the Microsoft CRM security
groups will be created.
6. On the User Mapping page, choose the method to map Microsoft
CRM users from your original system to your redeployed system.
The options are:
– Keep Existing User Mappings. Your redeployed Microsoft
CRM system will have the exact users as your original system.
– Manually Map Users. Selecting this option and clicking Next
displays the Edit User Mapping page. On this page you can
manually map users from your original Microsoft CRM system
to your redeployed system.
– Generate New Mapping File. This option generates a new
mapping file that can be edited and used to do the actual user
mapping.
Page 415
Microsoft CRM Installation and Configuration
7. On the Edit User Mapping page, you can manually map users from
your original Microsoft CRM system to the redeployed system. Click
Next.
8. The Confirm Database Transformation page appears listing the
details of what will be transformed. Click Start for the wizard to
start the transformation.
9. The Performing Database Transformation page appears showing the
transformation progress. When the process is complete, click Next.
10. Click Finish to complete the wizard.
Page 416
Chapter 11: Redeploying Microsoft CRM 3.0
The user installing Microsoft CRM must be granted the following privileges at a
minimum:
Publishing Reports
Use the PublishReports.exe command-line tool to publish the report files backed
up in Step 2. The procedure for publishing reports can be found in the
Implementation Guide.
Page 417
Microsoft CRM Installation and Configuration
• Remove them
• Complete the redeployment process on the new Microsoft CRM
system
• Re-install them after you have verified that the new Microsoft CRM
system is functioning.
Page 418
Chapter 11: Redeploying Microsoft CRM 3.0
IMPORTANT: If you use a User Mapping file, remember that the file is updated and
overwritten by the Redeployment Wizard. Make sure you have the file backed up prior
to running the wizard.
<MappingConfiguration>
</MappingConfiguration>
• <DomainMapping>
• <UserMapping>
Domain Mapping
The <DomainMapping old="___" new="___" /> element contains the Active
Directory domain for the original and new Microsoft CRM implementations.
• If you use this element, you do not need to use the individual
<UserMapping> elements.
• If this is the only element you use, then all Microsoft CRM users are
transformed automatically from the old domain to the new domain,
keeping the same account names.
Page 419
Microsoft CRM Installation and Configuration
User Mapping
The <UserMapping old="origcrmdom\mary" new="newcrmdom\mary" />
element contains the alias name of each Microsoft CRM user. For example, if
you have ten users in your Microsoft CRM implementation, your user mapping
file will have ten <UserMapping> elements – one for each user.
Page 420
Chapter 11: Redeploying Microsoft CRM 3.0
Introduction
In this Lab you redeploy a Microsoft CRM 3.0 installation to a new server. As
you perform the instructions, use the information in the Scenario and Goal
Description to complete the lab.
See the Introduction to Training chapter for information about the two levels of
lab instruction and the lab solution in Appendix B.
Scenario
Adventure Works Cycle has implemented Microsoft CRM 3.0 in a test
environment. However, after experiencing hardware issues with their Microsoft
CRM Server, they have decided to build a new test server, and then redeploy the
existing Microsoft CRM deployment on to the new server.
Goal Description
This lab performs a redeployment of Microsoft CRM 3.0. However, note that this
lab only redeploys the Microsoft CRM Server.
NOTE: Due to the logistical constraints placed on training environments by the use of
VPC images, you cannot redeploy the Microsoft CRM client for Outlook. However, by
learning how to redeploy the server, you can carry the knowledge over to the clients in
your personal environments.
• The first image is the Install Server image you have been using
throughout this course. This contains an installed version of
Microsoft CRM 3.0.
• The second image is a copy of the Install Server image (without
Microsoft CRM installed). This is referred to as the New Server
installation. Since Adventure Works is rebuilding their test server, it
has the same computer name and IP address as the server used in the
Install Server image. Because the New Server image is not opened at
the same time as the Install Server, you will not experience the
networking problems that occur if you had two servers running at the
same time with the same name and IP address.
Page 421
Microsoft CRM Installation and Configuration
When you log into each VPC image, use the following user credentials:
• Username = crmadmin
• Password = Pa$$w0rd
Redeployment Wizard
The Redeployment Wizard (RedeployImport.msi) is located in the
\RedeploymentTool folder on the iso image of the Microsoft CRM 3.0 Server
Setup CD.
Classroom Redeployment Files
A folder has been created on the Install Server titled: C:\Class Redeployment
Files. This folder will store:
When you back up the MSCRM and Metabase database files, store the backup
files in the C:\Class Redeployment Files folder:
• MSCRM db backup
• METABASE db backup
Backing up Customizations
As part of the redeployment process, you have been asked to redeploy the
customizations made to Install Server. This includes the customizations that were
applied to the Install Server in Chapter 10 (during the lab on Importing
Customizations).
Page 422
Chapter 11: Redeploying Microsoft CRM 3.0
As part of the redeployment process (step 2), you would normally create the new
users in Active Directory on the New Server. However, to save you from
performing that process, the following new users have already been added into
the New Server's Active Directory for you:
Page 423
Microsoft CRM Installation and Configuration
• The files above are stored initially in the Install Server's C:\Class
Redeployment Files folder.
• When you complete all processes on the Install Server, copy these
files to the shared Temp folder.
• When you open the New Server image, share the C:\Temp file from
your host machine with the New Server image.
• This provides you with access to all the files created on the Install
Server. When you restore the database files and import the
customization file, use these files on the shared C:\Temp folder.
Challenge Yourself!
Instructions
Redeploy the existing Microsoft CRM 3.0 installation from the Install Server
VPC image to the New Server VPC image.
1. On the Install Server VPC image, share the host machine's C:\Temp
folder.
2. Stop any Workflow activity and stop the Workflow and Microsoft
CRM Exchange E-mail Router services.
3. At this point you would normally back up the MSCRM and
METABASE database files on the Install Server. However, since
you just backed up these two database files in the lab in Chapter 10,
use those files instead. This saves you from performing the exact
same steps when in this case it is not necessary. The database backup
files have already been copied to the C:\temp folder on the host
machine as part of the Chapter 10 lab.
4. Export the customizations on the Install Server per the instructions in
the Goal Description. Copy the .xml file from the C:\Class
Redeployment Files folder to the shared C:\Temp folder.
5. Start the services stopped earlier, and close the Install Server VPC
image.
Page 424
Chapter 11: Redeploying Microsoft CRM 3.0
6. Open the New Server VPC image. On the New Server image, share
the host machine's C:\Temp folder.
7. Perform the steps in the Microsoft CRM Server Pre-installation
Checklist against the New Server.
8. Restore the Microsoft CRM databases on the New Server. Due to the
configuration of the VPC image, delete the ReportingGroup and
SQLAccessGroup from the restored MSCRM database. Delete the
SQLAccessGroup from the restored METABASE database.
9. Run the Microsoft CRM Redeployment Wizard on the New Server.
10. Install Microsoft CRM 3.0 Server on the New Server. Connect to the
existing databases you just restored. Let the Setup program create the
Microsoft CRM web site.
11. Add the Microsoft CRM web site (http://london) to Internet
Explorer's Trusted Sites zone. Adjust the Trusted Sites' security level
to disable pop-up blockers and base user authentication logon on
"Automatic logon with current username and password."
12. Uncheck the Restricted Access Mode option on the Administrator's
Microsoft CRM user account and validate the new Microsoft CRM
deployment.
13. Import the customizations extracted earlier from the Install Server.
Verify the changes to the Account and Contact forms appear.
NOTE: Once you open the New Server, you create any new user accounts in Active
Directory (in this case, the new users in Table 11-3). However, for this lab, the users
have already been added into Active Directory for you.
1. Start the VPC image for the Install Server image if it is not already
started. Log in as the Microsoft CRM Administrator.
2. In the Virtual PC Console on your host machine, adjust the settings
of the Install Server image.
3. You want to share the Temp folder on the C drive of your host
machine.
4. Validate the Temp folder on the host machine's C drive is available
to the VPC image.
Page 425
Microsoft CRM Installation and Configuration
1. From the Start menu of the Microsoft CRM Server, point to All
Programs, then Microsoft CRM, and click Workflow Monitor.
2. On the Log On page, enter http://london:5555 as the Target
Microsoft CRM server. Click OK.
3. The Summary view displays a Workflow Process Summary. This
view displays the number of active (running) workflow processes.
4. If there are any entities with active workflow processes, perform the
following steps for each of these entities:
– In the View drop-down list, click Active. In the Type drop-down
list, click the entity.
– Select all the processes in the view. Click Actions on the Menu
bar, then Cancel. Click Yes to confirm the cancellation request.
5. Close the Workflow Monitor when finished.
1. On the Microsoft CRM server, from the Start menu, point to All
Programs, point to Administrative Tools, and click Services.
2. Right-click Microsoft CRM Workflow Service and click Stop.
3. Right-click the Microsoft CRM Exchange E-mail Router Service and
click Stop.
4. Leave the Services window open; you will start these services
before you close and save the Install Server image.
Page 426
Chapter 11: Redeploying Microsoft CRM 3.0
2. Select each of these files and drag and drop them to the Temp folder.
By copying these files to the Temp folder, you can access them in
the New Server VPC image you open in Step 3.
NOTE: In a non classroom training environment, copy these files to a folder on the
new server where you plan to redeploy Microsoft CRM.
Page 427
Microsoft CRM Installation and Configuration
NOTE: These applications have been installed on your New Server image, so no step
is required. Also, once you open the New Server, create any new user accounts in
Active Directory (the new users in Table 11-3). However, for this lab, the users have
been added into Active Directory for you.
NOTE: Because you are not using the redeployed version of Microsoft CRM on the
New Server after this lab, skip the Pre installation step where you create the CRM
Administrator account. Log into the New Server as the Administrator and perform all
remaining steps using this account (instead of logging in as the CRM Administrator in
Chapter 3). You can install Microsoft CRM under the Administrator. When the
installation is complete, test the redeployment.
Page 428
Chapter 11: Redeploying Microsoft CRM 3.0
1. Select the CD option on the menu bar. Select Capture ISO Image.
Select the .iso file for Microsoft CRM 3.0 Server CD.
2. If your machine is set for auto run, the Microsoft CRM Server Setup
screen appears automatically. Cancel the Server Setup by clicking
Exit in the bottom right corner of the screen. You do not want to run
the Setup program.
3. In Windows Explorer, click the CD drive. This displays the content
of the Microsoft CRM 3.0 Server CD.
4. On the Microsoft CRM Server CD, navigate to the
RedeploymentTool folder and double-click RedeployImport.msi.
Page 429
Microsoft CRM Installation and Configuration
1. On the Start menu, select All Programs, then Microsoft CRM, and
click Microsoft CRM Redeployment Wizard.
2. Follow the wizard instructions.
3. On the Database Information page, type the name of the Microsoft
SQL Server (London; remember, this is the name of the New Server
– do not confuse this with the London server on the Install Server
image) and click the name of your restored Microsoft CRM database
(Adventure_Works_Cycle_MSCRM).
4. On the Organization Information page, type an Organization Name.
This name can be the same as your original Microsoft CRM system,
which is prefilled for you (for the lab, this is Adventure Works
Cycle).
For this lab, select the Microsoft CRM organizational unit below the
ADVWORKS domain.
6. On the User Mapping page, choose the method used to map
Microsoft CRM users from your original system to your redeployed
system.
Page 430
Chapter 11: Redeploying Microsoft CRM 3.0
IMPORTANT: The only exception to the instructions that you performed in lab 3.2 is
when you reach the Select SQL Server page. You will enter London as the name of
your SQL Server (just as in lab 3.2) but this time you will select the option to Connect
to an existing database. The database names will then be entered for you
NOTE: On the System Requirements page you will receive a Microsoft CRM Server
User Input warning because you entered the same license key that was in the restored
databases. Ignore the warning and click Next to proceed with the installation.
Page 431
Microsoft CRM Installation and Configuration
You are now ready to test the new Microsoft CRM deployment.
Page 432
Chapter 11: Redeploying Microsoft CRM 3.0
NOTE: When you shared the C:\Temp folder on the New Server if you did not click the
option to Share every time you must share this folder again. Restarting the server lost
this connection if you did not set that option.
Page 433
Microsoft CRM Installation and Configuration
Summary
This lesson examined the following information concerning the Microsoft CRM
redeployment processes:
Page 434
Chapter 11: Redeploying Microsoft CRM 3.0
b.
c.
2. Fill in the blanks. After Microsoft CRM users are mapped from one
installation to another, the Redeployment Tool replaces all instances
of user ________ that were copied from the source installation with
the correct user ________ in the new installation.
Page 435
Microsoft CRM Installation and Configuration
5. If the Microsoft CRM client for Outlook users are going to access a
newly deployed Microsoft CRM installation, what must you do to
each client so that it can access the new Microsoft CRM installation?
a. Run the Microsoft CRM 3.0 Client Setup program on each client
machine.
b. Run the Client for Outlook Redeployment Tool to upgrade each
client machine to 3.0.
c. Uninstall the Microsoft CRM client for Outlook and then re-
install it on each client machine.
d. Nothing must be done to upgrade the clients; the Microsoft CRM
Server Setup program makes the necessary upgrades so that each
client can function as normal once the Server Setup program is
complete.
Page 436
Chapter 11: Redeploying Microsoft CRM 3.0
1.
2.
3.
Page 437
Microsoft CRM Installation and Configuration
Page 438