PreviousNext

Removing a Server Machine from the Network

If you are planning to remove a machine that runs a slave replica from the network or to shut the machine down for an extended period, delete the replica at that site.

If you are removing a node running the master server, you must change the master server site as described previously before you remove the node.

Use the dcecp registry delete command to delete a slave replica. When execute this command, the master performs the following actions:

1. Marks the replica as deleted

2. Propagates the deletion to all replicas on its replica list

3. Delivers the delete request to the replica

4. Removes the replica from its replica list

The following sample command deletes the slave replica named /.../giverny.com/subsys/dce/sec/art_1:

dcecp> registry delete /.../giverny.com/subsys/dce/sec/art_1
dcecp>

When you issue this command, dcecp binds to the master replica that is in the current cell, if necessary; then the master replica instructs the slave replica to delete itself.

To verify that the slave is deleted, issue the dcecp registry catalog command. When the master has received the request to delete the slave, the slave appears on the replica list as marked for deletion. When the replica has actually been deleted, it no longer appears on the list.