Chapter 6. Migrating from Previous Versions784. On the machine where your legacy Directory Server is installed, install the Directory Server 8.1packages.• Make the first migrated master the configuration instance since it is not replicated. Then, registerother master and hub servers with the first master Directory Servers configuration instance.• This instance needs to listen on your standard port, usually 389.5. Run the migration script, as root.IMPORTANTDo not set up the new Directory Server instances with setup-ds-admin.pl beforerunning the migration script.# /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.6. The migration process starts. The legacy Directory Server is migrated, and a new Directory Server8.1 instance is installed using the configuration information from the legacy Directory Server.7. Once the old Directory Server instance is migrated, test replication to make sure it is workingcorrectly.8. After you finish this process for all of the master server, repeat the steps for the hub servers andthen for the replicas.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.5. Migrating a Directory Server from One Machine to AnotherTo migrate a Directory Server installation from one machine to a new Directory Server instance ona new machine of the same platform, run the migration script (migrate-ds-admin) with optionsspecifying the physical, network-accessible old server root directory (oldsroot), such as tarballor network drive, and specifying the actual directory name of the server root on the old machine(actualsroot), such as /opt/redhat-ds. In this case, actualsroot names the original absoluteinstallation directory, which oldsroot gives the path to access that directory.NOTEIf the new machine has a different architecture than the old machine, such as moving fromi386 to x86_64, you must perform a cross platform migration, described in Section 6.2.6,