OSF DCE Administration Guide--Core Components

Troubleshooting Procedures
dcecp> set _s(sec)/.../dublin.com/subsys/dce/sec/lit:
3. Issue the following registry set -slave command to change the chosen master to a
slave:
dcecp> registry set -slave
4. Use the registry show -replica command to verify the change.
40.6 Forcibly Deleting a Slave Replica
The procedure described in this section explains how to forcibly delete a slave replica.
Use this drastic method only when the ordinary method of deletion described in Chapter
37 fails.
To forcibly delete a slave replica, use the dcecp registry delete command with the
-force option. This command deletes the slave replica from the master’s replica list. The
master then propagates the delete request to the other replicas. Since this operation
never communicates with the deleted replica, use the -force option only when the replica
dies and cannot be restarted. If a forcibly deleted replica continues operation, use the
registry delete command with the -only option to stop the server and delete its database.
You can also simply stop secd (by using the dcecp registry stop command) and delete or
rename its database.
To forcibly delete a registry replica, issue the registry delete command with the -force
option, supplying the name of the registry to delete as an argument. The following
sample deletes the replica at /.../giverny.com/subsys/dce/sec/lit_server_2:
dcecp> registry delete /.../giverny.com/subsys/dce/sec/lit_server_2 -force
If the default replica is not the master, dcecp automatically binds to the master.
If a forcibly deleted replica continues operation, use the registry delete command with
the -only option to stop the server and delete its database. When you use the registry
delete -only command, you must enter the name of the replica that you want to stop. The
following example shows the registry delete -only command used to delete the replica
at /.../giverny.com/subsys/dce/sec/lit_server_2:
dcecp> registry delete /.../giverny.com/subsys/dce/sec/lit_server_2 -only
Alternatively, you can simply stop secd (by using the dcecp registry stop command) and
destroy the replica by deleting or renaming its database.
124243 Tandem Computers Incorporated 407