OSF DCE Administration Guide--Core Components
OSF DCE Administration Guide—Core Components
command can cause data to be lost, use it only when the current master has been
destroyed. It is not recommended in instances when the master is unreachable because of
a network failure or because the master has gone down temporarily. See Chapter 40 for
more information on the dcecp registry set -master command.
Follow these steps to change the site of a master replica:
1. Choose the new master site. A slave replica must exist at this site. If necessary,
use the dce_config command or your platform’s equivalent to configure a slave
machine.
2. Issue the set command to set the default replica to the current master replica. In
the following example, the master replica is set to the replica named master in the
cell giverny.com:
dcecp> set _s(sec) /.../giverny.com/subsys/dce/sec/master
3. Issue the registry set command to reverse the roles of the master and slave. This
command takes the name of the replica to be made the new master as an argument.
The following example makes the replica named
/.../giverny.com/subsys/dce/sec/music the new master:
dcecp> registry set /.../giverny.com/subsys/dce/sec/music
4. Verify that the master site changed. Do this by issuing the registry catalog
command.
37.2 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
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.
37 − 2 Tandem Computers Incorporated 124243