Migrating Replicated Servers
77
3. On the machine where your legacy Directory Server is installed, install the Directory Server 8.1
packages.
IMPORTANT
Do
not
set up the new Directory Server instances with
setup-ds-admin.pl
before
running the migration script.
4. Run the migration script, as
root
.
# /usr/sbin/migrate-ds-admin.pl --oldsroot /opt/redhat-ds/
General.ConfigDirectoryAdminPwd=password
/opt/redhat-ds/
is the directory where the old Directory Server is installed.
The migration process starts. The legacy Directory Server is migrated, and a new Directory Server 8.1
instance is installed using the configuration information from the legacy Directory Server.
IMPORTANT
Always
verify the Directory Server configuration after migrating from 7.1 to 8.1. Some
configuration settings, like
passwordMinLength
for a global password policy, are not
migrated.
Review all policy settings in the new 8.1 instance and make any changes before putting
the system into production.
6.2.4. Migrating Replicated Servers
The process for migrating a replicated system is the same as for a single server, but the order in
which the Directory Server instances is important to keep from interrupting replication. First migrate
all master servers, then all hubs, and then all consumers. If any Directory Server the in replicated
system will be moved to a different machine or a different platform, use the
--actualsroot
and
--cross
parameters with
migrate-ds-admin.pl
, as described in
Section 6.2.5, “Migrating a
Directory Server from One Machine to Another”
and
Section 6.2.6, “Migrating a Directory Server from
One Platform to Another”
.
NOTE
On Red Hat Enterprise Linux 5 (32-bit) machines, the
migrate-ds-admin
tool is in the
/usr/sbin
directory. On HP-UX machines, the
migrate-ds-admin
is in the
/opt/
dirsrv/sbin/
directory.
To migrate a replicated site, do the following:
1. Stop all old Directory Server instances and the Administration Server.
2. Back up all the Directory Server user and configuration data.
3. Stop directory writes to the master or hub server being migrated.