OSF DCE Administration Guide--Core Components
OSF DCE Administration Guide—Core Components
40.4 Recovering Slave Replicas
Because slave replicas are not backed up, you must recreate a replica to restore a replica
that is corrupted. To do so, use the following procedure:
1. Use standard UNIX commands to manually delete the replica’s database files and
master key file. To do this, delete all the files in
/opt/dcelocal/var/security/rgy_data, as well as the file in
/opt/dcelocal/var/security/.mkey.
2. Use the set _s(sec) command to bind to the master and then the dcecp registry
delete -force command to delete the replica from the master’s replica list. The
following commands first bind to the master
/.../musee.com/subsys/dce/sec/master and then delete the replica
/.../musee.com/subsys/dce/sec/art.
dcecp> set _s(sec) /.../musee.com/subsys/dce/sec/master
dcecp> registry delete /.../musee.com/subsys/dce/sec/art -force
3. Use standard UNIX commands to copy the file /opt/dcelocal/etc/security/pe_site
from the machine running the master to the machine that will run the replica.
4. Use /etc/dce_config (or your provider’s equivalent) on the replica machine to do
the following:
a. Stop DCE daemons.
b. Start DCE daemons.
c. Configure a security server replica. This configuration creates the replica’s
database and starts secd.
5. When you configure the replica in the previous step, you assign it a name. If you
did not give this replica the same name that it previously had, the old name must
be deleted from CDS by performing the following steps:
a. Deleting the replica’s server entry name from /.:/subsys/dce/sec
b. Deleting the replica’s name from the CDS group /.:/sec
40.5 Turning a Master into a Slave
Use this procedure to turn a master replica into a slave. Use this procedure only if you
have more than one master running on your network or the Internet, which is a highly
unusual condition.
1. Choose the master replica that will become a slave.
2. If necessary, issue the dcecp set _s(sec) command to to set the chosen master to
the default host. The following example sets the default host to
/.../dublin.com/subsys/dce/sec/lit:
40 −6 Tandem Computers Incorporated 124243