Chapter 6. Migrating from Previous Versions76Server Console are written to server1, then replicated over. Modify the Directory Server Console onthe second server (server2) so that it writes its own Console instance instead of server1's.1. Shut down the Administration Server and Directory Server.2. Change the adm.conf file for the Administration Server to reflect server2 Directory Serversvalues:ldapurl: ldap://server2.example.com:389/o=NetscapeRoot3. Change the dse.ldif for the Directory Server to reflect server2 Directory Server's values:vim serverRoot/slapd-serverID/config/dse.ldifnsslapd-pluginarg0: ldap:///server2.example.com:389/o=NetscapeRoot4. Turn off the Pass-through Authentication Plug-in on server2 by editing its dse.ldif file andsetting the nsslapd-pluginEnabled value to off.vim serverRoot/slapd-serverID/config/dse.ldifdn: cn=Pass Through Authentication,cn=plugins,cn=confignsslapd-pluginEnabled: off5. Restart the Directory Server and Administration Server.6.2.3. Migrating a Server or Single InstanceTo migrate a Directory Server installation to a new one on the same machine, run the migration script,specifying the old server root directory:/usr/sbin/migrate-ds-admin.pl --oldsroot /opt/redhat-dsGeneral.ConfigDirectoryAdminPwd=passwordThat command automatically migrates every Directory Server instance configured. To migratespecific instances, use the instance with the migrate-ds-admin tool. For example, to migratethe Directory Server instance named example and example3, but not example2, the migrationcommand would be as follows:/usr/sbin/migrate-ds-admin.pl --oldsroot /opt/redhat-ds --instance example --instance example3General.ConfigDirectoryAdminPwd=passwordNOTEOn 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.1. Stop all old Directory Server instances and the Administration Server.2. Back up all the Directory Server user and configuration data.