Chapter 6. Migrating from Previous Versions
76
Server Console are written to
server1
, then replicated over. Modify the Directory 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 Server's values:
vim
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
server2
by editing its
dse.ldif
file and
setting the
nsslapd-pluginEnabled
value to
off
.
vim
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.2.3. Migrating a Server or Single Instance
To 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-ds
General.ConfigDirectoryAdminPwd=password
That command automatically migrates every Directory Server instance configured. To migrate
specific instances, use the
instance
with the
migrate-ds-admin
tool. For example, to migrate
the Directory Server instance named
example
and
example3
, but not
example2
, the migration
command would be as follows:
/usr/sbin/migrate-ds-admin.pl --oldsroot /opt/redhat-ds --instance example --instance example3
General.ConfigDirectoryAdminPwd=password
NOTE
On 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.
Содержание 8.1
Страница 10: ...x ...
Страница 24: ...14 ...
Страница 32: ...22 ...
Страница 60: ...50 ...
Страница 120: ...110 ...