Migrating Replicated Servers773. On the machine where your legacy Directory Server is installed, install the Directory Server 8.1packages.IMPORTANTDo not set up the new Directory Server instances with setup-ds-admin.pl beforerunning 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.1instance is installed using the configuration information from the legacy Directory Server.IMPORTANTAlways verify the Directory Server configuration after migrating from 7.1 to 8.1. Someconfiguration settings, like passwordMinLength for a global password policy, are notmigrated.Review all policy settings in the new 8.1 instance and make any changes before puttingthe system into production.6.2.4. Migrating Replicated ServersThe process for migrating a replicated system is the same as for a single server, but the order inwhich the Directory Server instances is important to keep from interrupting replication. First migrateall master servers, then all hubs, and then all consumers. If any Directory Server the in replicatedsystem 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 aDirectory Server from One Machine to Another” and Section 6.2.6, “Migrating a Directory Server fromOne Platform to Another”.NOTEOn 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.