Migrating Security Settings Manually
When you migrate an instance manually, the order in which you perform the migration of the
security and the migration of the configuration is different to when you migrate using
dsmig
. If
you migrate the security settings by replacing the default Directory Server 6.0 certificate and key
databases wit the old databases, as described in this section, you
must
migrate the configuration
first.
To migrate the security settings manually, perform the following steps:
1. If you have already started using the new instance, stop the instance.
2. Back up the certificate database and key database files on the new instance.
3. Copy the certificate database and key database files from the existing instance to the new
instance.
$ cp
serverRoot
/alias/slapd-
serverID
-cert8.db
instance-path
/alias/slapd-cert8db
$ cp
serverRoot
/alias/slapd-
serverID
-key3.db
instance-path
/alias/slapd-key3.db
For 5.1 servers and earlier releases of 5.2 servers, the certificate database to be copied is
serverRoot
/alias/slapd-
serverID
-cert7.db
.
4. Copy the password file from the existing instance to the new instance.
$ cp
serverRoot
/alias/slapd-
serverID
-pin.txt
instance-path
/alias/slapd-pin.txt
5. Update the certificate database password.
$ dsadm set-flags
instance-path
cert-pwd-prompt=on
6. Copy the certificate mapping file from the existing instance to the new instance.
$ cp
serverRoot
/shared/config/certmap.conf
instance-path
/alias/certmap.conf
7. If the existing instance uses an external security token, copy the security module database
and the external token library to the new instance.
$ cp
serverRoot
/alias/secmod.db
instance-path
/alias/secmod.db
8. Start the new instance.
The security configuration attributes are migrated when you migrate the rest of the
configuration attributes. In this sense, migration of the security settings is not complete until
you have migrated the configuration. Migration of the configuration is described in the
following section.
Migrating Security Settings Manually
Sun Java System Directory Server Enterprise Edition 6.0 Migration Guide • March 2007
48
Sun Confidential: Registered
Содержание Sun Java System Directory Server Enterprise Edition 6.0
Страница 7: ...Index 145 Contents 7 Sun Confidential Registered...
Страница 8: ...8 Sun Confidential Registered...
Страница 10: ...10 Sun Confidential Registered...
Страница 13: ...Examples EXAMPLE 7 1 Sample Export Configuration File 109 13 Sun Confidential Registered...
Страница 14: ...14 Sun Confidential Registered...
Страница 36: ...36 Sun Confidential Registered...
Страница 68: ...68 Sun Confidential Registered...