Chapter 6. Migrating from Previous Versions804. Make the old Directory Server accessible to the new machine, either through an NFS-mounteddrive or tarball.5. Run the migration script as root. Specify the current physical location of the Directory Server withthe oldsroot parameter and the location on the old machine with the actualsroot parameter.IMPORTANTDo not set up the new Directory Server instances with setup-ds-admin.pl beforerunning the migration script.For example:# /usr/sbin/migrate-ds-admin.pl --oldsroot server2:/migration/opt/redhat-ds --actualsroot /opt/redhat-ds General.ConfigDirectoryAdminPwd=passwordThe 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.6. Migrating a Directory Server from One Platform to AnotherTo migrate a Directory Server installation from one platform to another is similar to migrating fromone machine to another. The difference between a migration between platforms and other migrationscenarios is the information migrated from the old Directory Server. The databases are in anarchitecture-dependent binary format and can be migrated only after they are exported to LDIF. Otherdata, such as the changelog, is not migrated. As explained in Section 6.2.5, “Migrating a DirectoryServer from One Machine to Another”, the migration script uses the actualsroot and oldsrootparameters to migrate across machines and the cross parameter to signal that the migration is cross-platform.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.The command format to move from one platform to another is similar to the following:# /usr/sbin/migrate-ds-admin.pl --cross --oldsroot server2:/migration/opt/redhat-ds --actualsroot /opt/redhat-ds General.ConfigDirectoryAdminPwd=password