OSF DCE Administration Guide--Core Components
OSF DCE Administration Guide—Core Components
29.3 Using the sec_admin Program
While the DCE control program includes commands that create and maintain the master
and slave replicas of the registry, the program does not provide functions that are useful
for reconfiguring the replica set in a cell. Reconfiguring the registry replica set in a cell
involves reassigning the roles of the master and the slaves. This reassignment of roles
typically accompanies a change in the operations on one or more of the nodes in the cell.
It becomes desirable for some reason to change the site of the master replica, and the
easiest way to move the master is to swap its role with a slave. The sec_admin program
commands that you use to exchange master and slave replica roles are the become
command and change_master command. The following subsections provide
instructions for starting, stopping, and getting help on the registry editor, and provide
brief descriptions of the become and change_master commands.
29.3.1 Starting, Stopping, and Getting Help
To start the sec_admin program, enter the following command:
$ dceshared/bin/sec_admin
Once invoked, sec_admin enters the interactive mode in which you can execute
commands.
To exit from sec_admin, enter the following command:
sec_admin> quit
To display a list of the sec_admin commands, enter the following command:
sec_admin> help
29.3.2 sec_admin Commands for Reconfiguring Replica Sets
Table 29-3 provides brief descriptions of the sec_admin commands for reconfiguring the
registry’s replica set. Instructions for changing master and slave replica roles can be
found in Chapter 40 of this guide.
TABLE 29-3. sec_admin Commands for Reconfiguring Replica Sets
29 − 6 Tandem Computers Incorporated 124243