HP-UX Directory Server 8.1 installation guide
Server Console on the 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
Servers values:
ldapurl: ldap://server2.example.com:389/o=NetscapeRoot
3. Change the dse.ldif for the Directory Server to reflect server2 Directory Servers values:
serverRoot/slapd-serverID/config/dse.ldif:nsslapd-pluginarg0:
ldap:///server2.example.com:389/o=NetscapeRoot
4. Turn off the Pass-through Authentication Plug-in on server2by editing its dse.ldif file
and setting the nsslapd-pluginEnabled value to off.
serverRoot/slapd-serverID/config/dse.ldif
dn: cn=Pass Through Authentication,cn=plugins,cn=config
nsslapd-pluginEnabled: off
5. Restart the Directory Server and Administration Server.
6.1.2 Migration script
Migration is performed with the migration script,
/opt/dirsrv/sbin/migrate-ds-admin.pl. This script has flexible options that allow a
variety of different migration scenarios. Table 6-1 lists the options and arguments for this
executable script.
Table 6-1 migrate-ds-admin Options and Argument
DescriptionAlternate
options
Option or argument
Specify the path to the server root directory in the legacy
Directory Server installation. The default path in 7.x servers
is /var/opt/netscape/server7, and the default path in
6.x servers is /var/opt/netscape/servers.
IMPORTANT: This is a required option.
-o(Required) --oldsroot
When migrating between two machines, and the current
server root directory in the old 6.x or 7.x Directory Server
installation is mounted on a networked drive, or tarballed
and moved to a relative directory, use this to specify the
original path to that directory. The oldsroot parameter sets
the directory from which the migration is run (such as
machine_new:/migrate/server7), while the
actualsroot parameter sets the server root, (/var/opt/
netscape/server7).
-a(Optional) --actualsroot
This parameter specifies a specific instance to migrate. This
parameter can be used multiple times to migrate several
instances simultaneously. By default, the migration script
migrates all Directory Server instances on the machine.
-i(Optional) --instance
This sets the path and name of a setup file provided with the
migration script. The migration script uses the parameters
defined in the file. The only valid parameter is the
General.ConfigDirectoryAdminPwd parameter, which
is the configuration directory administrator's password.
-f name(Optional) --file=name
48 Migrating or upgrading to HP-UX Directory Server from Netscape or Red Hat Directory Server