Examples
1. The following example invokes sec_admin and uses the lrep subcommand to list replicas on the replica list and their states:
/opt/dcelocal/bin/sec_admin Default replica: /.../dresden.com/subsys/dce/sec/rs_server_250_2 Default cell: /.../dresden.com
sec_admin> lrep -st Replicas in cell /.../dresden.com (master) subsys/dce/sec/master state: in service
Last update received at: 1993/11/16.12:46:59 Last updates seqno: 0.3bc subsys/dce/sec/rs_server_250_2
state: in service Last update received at: 1993/11/16.12:46:59 Last updates seqno: 0.3bc
subsys/dce/sec/rs_server_250_3 state: in service Last update received at: 1993/11/16.12:46:59 Last updates seqno:
0.3bc sec_admin>
2. The following example sets the default replica to the master in the local cell:
sec_admin> site /.: -u Default replica: /.../dresden.com/subsys/dce/sec/master Default cell: /.../dresden.com sec_admin>
|