quest migration
quest migration
Best Practices
© 2009 Quest Software, Inc.
ALL RIGHTS RESERVED.
This guide contains proprietary information, which is protected by copyright. The software described
in this guide is furnished under a software license or nondisclosure agreement. This software may
be used or copied only in accordance with the terms of the applicable agreement. No part of this
guide may be reproduced or transmitted in any form or by any means, electronic or mechanical,
including photocopying and recording for any purpose other than the purchaser's personal use
without the written permission of Quest Software, Inc.
DISCLAIMER
The information in this document is provided in connection with Quest products. No license, express
or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or
in connection with the sale of Quest products. EXCEPT AS SET FORTH IN QUEST'S TERMS AND
CONDITIONS AS SPECIFIED IN THE LICENSE AGREEMENT FOR THIS PRODUCT, QUEST
ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR
STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE,
OR NON-INFRINGEMENT. IN NO EVENT SHALL QUEST BE LIABLE FOR ANY DIRECT,
INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING,
WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPTION OR
LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS
DOCUMENT, EVEN IF QUEST HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES. Quest makes no representations or warranties with respect to the accuracy or
completeness of the contents of this document and reserves the right to make changes to
specifications and product descriptions at any time without notice. Quest does not make any
commitment to update the information contained in this document.
TRADEMARKS
Quest Migration Manager is a trademark of Quest Software, Inc. Other trademarks and registered
trademarks used in this guide are property of their respective owners.
World Headquarters
5 Polaris Way
Aliso Viejo, CA 92656
www.quest.com
e-mail: [email protected]
Please refer to our Web site for regional and international office information.
Quest Migration Manager
Updated – June 30, 2009
Software version – 8.4
CONTENTS
About This Guide ...................................................................................................... 5
Overview ............................................................................................................................ 5
Conventions ............................................................................................................... 5
About This Document ............................................................................................... 6
Target Audience ................................................................................................................ 6
About Quest Migration Manager ....................................................................................... 6
Terminology ....................................................................................................................... 6
Prerequisites...................................................................................................................... 7
Scope................................................................................................................................. 7
Introduction................................................................................................................ 8
Migration Process Overview.............................................................................................. 8
Assumptions ...................................................................................................................... 8
Environment Assessment, Planning, and Testing ................................................ 9
Environment Assessment and Planning ........................................................................... 9
Trusts ......................................................................................................................... 9
SID Filtering ............................................................................................................. 10
Network Topology Diagrams ................................................................................... 11
Firewalls and Security.............................................................................................. 12
Exchange Topology Diagram .................................................................................. 12
Active Directory Design ........................................................................................... 13
Active Directory Management (Delegation and Provisioning Model)...................... 13
Exchange Design..................................................................................................... 13
Host Name Resolution............................................................................................. 14
Group Policy Object Link Migration ......................................................................... 14
Migration Cookbook................................................................................................. 15
Mail Redirection between Source and Target Exchange Organizations ................ 15
Outlook Offline Folders ............................................................................................ 15
Rolling Exchange Migration..................................................................................... 16
Source Directory Preparation .................................................................................. 17
Third-party Applications ........................................................................................... 17
Exchange Clusters................................................................................................... 18
Cluster Server Migration .......................................................................................... 18
NetApp Filers and Other Storage Solutions ............................................................ 19
Backup Strategy ...................................................................................................... 19
Service Attributes..................................................................................................... 20
Administrative Accounts .......................................................................................... 21
How Many Projects to Have .................................................................................... 21
Delegating Migration Activities ................................................................................ 22
Testing ............................................................................................................................. 22
Creating a Test Environment................................................................................... 22
Test the Third-party Applications............................................................................. 23
Test the Specific Hardware Update Procedures ..................................................... 23
Environment Preparation................................................................................................. 23
Common Migration Scenarios ............................................................................... 24
i
Pilot Migration .................................................................................................................. 24
Overview of Migration Scenarios..................................................................................... 24
Active Directory Migration................................................................................................ 25
Overview .................................................................................................................. 25
Active Directory Migration Steps ............................................................................. 28
Exchange Migration ......................................................................................................... 44
Overview .................................................................................................................. 44
Exchange Migration Steps....................................................................................... 47
Active Directory and Exchange Migration ....................................................................... 51
Overview .................................................................................................................. 51
Migration Steps ........................................................................................................ 56
Rollback ........................................................................................................................... 56
Active Directory Migration........................................................................................ 56
Exchange Migration ................................................................................................. 57
Considerations for Active Directory Migration and Resource Update .............. 58
Using Import Lists to Modify Attributes or Merge and Rename Accounts ...................... 58
Linked Attributes and Group Migration............................................................................ 59
Subsequent Migrations.................................................................................................... 59
Skipping Attributes........................................................................................................... 60
Pre-installing the Resource Updating Agents ................................................................. 60
Interoperability with Quest Collaboration Services ......................................................... 60
Considerations for Exchange Migration ............................................................... 62
Synchronization Agents................................................................................................... 62
Agent File Locations and Disk Space...................................................................... 62
Pre-installing the Agents on Exchange Servers...................................................... 62
Using Alternate Hosts for Synchronization Agents ................................................. 63
Directory Synchronization................................................................................................ 64
Public Folder Synchronization ......................................................................................... 64
Jobs.......................................................................................................................... 65
Agents and Public Folder Synchronization.............................................................. 65
Collections ............................................................................................................... 66
Hierarchy Reorganization ........................................................................................ 66
Public Folder Deletions............................................................................................ 67
Resynchronization ................................................................................................... 68
Mailbox Synchronization.................................................................................................. 69
Agents and Jobs ...................................................................................................... 69
Collections ............................................................................................................... 69
Offline Folder (OST) Files and Remote Users Collections ..................................... 71
Restructuring Exchange Servers............................................................................. 73
Calendar Synchronization ............................................................................................... 73
Agents and Jobs ...................................................................................................... 73
Free/Busy Synchronization.............................................................................................. 74
Mailbox Switch and Profile Update.................................................................................. 75
Mailbox Switch ......................................................................................................... 75
Client Profile Update................................................................................................ 76
Interoperability with Other Quest Products ..................................................................... 77
Exchange Migration Wizard..................................................................................... 77
ii
Best Practices
General Recommendations.................................................................................... 78
Preferred Settings for the Directory Synchronization Agent ........................................... 78
Directory Synchronization Agent Placement................................................................... 79
Indexing Service Attributes.............................................................................................. 79
Full Directory Resynchronization..................................................................................... 79
Conclusion ............................................................................................................... 80
Appendices .............................................................................................................. 81
Appendix A. Environment Preparation Checklist ............................................................ 81
Appendix B. Active Directory Migration without Trusts ................................................... 83
Prerequisites ............................................................................................................ 83
Migrate the Directory ............................................................................................... 84
Update Distributed Resources and BackOffice Servers ......................................... 84
Switch to the Target Domain ................................................................................... 84
Appendix C. Exchange Migration without Trusts ............................................................ 85
About Quest Software, Inc. .................................................................................... 86
Contacting Quest Software.............................................................................................. 86
Contacting Quest Support ............................................................................................... 86
iii
Best Practices
Conventions
In order to help you get the most out of this guide, we have used specific formatting
conventions. These conventions apply to procedures, icons, keystrokes and cross-
references.
ELEMENT CONVENTION
Bolded text Interface elements that appear in Quest products, such as menus and
commands.
Blue text Indicates a cross-reference. When viewed in Adobe® Acrobat®, this format
can be used as a hyperlink.
+ A plus sign between two keystrokes means that you must press them at
the same time.
| A pipe sign between elements means that you must select the elements in
that particular sequence.
5
Quest Migration Manager 8.4
Accordingly, Migration Manager consists of two components which can be used either
separately or together:
The procedures listed in this document apply to Quest Migration Manager for Active
Directory version 8.4 and later and to Quest Migration Manager for Exchange version
8.4 and later.
Both the source and the target environment can consist of one or more Active Directory
forests and one or more Exchange organizations.
Terminology
Throughout this document, “Migration Manager” applies to both Migration Manager for
Active Directory and Migration Manager for Exchange. When a particular component is
referenced individually, the information applies only to that component.
6
Best Practices
• Source servers: The domain controllers or Exchange servers from which the
Active Directory objects or messaging system is migrated.
• Target servers: The domain controllers or Exchange servers to which the
Active Directory objects or messaging system is migrated.
• Console: The computer on which Migration Manager is installed. There are
two types of consoles:
a) Master console—the console that is installed by the Enterprise
Migration Administrator who is responsible for migration project
configuration, delegation of migration tasks to other members of the
migration team. This is the first console that is installed in the enterprise.
b) Delegated consoles—the consoles which are installed by the delegated
administrators in their physical locations. These administrators install
Migration Manager on their workstations manually using the product
setup program or automatically during installation of the resource
updating task setup package received from the Enterprise Migration
Administrator.
Prerequisites
Before reading this document, you should be familiar with Migration Manager concepts
and should have installed the product to test its functionality.
Before you start your migration, check for the latest product and
documentation updates on the Quest web site.
Migration Manager for Active Directory:
www.quest.com/requests/?RequestDefID=7947
Migration Manager for Exchange:
www.quest.com/requests/?RequestDefID=7948
It is also recommended that you read the release notes for the current version of
Migration Manager. The release notes contain information about specific product
behavior, limitations, known issues, and workarounds that may be useful for planning
and performing your migration.
Scope
This document does not deal with Active Directory or Exchange deployment. It assumes
that the target Active Directory forest and Exchange organization are set up and
configured prior to installing Migration Manager. For more information on deploying
Active Directory and Exchange, please refer to appropriate Microsoft documentation.
7
Quest Migration Manager 8.4
Introduction
Migration Process Overview
The migration process can be divided into two main phases:
The next two chapters of this document provide best practice information for each of
these two phases.
Assumptions
All migration scenarios described in this document assume that:
• Trusts are established between each source and target domain involved in the
Active Directory or Exchange data migration.
• SIDHistory is added to migrated accounts and used during the whole co-
existence period to ensure that users will have the same access to resources
when they start using their target accounts.
If you cannot establish trusts or use SIDHistory due to your corporate policy or other
reasons, refer to Appendix B. Active Directory Migration without Trusts for migration
instructions or contact Quest Professional Services for a custom migration scenario
designed for your specific environment.
8
Best Practices
Environment Assessment,
Planning, and Testing
Environment Assessment and Planning
The first step in migration is to assess your environment and design an appropriate
migration plan. You can use the following products and tools for the environment
assessment:
The sections below detail our best practice recommendations for environment
assessment and planning.
Trusts
We recommend that you establish two-way external trusts between each source and
target domain that will participate in migration.
If the forest functional level in both source and target forests is set to Windows 2003 or
higher, you can establish forest trust between the forest root domains.
Trusts make it possible to resolve objects’ security identifiers (SIDs), which in turn helps
to distinguish objects and enable you to check whether everything is going right. Trusts
also help provide co-existence of the source and target environments during the
migration process, including uninterrupted access to the resources for both switched
users and users not yet switched.
9
Quest Migration Manager 8.4
When deciding whether to establish trusts, remember that if no trusts are established,
the following restrictions apply:
1. You will not be able to use a single administrative account for migration.
2. You will have to switch users and resources at the same time. This means that
when a user starts using its target account (normally, when the user's
workstation is moved to the target domain), all resources must be updated, so
that the target user has the same access to the resources as the
corresponding source user.
3. When working with remote Exchange servers, console establishes net use
connections automatically, thus no trusts between the console machine where
Migration Manager is installed and all Exchange servers where the
synchronization agents are installed are needed. However if net use
connection between the console machine and remote Exchange server was
already established using different account, you may need to manage this
connection manually.
4. The computer on which Migration Manager is installed must be a member of
the domain in which Windows 2000-based Exchange cluster servers reside. If
you have Windows 2000-based cluster servers in both the source and target
domain, you need trusts to be established between the domains.
5. If you migrate Exchange first and set the source user’s account to be the
Associated External Account for the corresponding Exchange mailbox, users
will not be able to log on to the target mailboxes with their source accounts.
6. Users will have to specify the target security account when they are switched
to the target server. Because there are no trusts, their source accounts will not
have permissions for the target mailboxes.
The migration scenarios described in the Common Migration Scenarios section below
assume that trusts are established between the source and the target domains.
However, if you still want to migrate Active Directory without having trusts established,
refer to Appendix B. Active Directory Migration without Trusts, which describes the
scenario for migration without trusts. If you want to perform Exchange migration without
having trusts established, refer to Appendix C. Exchange Migration without Trusts.
SID Filtering
If your target domain controllers are running Windows 2000 SP4 or later or Windows
2003 or Windows 2008, you should turn off SID filtering for each source domain to be
migrated. You should also disable SID filtering if source accounts were previously
migrated and contain SIDs from other domains in their SID history. By default, SID
filtering is turned on.
For external trusts, use the Netdom.exe utility from Windows Support Tools with the
following syntax:
10
Best Practices
To disable SID filtering for forest trusts, use the Netdom.exe utility with the following
syntax:
For more information about external trusts, SID filtering, and the Netdom utility, refer to
the following article:
http://technet2.microsoft.com/windowsserver/en/library/31915de7-ff58-4f26-a8ec-
450ffca759121033.mspx?mfr=true
Site topology diagrams and information about the number of users in each site help you
decide, for example, whether to perform the migration centrally or to divide the migration
into parts and allow some remote sites to be migrated locally (in other words, to
delegate the migration activities).
Information about the locations of BackOffice servers can help you plan resource
processing tasks and delegate these tasks to other administrators. Use the Location of
BackOffice Servers report to find the computers that have the BackOffice service
installed.
Site topology information also helps you decide which domain controllers to use for
migration. You should choose the source and target domain controllers located in the
same site as the Directory Synchronization Agent that will process migration and
synchronization jobs between these domains to avoid traffic span across slow WAN
links.
We recommend that the diagrams be created using visual tools (for example, Microsoft
Visio) and printed out for convenience.
Also, if you want to migrate a large number of accounts (more than 500) to the target
domain in one session, it is recommended that you select a target domain controller that
owns the RID master role. Otherwise, the target domain controller may experience
delays getting the next set of RIDs from the RID master when creating objects in Active
Directory.
11
Quest Migration Manager 8.4
Use Reporter's FSMO Roles report to help you determine FSMO placement.
Make sure that the following ports are open on workstations, servers, routers, and
firewalls: 135 and 137–139.
For more detailed information on what ports and protocols Microsoft operating systems
and programs require for network connectivity, refer to Microsoft Knowledge Base
article 832017, “Service overview and network port requirements for the Windows
Server system,” at http://support.microsoft.com/kb/832017.
You can use the DCDiag and NetDiag utilities from Windows Support Tools to test
network connectivity. To install Windows Support Tools, run Setup.exe from the
\SUPPORT\TOOLS folder of Windows distributive CD. For more information about the
utilities, refer to their on-line help and other documentation.
12
Best Practices
You can use this diagram when planning for directory, public folder, and mailbox
synchronization to help you choose source and target Exchange servers that are in the
same physical location, thus preventing large amounts of data from being transferred
across slow WAN links.
We recommend that the diagrams be created using visual tools (for example, Microsoft
Visio) and printed out for convenience.
Before the migration, you should check Active Directory replication to ensure that any
changes to Active Directory (such as object creations and deletions) will be properly
replicated between domain controllers and Global Catalog servers in different locations.
Exchange Design
It is recommended that the Exchange design be completed and certified by Microsoft or
a certified partner with vast experience with Exchange.
We also recommend you fully complete the target Exchange deployment prior to
starting the Exchange migration to avoid Exchange organization re-enumerations in
Migration Manager when you make changes to the environment (such as create
administrative groups or add new Exchange servers and information stores). Having all
servers in place also lets you configure all synchronization jobs with the right target
servers and avoid any mailbox moves in the future.
In an inter-org migration, running the target Exchange infrastructure in native mode from
day one also allows you leverage Exchange features such as administrative groups and
routing groups. Running Exchange in native mode from the very beginning allows you
re-configure and optimize mail routing for your target organization according to
Microsoft Exchange best practices before users start using the target Exchange
servers.
13
Quest Migration Manager 8.4
You can use the DCDiag and NetDiag utilities from Windows Support Tools to test
network connectivity and identify the host name resolution problems. To install Windows
Support Tools, run Setup.exe from the \SUPPORT\TOOLS folder of Windows Server
distribution CD. For more information about the utilities, refer to their online help and
other documentation.
The DNS names of the source and target servers and of the servers on which ADAM
project partition and SQL configuration database are located must be successfully
resolved to IP addresses from the servers running the Directory Synchronization Agents
as well as from the console.
Make sure that the DNS is configured and functioning properly in your environment.
Since the agents installed on the source and target Exchange servers communicate
with each other, Exchange source-target server pairs must be able to resolve each
other’s NetBIOS names. In other words, each server must be able to “see” the other
servers by NetBIOS.
Windows Internet Naming Service (WINS) is usually used to resolve servers’ NetBIOS
names to IP addresses. If WINS is not configured in an environment, host files can be
used instead.
You should check the host NetBIOS name resolution and make sure that the servers’
NetBIOS names can be resolved from the console as well.
However, you can use Microsoft Group Policy Management Console (GPMC) to migrate
group policy objects from one domain to another in conjunction with the GPMCExport
utility from the Migration Manager for Active Directory Resource Kit.
The GPMCExport utility allows you create a mapping file in the format required by
GPMC. When you later migrate group policy objects from one Active Directory domain
to another, you can use the created mapping file to let GPMC automatically translate all
source security principles (specified in GPO security descriptors) into the corresponding
target objects.
For more information on the GPMCExport utility, refer to the Quest Migration Manager
for Active Directory Resource Kit—User Guide.
14
Best Practices
Quest Reporter provides a number of reports on group policy that can be useful for
analyzing the current group policy design and planning for GPO migration. These
reports are:
• Group Policy Object Summary—Displays links and other details for Group
Policy Objects, but no settings or security.
• Group Policy Objects—Displays the details for selected Group Policy
Objects, such as the name, security, links, settings, and other properties.
• Linked Group Policy Objects—Displays the details for Group Policy objects
that are linked to objects in the directory.
• Unlinked Group Policy Objects—Displays the details for GPOs for which no
links could be found. You may want to delete these unlinked GPOs if they are
no longer required.
You can also find additional information on using GPMC for GPO migration in the
Microsoft article, “Migrating GPOs Across Domains with GPMC,” at
http://www.microsoft.com/windowsserver2003/gpmc/migrgpo.mspx.
Migration Cookbook
We recommend that you create a migration cookbook: a detailed, step-by-step guide
of the migration activities specific to your environment that outlines a repeatable
process that can be tested and then mirrored throughout the environment.
This is particularly useful in the case of delegated migration, which is when a number of
independent administrators located in different sites migrate the accounts they are
responsible for. The cookbook can be given to all of the delegated administrators to
standardize the migration tasks.
Accordingly, Migration Manager requires the source and target Exchange organizations
be connected using SMTP connectors. For step-by-step instructions for setting up,
configuring, and testing the connectors, refer to the Quest Migration Manager—
Installation Guide.
Additional SMTP addresses are used for mail redirection. You should analyze your
environment for SMTP namespaces and for redirection implement SMTP address
templates that are not being used.
15
Quest Migration Manager 8.4
There may be a number of the remote users in your source environment who work with
local offline folder (OST) files and only occasionally connect to their Exchange
mailboxes. Because each OST file is associated with only one Exchange mailbox and
cannot be used with any other mailbox, a user cannot continue using the same OST file
with the new mailbox after migration.
Migration Manager for Exchange allows you keep the existing OST files without OST file
resynchronization when a remote or laptop user’s mailbox is switched and the Outlook
profile is updated.
The mailboxes of these users should be grouped in Remote Users Collections and
processed separately from other mailbox collections after the directory synchronization
has been completed and before the mailbox synchronization is started.
The mailboxes of the Remote Users Collections are processed by the Mail Source
Agent only. The agent creates target mailboxes corresponding to the source mailboxes
in a Remote Users Collection. While a mailbox is being processed by the agent, it is
unavailable to the user. Therefore, it is recommended to schedule process of Remote
Users Collections for a time when the users normally do not use their mailboxes, such
as 8 p.m. to 8 a.m. or during the weekend.
To find out which mailboxes store their offline data in OST files and which do not, you
can use the Quest Offline Folder Wizard. The wizard analyzes the mailboxes of the
selected servers and provides three lists:
1. A list containing the Distinguished Names of the mailboxes storing their offline
data in the OST files
2. A list containing the Distinguished Names of the mailboxes not storing their
offline data in the OST files
3. A file containing a list of the errors that occurred when the wizard attempted to
log on to mailboxes
You can import the list of mailboxes that store data in OST files to Remote Users
Collections.
You can download and use the Offline Folder Wizard free of charge from the Quest
Web site: www.quest.com/free_tools/
The rolling Exchange migration strategy allows you to gradually collapse migrated
Exchange servers and, at the same time, provide coexistence between Exchange
organizations.
This strategy is useful if you need to reuse current production Exchange server
hardware in the new Exchange environment. It is also useful if you must remove the
administrative overhead and cost of supporting the source Exchange servers that no
longer host active mailboxes by gradually decommissioning the source Exchange
environment and its hardware.
16
Best Practices
If you need to decommission migrated production Exchange servers and re-use the
freed-up hardware in the new Exchange environment, contact Quest Professional
Services for a custom migration scenario designed for your specific environment.
Migration Manager can automatically filter out disabled accounts during migration. We
recommend you use this option and not bring disabled accounts to Active Directory.
You might also want to filter out user accounts that have not been logged on to for a
long period of time and disable them prior to migration. To locate such accounts, use
the following reports in Quest Reporter:
• Accounts that have never logged on—Displays user accounts that have
never logged on
• Inactive Accounts—Shows all accounts that are disabled or deemed inactive
during the time period you specify
There may be user accounts already created in the target Active Directory domain with
names similar to source accounts. If object matching by name is turned on for the
domain pair (the rule is turned on by default), Migration Manager considers two objects
to be duplicates if the source object’s SAMAccountName is equal to the target’s
SAMAccountName.
Although Migration Manager reports on duplicate accounts during the migration session
and allows you rename, merge, or skip them on the fly, the best practice is to handle
duplicates before migration. You should find duplicate user and group names and
determine which accounts belong to the same person and which do not. If two
accounts, source and target, have the same name and belong to the same person, they
should be merged during migration. If not, you should either rename one of them or skip
them during migration.
To find duplicate user and group names, use the Duplicate Users and Duplicate
Groups reports from Quest Reporter.
Third-party Applications
You should check your source environment for all business-critical third-party
applications, such as ERP systems, fax software, and meta-directory services. These
applications should be deployed in the test lab first and properly tested before you start
migration in the production environment. Refer to the Test the Third-party
Applications section for more details.
17
Quest Migration Manager 8.4
Exchange Clusters
Migration Manager supports multi-node clusters running multiple Exchange Virtual
Servers. Migration Manager detects such systems and configures agent services for
automatic failover together with the Exchange services.
However, if several Exchange virtual servers are running on a single cluster node, the
agents can be installed and run only on one Exchange virtual server at a time. Thus,
such Exchange servers can only participate in migration with Migration Manager
consecutively, one by one.
There are also some Exchange virtual server limitations on clusters that have more than
two nodes. Refer to Microsoft Knowledge Base article 329208, “XADM: Exchange
Virtual Server Limitations on Exchange 2000 Clusters and Exchange 2003 Clusters
That Have More than Two Nodes,” at
http://support.microsoft.com/default.aspx?scid=kb;en-us;329208.
The rest two types of Exchange 2007 Continuous Replication that are Standby
Continuous Replication (SCR) and Local Continuous Replication (LCR) are also
supported, but in case of failover a full resynchronization of all mailboxes, calendars and
public folders involved in the migration must be performed.
Cluster servers require special treatment when you move clusters to the target domain
and update cluster resources (such as cluster shares, cluster database, and cluster
printers). Follow the recommendations and guidelines in the Active Directory
Migration Steps section below to update and move clusters.
18
Best Practices
Since these devices usually store a large amount of data and are actively used by a
large number of users, you should carefully plan for their update timeframe and
procedures.
We also recommend that all hardware updates (such as NAS and SAN) be carefully
tested in a test lab first.
Backup Strategy
We recommend that you back up your source and target Exchange infrastructures
before implementing Migration Manager in your production environment. We also
recommend that source and target Active Directory data be backed up at least twice a
day during migration.
Quest Recovery Manager for Active Directory is the most comprehensive tool that
provides granular backup and restoration of Active Directory objects. For more
information about Recovery Manager for Active Directory, see
www.quest.com/recovery_manager_for_active_directory/.
When Migration Manager for Exchange synchronizes mail and public folders, for every
megabyte of data migrated from the source to the target, a transaction log file of equal
size is generated on the target Exchange server. Exchange-aware backup applications
purge the transaction logs after the backup completes. By the time the backup finishes,
all logged transactions have already been applied to the store and backed up to tape,
making log cleaning safe.
Run normal backup procedures to delete the transaction logs throughout the migration
on both the source and the target Exchange servers.
If normal backup operations do not delete the transaction logs, then you should ensure
that appropriate disk space is reserved for the expected transaction log growth.
Alternatively, you can enable circular logging during the migration to avoid transaction
log growth. However, Microsoft recommends that circular logging be turned off on
Exchange servers. If circular logging is turned on, bear in mind that large transaction
logs can still be generated on the Exchange server, and watch closely that the logs are
properly cleaned after backup. Keep in mind that if you use circular logging, only full
backups can be performed.
For more information, refer to Microsoft Knowledge Base article 147524, "XDAM: How
Circular Logging Affects the Use of Transaction Logs," at
http://support.microsoft.com/default.aspx?scid=kb;en-us;147524.
19
Quest Migration Manager 8.4
If any backup tools are installed on the servers where Migration Manager for Exchange
agents are to run, the schedules for these tools and the agents should not overlap; that
is, the backup utility and the agents should be scheduled to work during different hours.
In any case, use of any backup utility together with Migration Manager should be tested
in the laboratory before use in the production environment.
All migration project configuration data are stored in the ADAM database and the SQL
configuration database. It is very important that you back up these databases regularly,
because losing them could be disastrous to your migration project.
For procedures for backing up an ADAM instance, refer to the ADAM online help.
You can also use Quest Recovery Manager for Active Directory to back up and restore
ADAM databases. For more information about Recovery Manager for Active Directory,
see www.quest.com/recovery_manager_for_active_directory/.
As an alternative to backing up the ADAM database, you can install a replica of the
ADAM instance on another server in the network and simply connect to that instance if
the first one is lost or corrupted.
Service Attributes
The Directory Synchronization Agent in Migration Manager uses a number of attributes
to store necessary information. These are called service attributes. For each
synchronized object, the Directory Synchronization Agent sets the auxiliary attribute and
the matching attribute. Different attributes are used as auxiliary and matching attributes
for different object classes in Active Directory.
For the attributes used as service attributes by default, refer to the Quest Migration
Manager for Active Directory—User Guide.
20
Best Practices
Administrative Accounts
Migration Manager requires administrative access to the source and target domains and
Exchange organizations involved in migration. Administrative access is also required to
the console machine on which Migration Manager is installed.
When you install Migration Manager, create domain pairs, install different
synchronization agents, or create synchronization jobs, make sure you specify an
administrative account that has the required privileges. The required permissions are
listed in the Migration Manager—System Requirements and Access Rights document.
You can create and use different administrative accounts for different components;
however, due to Migration Manager’s distributed architecture, the best practice is to
create a single administrative account, grant this account all necessary permissions,
and use it for all migration activities. This greatly simplifies project management and
minimizes the number of issues related to the lack of permissions.
This powerful account must be maintained closely and should be deleted after the
project is complete. It is recommended that this account be owned by one individual and
one backup individual (or as few individuals as possible).
The best practice is to use a single migration project for all your migration activities, for
the following reasons:
• Because you can work with only one project at a time from the console,
configuring all the domain pairs, synchronization jobs, synchronization agents,
and so on is easier if you use a single project.
• The project database is the central storage for the object mapping information
that is used during resource processing to translate rights and permissions.
Using multiple projects requires you to update resources separately for each
project for which you have to update rights, permissions, local group
membership, etc.
• You can delegate rights to perform migration tasks (such as configuring
domain pairs, migrating accounts, and updating resources) to different
persons and migration teams. A single project helps you track who has what
rights (roles) in the project more easily. For more information about delegation,
refer to the Delegating Migration Activities section.
21
Quest Migration Manager 8.4
Using Migration Manager, you can delegate the following migration tasks to the other
administrators:
• Account migration
• Resource update
Delegating account migration is useful when you want the actual account migration to
be done by the other persons but you do not want these persons to know the
administrative credentials to access the source and target domains. You can also limit
the scope of the delegated migration to certain OUs in the source and target domains.
For more information on delegated migration, refer to the Quest Migration Manager for
Active Directory—User Guide.
Delegating resource updating tasks to other administrators is useful when you cannot
get administrative access to computers located in remote sites or resource domains.
Running resource update locally is also useful if computers to be updated are located
across slow WAN connections. In such cases, you can delegate the resource updating
tasks to the remote site or to other domain administrators who have the required level of
access and are located within an area of good connectivity to the computers to be
updated.
When you delegate resource processing, we recommend you use resource processing
task setups rather than INI files. Refer to the Active Directory Migration > Active
Directory Migration Steps > Step 3. Process Distributed Resources > Delegated
Resource Update section below in this document for more details.
Testing
It is recommended that you test the migration strategies using an environment that
mirrors production as closely as possible. This is critical for testing scalability. After
thorough testing, begin the pilot phase and then full deployment.
• Move one of your live domain controllers into the isolated network that will
become your test lab and assign it the PDC-emulator role. You may want to
create an additional domain controller in production and then use it for testing
purposes in the lab. Note that you will also have to seize all FSMO roles to this
22
Best Practices
domain controller and make it a Global Catalog as well after you moved it into
the isolated network.
• Create an image of your live domain controllers and Exchange servers using
third-party tools and restore the image to another box with a similar hardware
configuration in the lab.
• Export the source Active Directory into a CSV or LDIF file using third-party
tools (such as CSVDE, LDIFDE, or LDAPBrowser) and import it into the test
environment.
• Restore the directory data from backup into the test environment.
• The applications will function correctly in the target environment if you move
the server they are running on to the target domain and re-assign permissions
for target user accounts.
• Migrated users will still be able to work with the applications after permissions
have been processed for target user accounts.
Depending on the results, you will need to decide whether to move the server running
the application to target or to re-deploy the application there. In either case, additional
planning is needed.
We recommend you contact each third-party software vendor to verify that they support
the migration process or ask them to provide a migration procedure.
Environment Preparation
The source and target environments must be properly prepared before starting any
migration activities. Appendix A: Environment Preparation Checklist of this
document contains a checklist of the tasks to prepare the environments.
23
Quest Migration Manager 8.4
During the pilot migration, follow the procedures in the cookbook you prepared during
the planning stage. If no problems occur, you can start migrating the rest of the
environment. However, if a problem should arise, you should resolve it first, perform
additional testing, update the cookbook to include the correct procedures, and then
repeat the pilot.
• Active Directory Migration: You can use Migration Manager for Active
Directory to migrate user accounts to another domain in the same or a
different Active Directory forest. Depending on where the target domain
resides, the migration scenario can be either inter-forest or intra-forest:
a) The inter-forest migration scenario assumes you need to migrate only
user accounts to another domain in a different Active Directory forest.
Either Exchange Server is not installed in the source forest or for some
reason you do not want to migrate Exchange data to the target.
b) The intra-forest migration scenario is used to migrate user accounts to
another domain in the same Active Directory forest. If the source users
already have Exchange mailboxes, you can simply reconnect these
mailboxes to the new user accounts during migration.
• Exchange Migration: You can use Migration Manager for Exchange to
migrate messaging and public folder data only while leaving the security
accounts in the original Active Directory forests. In this case, users from one or
several forests will have mailboxes in a separate Exchange organization. This
deployment type is sometimes referred to as Exchange Resource Forest. This
24
Best Practices
25
Quest Migration Manager 8.4
Pre-migration
activities
Migration
Directory
synchronization
Resource update
User Switch
Post-migration
activities
To migrate Active Directory, complete the following steps. Each step is described in
further detail below.
26
Best Practices
ensures that all properties of source and target users are kept in sync during
the co-existence period. If the coexistence period is short, you can skip this
step.
2. Migrate the directory. Migrate accounts from the source to the target domain
in migration sessions. You can delegate rights to perform the account
migration to the other administrators in your environment.
3. Process distributed resources. Update distributed resources, such as end-
user workstations, file and print servers, and application servers using
Resource Updating Manager, adding permissions to the resources for the
target users. When user workstations are updated, user profiles should also
be updated, so the migrated users will get the same profile as the
corresponding source users when they log on to the target domain for the first
time. You can delegate rights to perform resource update to other
administrators.
4. Move end-user workstations and servers to the target domain. This step
is actually the user switch, because when you move a workstation to a target
domain using Resource Updating Manager, the last logged-in domain on
users’ workstations is changed from the source to the target domain and thus
users start to log in to the target domain. Move file and print servers and other
application servers that have been processed by Resource Updating Manager
to the target domain.
Migration of the users can be performed in batches. If you choose
this approach, repeat steps 2 through 4 for each group of users you
migrate.
5. Process BackOffice servers. Update Microsoft BackOffice servers, such as
Exchange, SQL, and SMS Server, using the corresponding processing
wizards. You can delegate rights to perform BackOffice server update to other
administrators.
6. Move BackOffice servers to the target domain.
7. Stop directory synchronization (optional). If you established directory
synchronization between the source and the target domains in step 1, stop
and uninstall the Directory Synchronization Agents.
8. Disable the source accounts. We recommend that you wait some time after
disabling the source accounts before proceeding to step 9 to make sure that
all users are using their target accounts.
9. Enable SID filtering. After you enable SID filtering, wait some time to ensure
that all target users can access the resources they used before the migration.
10. Clean up SIDHistory from the target accounts. Once all users are fine and
have access to resources they had before, proceed to clean up SIDHistory.
11. Clean up legacy accounts permissions from resources. Note that cleanup
is hard to undo. It is recommended that you clean up permissions only when
you are sure that all users are using their target accounts for all applications
and have no problems accessing resources.
12. Clean up service attributes used for migration.
13. Decommission migrated environments.
27
Quest Migration Manager 8.4
The following are the important issues to consider when synchronizing directories:
Depending on your project requirements, you may or may not use the ongoing directory
synchronization capabilities. You can skip this step if you are going to migrate a small
number of objects from one Active Directory forest to another and the coexistence
period (when there are active user accounts in both the source and target
environments) is expected to be short (for example, a weekend).
• You need to migrate a large number of objects from one Active Directory
forest to another.
• The objects and resources are migrated in groups (for example, by
departments).
• The source and target environments must coexist during a period of time (that
is when administration happens in both environments).
• You need to migrate user mailboxes from one Exchange organization to
another. Refer to the Exchange Migration and Active Directory and
Exchange Migration scenarios for more details on directory synchronization
requirements when Exchange migration is involved.
We recommend that you establish directory synchronization between source and target
domains to ensure that objects’ properties are kept in sync and changes made to the
objects in one directory are replicated to another directory.
The Directory Synchronization Agent matches source and target objects by the criteria
you specify. However, if the agent cannot find a matching object in the directory (no
matching criterion is met), it can create one and then synchronize object properties.
The best practice for the Active Directory Migration scenario is to establish ongoing
directory synchronization between the domains without object creation capability and to
migrate the objects from the source to the target domain using migration sessions.
The other benefits of creating objects in the target domain by migrating them in
migration sessions are:
The properties of the migrated objects will then be kept in sync by the Directory
Synchronization Agent.
Keep in mind that if you establish directory synchronization and do not allow the
Directory Synchronization Agent to create objects in the target directory, this does not
prevent the Directory Synchronization Agent from searching for target objects that
match the source objects by the matching criteria specified. If the agent finds a
matching object for the source object in the target domain, it will merge and synchronize
these objects regardless of whether the object was migrated in a migration session.
However, if you are going to implement the Exchange migration scenario, you may
want to allow the Directory Synchronization Agent to create the disabled mailbox-
enabled objects in the target domain. For more information about the Exchange
migration scenario, refer to the Exchange Migration section of this document.
Migrate the accounts from one source domain to another using migration sessions.
Depending on your project requirements, you can migrate accounts in one or more
migration sessions. You can also delegate account migration to other administrators by
creating and pre-configuring the delegated migration sessions. For more information
about delegated migration, refer to the Delegating Migration Activities section earlier
in this document.
29
Quest Migration Manager 8.4
We recommend migrating user accounts and groups together in one session in order to
transfer group membership to the target accounts during a session. However, if you
plan to migrate user accounts and groups in portions using multiple sessions, we
recommend you use the following order to successfully transfer group membership
information:
If you migrate groups before users, group membership may not be resolved if a user
account that is a member of the source group is not yet migrated to the target domain.
Additional steps will be required to update group membership on the target after the
user account is migrated, such as re-migrating and merging groups or running full
directory resynchronization (if directory synchronization is established for that pair of
domains).
Adding SIDHistory
We also recommend that you always add the SIDHistory attribute to the target
accounts. This greatly helps to ensure that there is no impact to end users during the
co-existence period of two environments, making your migration smoother.
Migration Manager allows you to migrate not only user and group accounts, but also
other Active Directory objects, including organizational units (OUs), contacts, print
queues, shares, and computers. If you want to preserve the existing OU hierarchy,
select the OUs that you want to create in the target domain as well as objects to be
migrated within these OUs.
We also recommend you select and migrate computer accounts in migration sessions.
This allows you to specify the target OU where computer accounts will reside. When
you later move computers from the source to the target domain, the existing (migrated)
computer accounts will be used and no new computer accounts will be created in the
default Computers OU in the target domain. You can also use these migration sessions
to populate the computer list in Resource Updating Manager later with the computers to
be processed. This eliminates the need to select individual computers that must be
updated from all computers in the source domain.
Distributed resources are end-user workstations, file and print servers, servers running
IIS, scheduled tasks, and other services and applications. To ensure that resources will
still be available to users when they start using their target accounts and when you have
cleaned up SIDHistory, permissions granted to source accounts to access the
resources must be re-assigned to the target accounts.
Service accounts and accounts used to run scheduled tasks must also be changed to
the corresponding target ones to ensure that services and scheduled tasks will run
correctly after the source accounts are disabled.
30
Best Practices
Update Methods
In order to re-assign user rights and permissions set to the objects, update local group
membership, and change service and scheduled tasks’ accounts, distributed resources
must be updated. You can do this in any of the following ways:
31
Quest Migration Manager 8.4
Factors to Consider
Here are the factors to keep in mind when doing the resource updating:
• The more objects the computer has (in most cases, this means the more files
and folders), the longer it will take to process. Thus, processing a file server
takes much longer than processing a workstation.
• Updating NTFS permissions requires a lot of disk access
(I/O) operations and may slow the server for a period of time.
• Each computer in a set is processed by its own agent. Thus, all the computers
are processed in parallel and it takes approximately the same time to process
a dozen of workstations as a thousand.
• Expect about 10% of your workstations to require troubleshooting because
they are offline, the Server service is not running, the domain administrators
were removed from the local Administrators group, etc.
You may also want to perform server processing during non-business hours to ensure
that no users are affected by a possible server slowdown.
In Resource Updating Manager you can create the computer list in any of the following
ways:
Administrative Rights
Administrative rights over the resources are required for successful resource updating
(see the Quest Migration Manager - System Requirements and Access Rights
document). To obtain administrative rights you can do any of the following:
• Add the account you are currently logged on to the console with to the local
Administrators group on each computer to be updated.
By default, if the computer has been joined to the domain, the
Domain Admins group of the domain is a member of a computer’s
local Administrators group. You will get administrative access to the
computer if the account you are using is a member of the source
Domain Admins group.
• Use another account that is a member of a computer’s local Administrators
group to connect to the computer. In Resource Updating Manager you can
specify the credentials for each domain.
32
Best Practices
Server Service
Server service is automatically installed when you install the File and Printer Sharing
service on the computer.
Server service must be running on a computer in order for it to be updated from either
Resource Updating Manager or the command-line updating tool VMover.exe.
If for some reason (for example, due to your corporate policy) Server service is not
allowed to run on the computers, you need to install or enable Server service
temporarily, update the computers, and then disable or uninstall the service.
Client-side Firewalls
Starting from Windows XP Service Pack 2, Microsoft introduced the Security Centre,
which includes a client-side firewall application. The firewall is turned on by default and
configured to filter the packets sent to ports 137–139 and 445. These ports are used by
the File and Printer Sharing service that must be installed and running on the computer
to be updated (see the section above).
If the File and Printer Sharing service was installed and running on a computer and a
shared folder or printer were then created on that computer, these ports will remain
open after you apply Service Pack 2 on Windows XP computer. However, if there were
no shared folders or printers created prior to Service Pack 2 installation, these ports will
be blocked. You need to make sure that ports 137–139 and 445 are not blocked by the
firewall.
To install the File and Printer Sharing service, follow these steps:
To unblock the ports used by the File and Printer Sharing service, follow these
steps:
Command-line Updating
If for some reason you cannot use the agents to update computers from Resource
Updating Manager, you can update the computers locally, using the command-line
updating tool VMover.exe.
33
Quest Migration Manager 8.4
To perform the updates, VMover retrieves the source-target account pairs from the INI
file. This file can be created by clicking Export to | INI File on the Tools menu of
Migration Manager. In the Export INI File dialog, select the Resource Updating in the
Wizard name drop-down box.
When using the INI file, VMover will perform the updates for all accounts migrated by
that time the INI file was created.
Refer to the Quest Migration Manager for Active Directory—User Guide for more
details.
Use Resource Updating Manager for centralized resource update. Determine the
processing scope, i.e. select the computers on which you want to update resources. For
that, you should create groups and include computers you want to process (for
example, all workstations or all servers). Each group will contain the computers to be
processed, and the set of processing settings. You can create as many groups as
needed. Remember to obtain administrative rights over the resources. For details, refer
to Resource Updating Manager help.
You can delegate the resource updating tasks to the remote site or to other domain
administrators who have the required level of access and are located within an area of
good connectivity to the computers to be updated.
Resource updating can be delegated by exporting the INI file and performing resource
updating using this file by running the updating tools in stand-alone mode or running
resource updating from the command line
34
Best Practices
After the task is delegated, the delegated administrator can start Migration Manager
from his or her location, connect to the migration project, select the task in the tree he or
she was delegated rights to, configure the task (for example, specify the resources to be
processed by the task), and run the task.
The setup package is a standard MSI installation file. There are two types of the setup
packages:
• Packages containing the task configuration only, which are for administrators
with Migration Manager installed on their workstations
• Packages containing the task configuration and executables needed to run
this task, which are for administrators without Migration Manager installed
To create an MSI installation file for the task, in Migration Manager complete
these steps:
35
Quest Migration Manager 8.4
The migration administrator has to prepare the INI files by taking the following steps:
1. In Migration Manager, select the Export to | INI File from the Tools menu.
2. In the Export INI File dialog, select the Resource Updating in the Wizard
name drop-down box.
3. Make sure that the Reassign local group membership, user rights and
object permissions to Target users option and the Leave source
accounts’ permissions checkbox are selected.
4. Select the items to be updated. We recommend selecting and processing all
items at once.
5. Leave the default path and filename: %ProgramFiles%\Common Files\Aelita
Shared\Migration Tools\VMover.in_. It is recommended that you use the
compressed format for INI files by selecting the Create compressed
checkbox because the files are sent across the network during distributed
resource updating.
6. Click OK. This creates a file, VMover.in_, that contains matching information
for the source and target objects and information about which items should be
updated.
7. Send the VMover.in_ file to each person who will perform the local resource
updating.
A user profile consists of two parts: the key in the system registry and the folder on a
hard disk that contains user-specific data, desktop settings, and a registry hive stored in
NTUSER.DAT file. Depending on where user data is stored (on a local hard disk or
server), user profiles can either be local or roaming.
When a user configured with a roaming profile logs on to a workstation for the first time,
a local copy of the roaming profile is created on the workstation. NTUSER.DAT is
copied from the roaming profile folder to the corresponding local one as well.
User profiles (profile folders and registry keys for both local and roaming profiles) get
updated when you run distributed resource updating from Resource Manager and select
both the Local profiles and Roaming Profiles options.
36
Best Practices
After processing, the profiles are shared between the source and target user accounts.
As a result, target users will use the same profiles as the corresponding source users
do.
You can use the ExportProfile utility from the Migration Manager
Resource Kit to associate the current source user's profile with his
or her future (migrated) account. However, this does not grant the
new account the permissions needed to use the profile. This has to
be done by running distributed resource updating. Refer to the
Quest Migration Manager for Active Directory Resource Kit - User
Guide for more details on the ExportProfile utility.
Enabling the “Cross-Forest User Policy and Roaming User Profiles” Policy
If the end-user workstations are running Windows 2000 SP4 or higher, you should
enable the Allow Cross-Forest User Policy and Roaming User Profiles policy before
you move the workstations to the target domain. This is to allow users to use roaming
profiles stored on a server that is still a member of the source domain.
You can configure this policy either locally on the client workstation or by using a
domain or organizational unit-based Group Policy object (GPO). To do this locally on a
workstation, complete the following steps:
For more details on user policies, refer to Microsoft Knowledge Base article 823862 at
http://support.microsoft.com/default.aspx?scid=kb;en-us;823862.
Many system and service processes work on the workstation on behalf of users (for
example, printer drivers and virus scanner services). If such a process does not
properly close handles to the user profile hive it used, then the profile cannot be
correctly unloaded when the user logs off. In addition, failure to close handles causes a
problem with updating of the user profile: if the profile is locked by any service during
processing, then the user may get a brand new profile when he or she logs on to the
system with the target account for the first time after the workstation has been
processed.
37
Quest Migration Manager 8.4
The User Profile Hive Cleanup Service (UPHClean) by Microsoft is intended to help
troubleshoot such issues. For more information about UPHClean, refer to the following
documents:
Workstations
After you run the updating session, some computers you specified may not be
successfully updated. The computer may be turned off or inaccessible by the network
from your location (network connectivity problems), or you may not have enough rights
to connect to it, and so on. Resource Updating Manager allows you to sort computer
objects by last error status. If a computer was processed successfully, the last error field
is empty and the computer can be removed from the list. Otherwise, you will see error
descriptions. The typical errors are:
• Access is denied—You get this error when you do not have administrative
rights over the server or workstation. Refer to the Administrative Rights
section above.
• The network path was not found—Probably one of the following:
• The computer is turned off.
• It cannot be accessed by the network from your location due to network
connectivity problems.
• It cannot be found by name (the NetBIOS computer name cannot be resolved
into the address due to DNS/WINS issues).
• No computer with that name exists.
• Firewall software is installed and enabled on a computer (such as Windows
Firewall in Windows XP Service Pack 2) that prevents connecting to the
computer.
• It is a laptop computer whose owner is currently out of the office.
You need to diagnose each situation separately. Use the ping
<ComputerName>, ping <Computer_IP_Address> and nslookup
commands to determine whether you have a name-resolution problem or
38
Best Practices
whether the computer is turned off or cannot be accessed by the network from
your location.
• The Server service is not started—Start the Server service and try to
process the computer again or follow the command-line updating procedure to
update the computer locally.
Servers
We recommend you update servers during non-business hours to ensure that end users
will not be affected by possible decrease in server performance.
After adding servers to the Resource Updating Manager and starting the updating, wait
for all computers to finish even if some have errors. Once the processing is finished,
use the sort feature on the column headings to sort computers by problem, fix the
problems, and start the updating again for only those computers.
We recommend you first move end-user workstations to the target domain after they
have been processed and then move the servers.
This step is called the user switch. We recommend you move user workstations using
Resource Updating Manager. In this case, after a computer is moved to the target
domain, the default logon domain name that is displayed in Windows logon dialog is
changed to the target domain name. This helps a user log on to the target domain and
start working with his or her target account without having to select the target domain
manually in the Windows logon dialog.
You should always make sure that user profiles have been
processed before you move their workstations to the target domain.
If you selected the Change last logged-in domain to the target
domain option when moving computer accounts, the default logon
name will be changed to the target domain name on each
computer that has been moved. If user names were not changed
during the migration, most probably users will not notice the
change and will log on to the target domain. If their profiles have
not been updated yet, they will get new profiles.
39
Quest Migration Manager 8.4
Many users now work with portable laptop computers. When such users are in the
office, they plug their computers into the local area network (LAN) and log on to the
domain using their credentials. These credentials are then automatically cached by the
system on the laptop computer. These users may also often work out of the office, not
connected to the LAN. In these cases they log on to the system with the same
username, password, and domain name as they used in the office. The system
authenticates the user using the credentials that were cached.
However, if you move a computer to another domain and then reboot it, all cached
credentials are automatically cleared by the system on that computer after reboot. Thus,
a user is no longer able to log on using the cached credentials. The system behaves as
follows:
• Until the computer is rebooted (after the move), a user can use cached
credentials to log on to the source domain.
• Once the computer is moved and rebooted, attempts to log on using cached
credentials will be unsuccessful.
• Reboot laptop computers while the user is in the office, connected to LAN.
Then he or she can log on to the target domain, and the new credentials will
be cached.
• Hibernate laptop computers rather then switch them off before taking them
home. At home the users can restore the laptop from hibernation and
successfully log on to the domain using cached credentials. The next day at
work, the laptop users can plug the machine in the network and reboot. Once
they are logged on to the target domain, their new credentials are cached and
can be used offline.
However, if the cashed credentials have already been cleaned and the user is at home,
the or she can still log on to the target domain by selecting the Log on using dial-up
connection option in the Windows logon dialog and connecting to LAN via dial-up.
For more recommendations on updating laptop computers, refer to the Guidelines for
Laptop Computers Updating document.
Locked Workstations
When a workstation is moved to another domain, the list of trusted domains (the
domains trusted by the domain to which this workstation belongs) that is stored in
system registry is automatically cleared by the system.
An issue may occur if a user workstation was locked when it was moved to the target
domain and if the user tries to unlock it right after it is moved, without waiting for the
domain list to be rebuilt. In this case, when pressing Alt-Ctrl-Del, the user will only be
able to choose from the local workstation and the target domain to log on. To resolve
this, the user should press Esc and then press Alt-Ctrl-Del again; the trusted domain
list is rebuilt and the last logged-in domain (the default domain) setting is returned to the
source domain. The user is then able to unlock the workstation.
40
Best Practices
Next, move file and print servers and servers running scheduled tasks using Resource
Updating Manager.
For procedures for moving servers running IIS and other applications and services, refer
to the product’s documentation. Be sure to test these procedures first in your test
environment.
To move a cluster server whose nodes are all member servers of some domain to a
different domain, select all the nodes in Resource Updating Manager and move them
simultaneously. After a couple of minutes all nodes and the virtual cluster server will
appear in the new domain.
Microsoft BackOffice includes SQL, Exchange, and SMS server products. To update
BackOffice server permissions for the target accounts, use the following processing
wizards:
SQL (7.0, 2000, SQL Automatically detects the SQL Server version
2005, 2008) Processing (7.0, 2000, 2005, and 2008 are supported) and
Wizard performs the updates accordingly.
41
Quest Migration Manager 8.4
For more information about the processing wizards listed above, refer to the Quest
Migration Manager for Active Directory—User Guide.
The best practice for delegating BackOffice server update is to create a resource
processing task and delegate it to the other administrators. In addition, you can create a
setup package for the task and send it to the administrator, who installs the package
and runs the task at his or her location. For more information on these techniques, refer
to the Delegated Resource Processing section above.
For more information about the task setup packages, refer to the Creating Task Setup
Packages section.
Microsoft BackOffice includes SQL, Exchange, and SMS server products. The
recommendations for them are different, and are explained in the sections below.
SQL Servers
SQL servers can be moved to the target domain easily after they have been processed.
You can do this manually or from Resource Updating Manager.
Exchange Servers
Use Migration Manager for Exchange to migrate messaging system from the source
Exchange organization to the target. After the inter-org Exchange migration is
completed, you can decommission the old Exchange environment.
SMS Servers
If you do choose to move your BackOffice servers to another domain, refer to the
procedures described in the Microsoft BackOffice documentation and in the Microsoft
Knowledge Base for more information.
42
Best Practices
If you established directory synchronization in step 1, stop and uninstall the Directory
Synchronization Agents.
It is good practice to disable the source accounts at this stage and thus make sure that
all users are logging on with their target accounts. We recommend that before you take
this step, you wait some time to make sure that all users are already using their target
accounts.
After the distributed resources and BackOffice servers have been processed, enable
SID filtering between the source and the target domains.
After SID filtering is enabled, wait some time to ensure that all target users can access
the resources they used before the migration. If after enabling SID filtering some users
cannot access the resources, turn SID filtering off, process any skipped resources, and
turn it on again.
We recommend you enable SID filtering prior to SIDHistory cleanup to verify that all
resources were re-permissioned correctly and users can access resources with their
target accounts not using SIDHistory.
Refer to the SID Filtering section above for the procedures on how to enable SID
filtering.
After SIDHistory is cleaned up, wait some time to ensure that all target users can
access the resources they used before the migration.
43
Quest Migration Manager 8.4
Cleanup is hard to undo, so it is recommended that you clean up permissions only when
you are sure that all users are using their target accounts for all applications and have
no problems accessing resources.
This is the last step of the migration process. If all previous steps were successfully
done, you can switch off your source domain controllers and re-use the freed-up
hardware.
Exchange Migration
Overview
In multi-forest Active Directory deployments, users from several forests might have
mailboxes in one Exchange organization. This deployment type is sometimes referred
to as Exchange Resource Forest or Multiple Forests/Single Org.
The main characteristic of such deployments is that users have mailboxes that are not
in the forest in which they get authenticated. Thus, security directory is separate from
the Exchange directory.
However, this scenario described below can be used also when Active Directory
migration has already been completed; that is, Active Directory objects and resources
44
Best Practices
have already been migrated from the source to the target forest by means of the other
migration tools, such as Microsoft Active Directory Migration Tool (ADMT), and all users
already log on to the target domain. In this case also, only Exchange data must be
migrated from the source to the target Exchange organization.
45
Quest Migration Manager 8.4
46
Best Practices
You always need to establish directory synchronization when you migrate user
mailboxes from one Exchange organization to another. Configure the Directory
Synchronization Agent to create disabled and mailbox-enabled user accounts in the
target domain.
The initial directory synchronization creates new user accounts in the target domain and
a mailbox for each user corresponding to a source mailbox. This should be completed
for all source mailboxes you want to migrate to the new Exchange organization before
any other activity is started, for the following reasons:
When the Directory Synchronization Agent creates a disabled account in the target
domain that corresponds to the source user account, it automatically sets the source
user account as the Associated External Account (i.e., the SID of the source user is
added to the msExchMasterAccountSID property of the target user). This ensures that
source users will be able to access all target Exchange resources with the old (source)
accounts.
If security accounts have been created in the target domain prior to Exchange migration
(Active Directory migration has been completed previously), you should configure the
Directory Synchronization Agent to search for the matching objects in the target domain
for each source object within the specified synchronization scope. The following
matching rules can be used:
• Account name—If the account names of the source and target object are the
same, the objects will be matched.
• SIDHistory—If the SIDHistory attribute of an object from one directory
contains the SID of an object from another, the objects will be matched.
• E-mail—This matching rule can be used if target objects were created mail-
enabled. This is, for example, if Quest Collaboration Services was used and
stub mail-enabled accounts were created by that product in the target domain.
For mail-enabled objects, if source and target object have the same e-mail
address, the objects will be matched.
All three matching rules are turned on by default. We recommend you select only those
rules that are relevant for your previous migration and switch off the other rules that do
not apply to your situation. For example, if you have migrated accounts and added
SIDHistory to the target accounts, use the SIDHistory matching rule. If you have
migrated accounts without SIDHistory but did not change the account names (source
and target accounts have the same names), use matching by account name.
47
Quest Migration Manager 8.4
Directory synchronization sets mail redirection so that mail is delivered to the mailbox
currently used by the end user, regardless of which organization the mail is sent from.
The additional SMTP addresses are used for redirection. These addresses are
generated upon the template you specify when you configure directory synchronization,
and are automatically added to the source and target mailboxes.
Directory synchronization also ensures that account properties and Global Address
Lists are identical in the source and target organizations.
Once the initial synchronization is completed, you can proceed to Step 2.
However, directory synchronization should continue to run until the last user is migrated to the
target Exchange organization. This ensures that changes made by the administrators in the
source or target directory are automatically propagated to the other directory.
For more information about directory synchronization, see the Considerations for
Exchange Migration > Directory Synchronization section.
Perform initial public folder synchronization before starting mailbox migration (Step 3). It
may take a few days to complete if there is a large amount of public folder data. By
starting this before mailbox migration, you can ensure that all public folder data is
available before the first user logs on to the target mailbox.
In Exchange 2003, the size limit for public folder items is set by
default to 10 Mb. It is recommended that you increase or remove
the size limits before you start the synchronization. Otherwise, if
you set a two-way synchronization, you may lose the attachments
larger than 10 Mb on the source side.
It is best to configure mailbox synchronization but not start it, and then use mailbox
synchronization collection members to populate a calendar synchronization collection in
a calendar synchronization job. Then start calendar synchronization. Calendar data
synchronizes much faster than mailbox data, so if calendar synchronization starts
before or at the same time as the first mailbox synchronization, it normally completes for
all mailboxes before the first mailbox is switched. That way you can ensure that
calendar information is available for any user in any organization, regardless of whether
the user’s mailbox is switched.
48
Best Practices
Permissions are synchronized together with public folder and calendar data, so the
users have uninterrupted access to the data they need. The ongoing two-way
synchronization of public folders and calendars lets users in different organizations
share the same public folder data and resource mailboxes.
For more information about public folder synchronization, see the Considerations for
Exchange Migration > Public Folder Synchronization section.
For more information about calendar synchronization, see the Considerations for
Exchange Migration > Calendar Synchronization section.
Mailbox synchronization can be started at any time after the initial directory
synchronization has been completed. However if you want users to have full
collaboration capabilities and a consistent view in source and target Exchange
organization, public folder and calendar data should exist on the target before either the
first mailbox is switched to the target Exchange server or a new user and mailbox are
created in the target.
To make migration transparent for all users, Migration Manager now provides the
Remote Users Collection feature, which allows you to preserve the offline folder (OST)
files for remote and laptop users who typically work offline and occasionally connect to
their Exchange mailboxes. For the mailboxes processed within a Remote Users
Collection, Migration Manager keeps the OST file of the source mailbox and make the
target mailbox use this file after migration. For more information about Remote Users
Collections, see the Considerations for Exchange Migration > Remote Users
Collections section.
49
Quest Migration Manager 8.4
Migration Manager can automatically switch a mailbox once its content is fully
synchronized, or a user can be switched manually by the administrator. Once a user’s
mailbox is switched, all new mail arrives at the Exchange mailbox only.
Public folders and calendars continue to be synchronized throughout the migration until
all users are using their target mailboxes. However, it is recommended that the initial
public folder and calendar synchronization complete before the first user mailbox is
switched. This will ensure that users in the source and target organizations see the
same calendar and public folder data.
Once a user’s mailbox is switched, the Outlook profile of that user should be updated by
the Client Profile Updating Utility (EMWProf). Normally, administrators should include
this utility in user logon scripts for the migration period to ensure that Outlook profiles for
the switched mailboxes are updated automatically. In that case, EMWProf will start at
each user logon, scan for Outlook profiles, and check whether any of the profiles point
to switched mailboxes. If a switched mailbox is found, EMWProf updates the profile so
that now it points to the new mailbox on the target server. If no profiles require update,
EMWProf quits.
If a user has mail profiles on multiple machines, such as a laptop and a desktop, the
profile on each machine will be updated when the user logs on to the machine.
For more information about switching mailboxes and updating client profiles, see the
Considerations for Exchange Migration > Mailbox Switch and Profile Update
section.
Initially, all incoming SMTP mail is received by the source Exchange bridgehead server.
For mailboxes that have been switched, it is automatically redirected to the target
Exchange bridgehead server.
In order to optimize routing, you should switch incoming SMTP traffic to the target
Exchange bridgehead server when about 50 percent of the users have had their
mailboxes switched to the target. To switch incoming SMTP traffic, change the name
server Mail Exchange (MX) and/or Alias (A) records for Internet mail.
After this change, all SMTP mail will arrive in the target mailboxes. For mailboxes that
have not yet been switched, SMTP mail is automatically redirected to the source
Exchange bridgehead server since redirection for such mailboxes is set on target.
After all the data is transferred to the target servers and all mailboxes are switched, you
can stop and uninstall the synchronization agents. The agents are:
• Directory Synchronization Agents
• Mailbox Synchronization Agents
• Calendar Synchronization Agents
• Public Folder Synchronization Agents
• Free/Busy Synchronization Agents (if they were used)
50
Best Practices
Step 10. Clean Up the Additional SMTP Addresses and Service Attributes
Used for Migration
Clean up the additional SMTP addresses set for redirection purposes and the custom
attributes of the target objects used during Exchange migration.
You can use standard Windows utilities for bulk LDAP operations, such as CSVDE, or
third-party tools to clean up service attributes used during migration and directory
synchronization.
Cleanup of service attributes can also be done by the Active Directory Cleanup Utility
for Quest Migration Manager, which can be downloaded from the Quest Web site:
http://www.quest.com/downloads/?requestdefid=7947
Therefore, moving users to another forest includes moving both their security accounts
and mailboxes. That is why you need both Migration Manager for Active Directory and
Migration Manager for Exchange for this migration scenario.
There are two possible ways to migrate Active Directory and Exchange:
This scenario is a combination of the Active Directory Migration and Exchange Migration
scenarios described above. It allows you migrate Active Directory accounts, resources,
mailboxes, and public folders in parallel.
The Active Directory Migration and Exchange scenario is shown schematically in the
figure below:
51
Quest Migration Manager 8.4
52
Best Practices
53
Quest Migration Manager 8.4
Note that user and mailbox switch (steps 7–9) should be completed
in a closed time period to make sure that users will not access their
source mailboxes when they start to log on to the target domain
(with target accounts). This is to ensure that target users do not
create new items in their old (source) mailboxes or public folders. If
they do create such items, the owner of all those newly-created
messages will be set to ‘unknown’ and the creators will not be able
to modify the items later.
However, if it is not possible for you to switch users and mailboxes
at once, before your users start log on to the target domain, disable
their source accounts and set the Associated External Account
attribute for the source users (i.e., add the SID of the target user to
the msExchMasterAccountSID attribute of the source user). If the
Associated External Account is set for the source user and the
account is disabled (which is a requirement), the ownership
information will be correctly translated to the target user’s SID
when the target user creates new items in his or her source
mailbox or public folder. Note that this is an Exchange limitation,
not a Migration Manager limitation.
Source accounts can be automatically disabled and the Associated
External Account automatically set when you re-migrate users from
the source to the target (merge them with accounts previously
migrated) with the Disable source accounts option selected in
migration session.
10. Change the mail exchanger or alias records. Switch incoming SMTP traffic
to the target Exchange bridgehead server when about 50 percent of the users
have had their mailboxes switched to the target in order to optimize routing.
11. Stop and uninstall the synchronization agents. When all mailboxes are
migrated and switched, you can stop the synchronization. The following
agents should be stopped and uninstalled:
• Directory Synchronization Agents
• Mailbox Synchronization Agents
• Synchronization Agents
• Folder Synchronization Agents
• Free/Busy Synchronization Agents (if they were used)
54
Best Practices
12. Process BackOffice servers and move them to the target domain. Update
Microsoft BackOffice servers, such as Exchange, SQL, and SMS Server,
using the corresponding processing wizards. You can delegate rights to
perform BackOffice servers update to other administrators in your
environment. You can move the server to the target domain before or after it is
updated. Note that you can start to update BackOffice servers right after all
accounts have been migrated to the target domain (step 5).
13. Disable the source accounts. If the source accounts were not disabled
before user and mailbox switch in order to set the Associated External
Account to the source accounts (see the note above), disable them in this
step. We recommend that you wait some time after disabling the source
accounts before proceeding with the next step to make sure that all users are
using their target accounts.
14. Enable SID filtering. After SID filtering is enabled, wait some time to ensure
that all target users can access the resources they used before the migration.
15. Clean up SIDHistory attributes from the target accounts. After SIDHistory
is cleaned up, wait some time to ensure that all target users can access the
resources they used before the migration.
16. Clean up legacy account permissions from resources. Note that cleanup
is hard to undo. It is recommended that you clean up permissions only when
you are sure that all users are using their target accounts for all applications
and have no problems accessing resources.
17. Clean up the additional SMTP addresses and custom attributes. Clean up
the additional SMTP addresses set for redirection purposes and the custom
attributes of the target objects used during Exchange migration.
18. Decommission the migrated environments.
The main idea of this scenario is to complete the Exchange migration first; that is,
implement the Exchange Resource Forest, and then complete Active Directory
migration to that forest, merging source user with their stub mailboxes in the Exchange
Resource Forest. These migration phases are independent and can be separated in
time.
After the first phase is complete, source users access their target mailboxes. The
Associated External Account of each target mailbox-enabled user (stub) contains a SID
of the corresponding source user. Thus, the ACLs of all items created in the target
mailboxes by source users contain source users’ SIDs.
When you complete the second phase, the Active Directory migration, the only
additional step you need to take is to process all target Exchange servers with the
Exchange Processing Wizard. This is needed to translate permissions on items in
mailboxes and public folders granted to source users through the Associated External
Account from source to target accounts.
55
Quest Migration Manager 8.4
Migration Steps
Both of the preceding migration scenarios are to a certain extent a combination of two
other migration scenarios: Active Directory Migration and Exchange Migration.
All descriptions and recommendations for the migration steps in the Active Directory
Migration and Exchange Migration scenarios are fully applicable to the combined Active
Directory and Exchange migration scenario. For descriptions of the migration steps,
refer to the Active Directory Migration and Exchange Migration sections in this
chapter.
Additional best practices and recommendations for Active Directory migration, resource
update, and Exchange migration are described in the following chapters:
Considerations for Active Directory Migration and Resource Update and
Considerations for Exchange Migration. Please refer to these chapters for details.
Rollback
If only one-way directory, public folder, calendar, and free/busy synchronization is
established, Migration Manager does not make changes to the source environment.
During the account migration phase, Migration Manager just reads data from source
and applies it to target. That means that until you disable source accounts, if migration
issues arise, users can log in back to source. We recommend that you keep source
accounts for a period of time after the migration is finished.
Migration Manager is designed so you can roll back any changes made to the
environment at any step of the migration process.
The easiest way to roll back is to start using source accounts again. You can start using
source accounts at any stage of the migration process as long as you leave the source
accounts’ permissions while processing the resources.
Session Undo
You can also undo the corresponding session in Migration Manager to roll back the
account migration. This will delete the accounts created by the session on target.
Merged accounts will be returned to the states they had before the migration.
56
Best Practices
Permissions Revert
Permissions revert is done by the same wizards that were used to re-assign
permissions to the target accounts.
If changes were made to the source environment that cannot be undone, use standard
procedures to restore from backup. That’s why it is recommended that source and
target environments be backed up with standard backup procedures. Ensure that you
have the latest valid backup of your servers in both source and target.
We also encourage using Recovery Manager for Active Directory during all migration
and post-migration activities to back up Active Directory. This allows online granular
restoration of objects down to the attribute level without a domain controller reboot if
they are accidentally deleted or corrupted.
Exchange Migration
Users work with their source mailboxes until the mailbox is switched and the client
profile is updated on the user workstation. After the mailbox is switched and client
profile is updated, a user starts using the target mailbox. However, if for some reason
you want the user to work with the source mailbox again, at any point of migration you
can to do the following:
For more information about the mailbox switch and the client profile undo, refer to the
Quest Migration Manager for Exchange—User Guide.
If changes were made to the source environment that cannot be undone, use standard
procedures to restore from backup.
We also encourage using Recovery Manager for Exchange during all migration and
post-migration activities to back up source Exchange servers data. This allows online
granular restoration of objects down to the message item level if they are accidentally
deleted or corrupted.
57
Quest Migration Manager 8.4
You can use import lists to modify target object attributes. To easily create an import list,
when creating a new migration session in Migration Manager, use the Import/Export
functionality. Migration Manager allows you export information about the accounts from
the selected OU and save it in a plain text, tab-delimited format. You also can select
what attributes to export. Then you can open the file in Excel, modify the attribute
values, and import the list back. The modified attribute values will be applied to the
target objects during migration.
Import lists can also be used for account renaming. For example, you may want the
names in the target to meet new corporate standards. To assign the target account
different name on the fly (this can be a name, or sAMAccountName), you can simply
add a new column to the exported list right after the first column and populate it with the
new object names (name or sAMAccountName).
The new names are applied to the newly-created target objects during migration. The
following is an example of a file for renaming:
58
Best Practices
Another solution is to determine which names in the source domain are non-standard
and change them before migration. To list account names, estimate the number of non-
standard names, and decide which ones must be changed, you can use the General
User Information report in Quest Reporter or export the information from the source
domain into a tab-delimited file using third-party tools.
You can also use this method to merge source and target accounts that have different
names. To do this, create the import list containing at least two columns, source
SAMAccountName and target SAMAccountName, and specify the actual names for the
source and target accounts in the columns. Using such an import list in Migration
Manager later will cause source and target accounts be matched by their
SAMAccountNames and merged.
• member/memberOf
• manager/directReports
• managedBy/managedObjects
Migration Manager resolves links when you migrate or synchronize objects. However, if
the objects that should be added to the target group membership (attribute: member) or
set as a manager (attribute: manager) for other objects do not exist in the target domain
(have not been migrated yet), group membership and manager information will not be
updated for such objects. Such objects will be placed into the unresolved links queue.
To resolve the links in the future when all group members are migrated to the target,
you can either re-migrate and merge groups or run full resynchronization.
To make sure that all the links (group membership, Manager, Managed by, etc.) will be
successfully resolved from the beginning without the need to run full resynchronization
later, we recommend you migrate group members first and then migrate a group or
migrate a group and its members together in the same session.
Subsequent Migrations
If you are running a number of subsequent migrations (with ongoing directory
synchronization), for example, migrating domain A to domain B and then migrating
domain B to domain C, you should use different service attributes for the domain pairs
A–B and B-C.
59
Quest Migration Manager 8.4
The attributes that can be used as the service attributes must meet the following criteria:
Normally, you can use any Extension Attributes that are not used by Migration Manager
for Exchange and not used to store any other information in the enterprise.
Skipping Attributes
You can skip certain attributes from directory synchronization. However, although
Migration Manager allows you skip the majority of object attributes from its interface,
you should never skip the following attributes from synchronization:
If desired, Resource Updating Agents can be pre-installed using Group Policy or SMS.
This also allows you make sure that you have enough rights over the workstation or
server to perform update and Windows Firewall is turned off on these computers.
1. Stop and disable Collaboration Services in both the source and the target
domains.
60
Best Practices
The Directory Synchronization Agent enables the disabled stub account and creates a
mailbox for it (if configured).
Also note that you need to migrate legacyExchangeDN attribute values of all stub
objects created by Collaboration Services in the source directory to the original objects
in the target directory. Otherwise, migrated users will get a non-delivery report (NDR) if
they reply to an older email for which one of the recipients was Collaboration Services
stub object. There are special custom add-ins for migrating these values. For more
information on these custom add-ins, refer to the Migration after Synchronization—
Using Quest Migration Manager for Exchange and Quest Collaboration Services for
Exchange document.
61
Quest Migration Manager 8.4
Each server allows you to specify the amount of free disk space required for the agents
to run. You can specify a percentage of the total disk space or a particular size. Use
whatever setting you are comfortable with, but it is best to stay on the safe side and
make sure at least 500 MB of free space exists on all servers.
The mail and public folder agents use temporary PSTs to transfer data and a database
for a local cache. Substantial temporary disk space may be required, depending on the
settings used.
Each agent has a log file associated with it. Use each agent’s option to specify the size
at which the log will be archived and compressed.
Migration Manager for Exchange includes the files necessary for creating the installation
package to install the Exchange agents on remote Exchange servers. The package can
be distributed to remote sites on any removable media and local site administrators can
perform installation prior to starting the migration process. The package setup creates
all necessary folders and shares on servers and copies files to required locations.
Before installing the agents, make sure that all servers in your environment meet the
software requirements listed in the Quest Migration Manager—System Requirements
and Access Rights document.
62
Best Practices
The following files are located in the Migration Manager installation folder on the
console computer:
These batch files allow you to create an installation package that can be then distributed
to remote locations without consuming network bandwidth.
These files do not eliminate the need to run the agent installation procedure from the
Migration Manager console. They simply allow the copying of the setup files to the
required location in advance. After the files are copied, you need to finish the agent
installation from the console.
63
Quest Migration Manager 8.4
Directory Synchronization
When you configure the directory synchronization job, you specify the target
administrative group and the information store in which the Directory Synchronization
Agent will create mailboxes. These mailboxes can later be moved by the Mail Target
Agent (MTA) or Calendar Synchronization Agent (CSA) to another information store or
administrative group, as specified in the mailbox or calendar synchronization job.
However, it is recommended that you plan the initial mailbox creation during directory
synchronization in a way that minimizes unnecessary mailbox moves across
administrative groups by the mail and calendar synchronization agents.
Note that mailbox move from one administrative group to another is only possible if the
Exchange organization is running in native mode.
However, note that public folder synchronization is optional and you may skip this
procedure if desired.
64
Best Practices
Jobs
A public folder job is configured between a source and target server pair to synchronize
public folders. The source and target servers for a public folder synchronization job
must have local replicas for all folders to be synchronized.
It is highly recommended that you set up and configure all the public folder
synchronization jobs before actually starting the synchronization process. If any job
requires reconfiguration after it has been started, replication may not run for period of
time and some data might be lost because of incorrect reconfiguration.
The main decision when setting up a job is whether to choose one-way or two-way
synchronization:
1. Two-way synchronization should be set for those folders in which data may
change in either source or target environment. Two-way synchronization of
public folder data and permissions will allow all users to have access to the
up-to-date information they need.
2. One-way synchronization should be used if a folder is updated only in the
source, or for a one-time migration of the folders that change very rarely and
do not require ongoing synchronization. One-way synchronization can be
configured from source to target only.
If after one-way public folder synchronization is started, you decide
to switch it to two-way, the whole public folder content that was
transferred to the target will be transferred back to the source. This
may cause performance degradation in the agents. Therefore, it is
recommended that you do not change the public folder
synchronization direction after synchronization starts.
If you want to migrate your public folders “as is,” you can simply set up one public folder
job with All Public Folders as the root of synchronization. However, it may not be
possible to have replicas of all folders on a single source Exchange server. In this case,
you will have to create several synchronization jobs with different servers as their
sources.
Having multiple jobs running in parallel improves the synchronization speed but
complicates troubleshooting. It is recommended that you minimize the number of jobs
by replicating all source public folders to selected servers. For example, you can use
one source Exchange server in each physical location to have replicas of all public
folders used in this location. These servers will serve as bridgeheads for public folder
synchronization with target Exchange servers.
65
Quest Migration Manager 8.4
When planning public folder synchronization, you should consider that public folders
created by the agents on the target Exchange servers will be owned by the account that
the Public Folder Target Agent uses. It is recommended that this account be mailbox
enabled.
Also, a mailbox must exist on each server participating in public folder synchronization.
The public folder agents use a local mailbox to access the public folder data. You
should create dedicated mailboxes on the servers that host public folders. These
mailboxes should not be included in the mailbox synchronization.
Collections
Public folder collections are used to prioritize public folder synchronization. Normally,
each job has one collection configured and the public folders in these collections will be
synchronized until the end of the migration.
Multiple collections may be associated with each job. Each collection has a priority
number starting from 1, which is the highest priority. The collections are processed by
the agent in sessions according to their priority number. The agents start processing
with the collection that has the highest priority. The collection priority can be changed.
A collection is not processed until all public folders in higher priority collections are in
sync. Therefore, multiple collections should be used with care. If data will be
continuously synchronized and a high-priority collection has its source folders change
frequently, collections with lower priority may not be processed.
Hierarchy Reorganization
Only the default MAPI top level hierarchy in each Exchange organization can participate
in public folder synchronization.
You may want to restructure your target Exchange public folder hierarchy so that it is
different from the existing source Exchange hierarchy, particularly if you are
consolidating Exchange organizations. Migration Manager for Exchange fully supports
migration and restructuring even if your source Exchange public folder hierarchies have
different structures and in the new environment they will be standardized.
You can specify that a source public folder (and, optionally, subfolders) synchronize
with any existing public folder in the target Exchange organization, or you can specify a
new folder in the target Exchange public folder hierarchy with which to synchronize
data. Migration Manager for Exchange will create new public folders in the target
Exchange organization as required.
You can also exclude any folder from a synchronization job (and include it in a job
elsewhere if desired).
Merging Folders
There may be cases where multiple source public folders (from the same or different
Exchange organizations) will be merged into one target public folder. There are
limitations in doing this and the result is that the source public folders will have different
data.
66
Best Practices
When an item is added, moved, or deleted in a source public folder, the corresponding
change will take place in the target public folder. However, none of the other source
public folders will be notified of this change because when the change is made to the
item in the target public folder, it is marked in such a way that it is considered to be up
to date. Similarly, if an item is changed in the target public folder, this change will be
propagated to only one of the source public folders. For this reason, when multiple
folders are merged to one target folder, the synchronization direction should be from
source to target only.
One-Way Sync
Even if only one job is configured to participate in two-way synchronization, that source
public folder will not contain an exact copy of the target public folder. The agent running
on the target is not designed to synchronize back to multiple folders although it can
receive updates from multiple source public folders.
Target public folders may be synchronized with folders from multiple source Exchange
organizations with the limitations stated above. If there are no source public folders to
be merged into the same target folder, then two-way synchronization can be set up
between all organizations without issues. The setup of the synchronization jobs must be
done carefully so that each public folder in the target unambiguously corresponds to
one source public folder.
In order to avoid data loss, public folder synchronization agents do not delete public
folders. Instead, they move deleted folders to a special public folder called Aelita EMW
Recycle Bin. When a public folder is deleted in one of the environments, the public
folder synchronization agents move the corresponding folder in the other environment to
the Recycle Bin. Thus, administrators can verify that no important information has been
deleted and restore any data deleted by mistake.
67
Quest Migration Manager 8.4
Public folder synchronization agents can create the Recycle Bin folder, but it is
recommended that an administrator create and configure this folder manually prior to
starting public folder synchronization. The reasons for this are as follows:
Aelita EMW Recycle Bin must be a top-level folder right under the All Public Folders
node. The agents recognize this folder by name, so if you create it manually, be sure to
type its name correctly.
Resynchronization
In certain situations you may want to resynchronize public folders. However, because
Migration Manager for Exchange uses Exchange replication APIs for public folder
synchronization, resynchronization is not an easy task. Resynchronization that is not
performed properly may interfere with the Exchange public folder replication.
Always contact your migration consultant or technical support specialist before choosing
to do a full resynchronization.
68
Best Practices
Mailbox Synchronization
The following are the important issues to consider when synchronizing mailboxes:
• How many jobs have to be configured and how many agents should be
installed
• How to use collections to map Exchange Migration Wizard configuration to
your migration plans
• What users typically work with offline folder (OST) files
• How to restructure Exchange servers during migration
Synchronization agents work with the Private Information Store locally, so they will be
installed on each server involved in mailbox synchronization (on all source and target
servers). Each agent can participate in multiple synchronization jobs. This allows for
messaging system restructuring, such as splitting or merging servers, as described in
the Restructuring Exchange Servers section below.
Collections
A collection is a group of mailboxes that should be migrated within the same time period
and to the same target mailbox store. Mailboxes can be placed in a collection directly or
though a recipient container or distribution list (DL). Where possible, use containers to
populate collections. This will ensure that the newly-created mailboxes are included in
synchronization automatically.
However, if the mailboxes you plan to synchronize in a Remote Users Collection are in
the same container as normal users’ mailboxes, it is better to use distribution lists to
populate both the Remote Users Collections and normal collections. This will ensure
that mailboxes of the remote users will not be synchronized in normal collections and
vice versa.
Multiple collections may be associated with each job. Each collection has a priority
number starting from 1, which is the highest priority. The collections are processed by
the agent in sessions according to their priority number. The agents start processing
with the collection that has the highest priority. The collection priority can be changed.
69
Quest Migration Manager 8.4
Mailbox synchronization jobs and collections for the entire migration should be set up at
the start of the project. Each collection has settings that control when the mailboxes that
belong to it are synchronized.
If you plan to use one collection for a source server, enable the default All Mailboxes
collection. Otherwise, create and populate collections as appropriate.
The All mailboxes collection cannot be used as a Remote Users Collection. Usually
jobs are split into collections in order to achieve the following goals:
Sept 1, '02 Sept 8, '02 Sept 15, '02 Sept 22, '02 Sept 29, '02 Oc
Collection1
Collection2
Collection3
Start
ASAP
Start
Sept, 22
70
Best Practices
You should add to Remote Users Collections those remote and laptop users who:
• Strongly rely upon their offline folder (OST) files and need them preserved
• Occasionally connect to their Exchange mailboxes using slow links, such as a
dial-up connection, to synchronize mail
• Would be severely affected if the OST file must be rebuilt
You should not add to the Remote Users Collection any user who:
• Normally works online and either does not have an offline folder (OST) file or
does not need it to be preserved
• Has a fast and reliable connection to the Exchange server
• Should not be switched to the target Exchange mailbox automatically
To find out which mailboxes store their offline data in OST files and which do not, you
can use the Quest Offline Folder Wizard. For more information about Quest Offline
Folder Wizard, refer to the Outlook Offline Folders section above.
Considerations
You should also consider the following before adding users to a Remote Users
Collection:
Our testing has shown that the Mail Source Agent can process 26 mailboxes, 150 MB
each, of a Remote Users Collection per hour. However, please note that agent
71
Quest Migration Manager 8.4
performance tightly depends on the server and network capacity, mailbox size, and
many other factors, and therefore these figures are for approximation only.
To add the mailboxes of remote and laptop users to a Remote Users Collection
and start synchronizing the collection, do the following:
1. Determine which users should be added to the Remote Users Collection. For
guidelines, see the Populating Remote Users Collections section.
2. Group the mailboxes of these users in one or several Remote Users
Collections, depending on the optimal collection size you determined through
testing.
3. Make sure the target environment is ready for the new users to log on.
4. Schedule the Mail Source Agent to process the Remote Users Collections for
a time when the users normally do not use their mailboxes. Note that this
schedule will affect the Remote Users Collections only; normal collections are
processed all the time when the agent is scheduled to run.
5. If the MSA is configured to create mailboxes in a mailbox store different from
the store specified for the Directory Synchronization Agent, the MSA will re-
home the mailboxes by modifying some attributes in Active Directory and
process the re-homed mailboxes in its next session. In this case, the changes
made to the attributes in Active Directory must be replicated before the MSA
starts the next session. If the replication latency between Active Directory
domains in the forest is large, it is recommended that you leave the default
sleep interval between sessions for the Mail Source Agent (30 minutes). This
is to ensure that at least one Active Directory replication cycle between the
MSA sessions is completed. Otherwise, the MSA may transfer the mailbox
content to the store that was initially set by the Directory Synchronization
Agent rather than to the store specified in the Remote Users Collection.
During synchronization of a remote user’s mailbox, the Mail Source
Agent removes the corresponding target mailbox (if any) and
recreates it. When the Mail Source Agent logs on to the mailbox in
order to process it, the mailbox becomes unavailable for the user
for the time it is being processed by the agent.
6. Add EMWProf to the logon script of the users whose mailboxes are included in
the Remote Users Collections.
When the time interval specified for the agent to process the Remote Users Collections
is over, check whether the mailboxes of the Remote Users Collections have been
synchronized and switched by the Mail Source Agent. When the users log on, EMWProf
will start updating their profiles, and after update the target mailboxes will become the
active users’ mailboxes.
72
Best Practices
Splitting Servers/Stores
Each job specifies a source-target server pair. This facilitates splitting mailboxes across
multiple servers. Mail agents process jobs one at a time. To migrate from one server to
multiple servers, create separate jobs.
To migrate mailboxes to multiple stores, create separate collections and specify the
appropriate target store in the collection’s properties.
Consolidating Servers
It is simple to consolidate multiple source Exchange servers into one target Exchange
server. Each source-target server pair will have a job. Data received from multiple jobs
is handled in serial by the agent running on the target server, while source mailboxes
are processed in parallel by the multiple agents running on the source servers.
Calendar Synchronization
The following are the important issues to consider when synchronizing calendars and
free/busy data:
• How many jobs have to be configured and where the agents should be
installed
• Whether you need one-way or two-way calendar synchronization
A calendar synchronization job must be populated with the members it will synchronize.
A mailbox can be part of a job directly or though recipient container or distribution list
membership. Whenever possible, use containers to populate jobs. This will ensure that
a newly created mailbox will be included in a calendar synchronization job even if it is
not explicitly added.
However, if the mailboxes you plan to synchronize in a Remote Users Collection are in
the same container as normal users’ mailboxes, it is better to use distribution lists to
73
Quest Migration Manager 8.4
populate both the Remote Users Collections and normal collections. This will ensure
that mailboxes of the remote users will not be synchronized in normal collections and
vice versa.
One-way calendar synchronization means that the calendar entries for each source-
target mailbox pair are synchronized one-way only, from the currently active mailbox to
the other mailbox. An active mailbox is the source user’s Exchange mailbox until the
user is switched. Once switched, the active mailbox is the target user’s Exchange
mailbox. Choose one-way synchronization if mailboxes that collaborate are migrated in
groups such that for each mailbox, all mailboxes it accesses will be switched at the
same time.
Free/Busy Synchronization
Free/busy synchronization is performed by the Free/Busy Synchronization Agent.
While setting up a free/busy synchronization job, you are prompted to install the
Free/Busy Synchronization Agent on either the source or target Exchange server.
Free/busy data resides in a public folder. In this public folder there is one message for
each user that contains that user’s data. When the Calendar Synchronization Agent
synchronizes appointments, the free/busy data is automatically updated.
However, if you migrate users in Remote Users Collections and do not include them in
calendar synchronization, which is recommended, free/busy synchronization will allow
the already migrated users to see free/busy information of the users that are not
migrated yet.
74
Best Practices
You need to synchronize free/busy separately only if either of the following applies:
When set to two-way synchronization, the CSA processes all mailboxes of a server for
about 15–45 minutes, assuming the number of mailboxes is close to the Microsoft
recommendations (approximately 1000 mailboxes per server). If you need to provide
users with more up-to-date free/busy data, use one of the agents per source site to
synchronize free/busy data.
While processing the free/busy synchronization job, the agent synchronizes all the
free/busy messages for all the mailboxes it finds in the organizations selected for
free/busy synchronization. Thus, you normally need only one Free/Busy
Synchronization Agent and on free/busy synchronization job for the pair of source and
target Exchange organizations.
It is important to remember that Migration Manager for Exchange does not enable
multiple source Exchange organizations to have a view of the entire directory (and
associated mailboxes and calendar data). Calendar synchronization will enable all
target Exchange users to view and modify all calendar data. The users connecting to
mailboxes in the source Exchange organizations will continue to have access to
calendar data for users in their organization, whether those users are switched or not.
However, users connecting to the source Exchange organization will not be able to see
calendar detail data for users that were migrated from other source Exchange
organizations.
Mailbox Switch
Switching a mailbox means that all new mail comes to the target Exchange mailbox. A
mailbox should be switched once all data from the source mailbox is migrated to the
target mailbox. You can switch mailboxes automatically or manually, as follows:
75
Quest Migration Manager 8.4
The EMWProf utility can also be configured to send a notification message when it
finishes processing the Outlook profile on a client workstation. You can specify the
administrator’s mailbox to which the messages will be sent. The notification message
that the EMWProf sends includes the update status (succeeded or failed), the computer
name on which the EMWProf was executed, and the EMWProf log file. You can filter
these messages by their status and take action for those with the failed status as soon
as you receive them. For more details on EMWProf's notification capabilities, refer to
the Client Profiles Updating Utility 4.3 for Quest Migration Manager for Exchange and
Quest Exchange Migration Wizard document.
76
Best Practices
Additional planning should also be done to coordinate Exchange 5.5 and Exchange
2000/2003/2007 migration activities, especially if separate migration teams are
responsible for each migration.
77
Quest Migration Manager 8.4
General Recommendations
Preferred Settings for the Directory
Synchronization Agent
It is required that you always specify the preferred domain controller and the preferred
Global Catalog server for each Directory Synchronization Agent, and that these be
located in the same site as the agent. In addition, we recommend that you set the
Directory Synchronization Agent to always use the same domain controller and Global
Catalog in the domain.
This ensures, first of all, that the agents will not work with domain controllers and Global
Catalog servers located in remote sites across WAN links.
Second, the Directory Synchronization Agent uses Microsoft’s Dirsync control to query
for directory changes, and Dirsync’s behavior is not consistent when different domain
controllers are used to query for changed objects. This issue with Dirsync may have an
undesired effect on the Directory Synchronization Agent performing delta sync: if a
domain controller from which the agent used to retrieve information about the objects
modified since the last session becomes unavailable and no preferred domain controller
is set, the agent will be automatically redirected to another domain controller. The new
domain controller may return many more objects (or even all objects from the directory)
as modified, causing the agent to perform unnecessary jobs.
"For incremental searches, the best practice is to bind to the same domain
controller (DC) used in the previous search, that is, the DC that generated the
cookie. If the same DC is unavailable, either wait until it is, or bind to a new
DC and perform a full synchronization. Store the DNS name of the DC in the
secondary storage with the cookie.
Refer to the Quest Migration Manager for Active Directory—User Guide for procedures
on how to configure the preferred settings for the agent.
78
Best Practices
For more information about the service attributes, refer to the Quest Migration Manager
for Active Directory—User Guide.
For more information about Directory Synchronization Agent performance, refer to the
Migration Manager for Active Directory - Improving Directory Synchronization
Performance document available at http://support.quest.com.
However, in certain cases you might consider full resynchronization for a job. These are
described in further detail below.
• Group membership for the groups may not be updated correctly if you have
migrated groups before user accounts are migrated to the target domain (see
the Considerations for Active Directory Migration and Resource Update >
Linked Attributes and Group Migration section above). Running full
resynchronization after all objects are migrated will help resolve all the links.
• If you have modified a directory synchronization job configuration after the job
has already been started, full re-synchronization is required. You will be
prompted by Migration Manager to restart the Directory Synchronization Agent
processing the job. The initial synchronization (full source and target
directories enumeration and synchronization) will take place.
79
Quest Migration Manager 8.4
Conclusion
Active Directory and Exchange migrations are monumental tasks. This is especially true
for large distributed and complex environments. It is essential that a solid discovery and
analysis be completed on the entire enterprise prior to migration. All testing should be
performed in an environment that mirrors the production environment as exactly as
possible.
To make migration easier, first migrate perform Active Directory migration, then ensure
Active Directory is stabilized, and then go forward with the Exchange migration.
Although no two projects are exactly the same, this document outlines some of the key
factors for ensuring a successful Active Directory and Exchange migration.
80
Best Practices
Appendices
Appendix A.
Environment Preparation Checklist
The table below lists the preparation steps for the source and target environment that
must be accomplished before you start the migration process.
You can find the detailed explanations and procedures for each step listed below in the
Quest Migration Manager—Installation Guide. The Quest Migration Manager - System
Requirements and Access Rights document will help you to set the required
permissions for Active Directory and Exchange migration with Migration Manager.
Prepare the source and target environments for Active Installation Guide
Directory migration.
• Establish trusts.
• Disable SID filtering.
• Check host name resolution.
• Verify that the required ports are open on
servers, routers, and firewalls.
Prepare the source and target environment for Exchange Installation Guide
81
Quest Migration Manager 8.4
migration.
• Implement Exchange backup strategy.
• Create "Aelita EMW Recycle Bin" public
folder.
• Create administrative mailboxes.
Connect the source and target Exchange Organizations using Installation Guide
the SMTP connector.
82
Best Practices
Appendix B.
Active Directory Migration without Trusts
This section describes the common issues you may face if you perform an inter-forest
migration using Migration Manager for Active Directory without having trusts
established. In such an environment, the source and target directories are isolated one
from another and there might be no transition period when both source and target
accounts can be used. But the migration can still be performed without critical
restrictions if the accounts are switched correctly.
The following steps should be performed one right after another or during non-business
hours:
Prerequisites
For a successful migration, the computer on which Migration Manager is installed must
belong to the target domain.
83
Quest Migration Manager 8.4
• SIDHistory does not provide the target accounts with access to resources due
to the absence of trust between the source and target domains. It is
recommended to clear the Add SIDHistory check box on the Set Security
Settings step when configuring a migration session to avoid unresolved SIDs
in the target objects’ SIDHistory attribute.
• Copying local/global/universal group membership during migration does not
provide the members of the target local groups with access to the resources
granted to these groups. It is not recommended to select the Add source
members to the corresponding target groups option in the Set Security
Settings step when configuring a migration session to avoid unresolved SIDs
in the opposite domain groups.
When reassigning permissions and group membership to target users and groups with
Resource Updating Manager or one of the processing wizards, select the Leave source
accounts permissions check box to preserve resource access for the source
accounts. This is required since the users continue using their source accounts until
they are completely switched to the target accounts.
After resources are processed and users can access their resources using target
accounts, you can clean up the source accounts’ permissions and disable source
accounts.
84
Best Practices
Appendix C.
Exchange Migration without Trusts
This section describes the common issues you may face if you perform an Exchange
migration using Migration Manager for Exchange without having trusts established. In
such an environment, there are three issues which must be considered during the
planning of Exchange migration as follows:
To configure the Client Profile Updating Utility to process the Microsoft Outlook
profiles if trust relationships are not established between the source and target domains,
perform the following steps:
1. Run the EMWProf Configuration Wizard and follow the wizard steps.
2. On the Select Action page, select the Update option and select either of the
following:
• Select Run EMWProf under Administrative account and click the Settings
button. Then specify credentials for two accounts: one for the source mailbox
and another for the target mailbox.
• Select the Prompt for credentials option in order to force EMWProf to
prompt the credentials when logging on to either of mailboxes.
85
Quest Migration Manager 8.4
86