Follow this procedure for initializing the alternate master
from the command line.
In this scenario, master A is already configured as a
NIM master, and master B will be initialized as an alternate master.
- Insert the AIX® Volume
1 media into the appropriate drive of the designated alternate
master system (master B).
- To install the bos.sysmgt.nim.master fileset
from the disk, enter the following command on the master B system.
# installp -agXd /dev/cd0 bos.sysmgt.nim.master
- To initialize the alternate master (master B) with master
A, enter the following command on the master B system.
# niminit -a is_alternate=yes -a attr1=value1 \
-a attr2=value2 \
...
Assume the following data to initialize the alternate
master (master B) with the existing NIM master (master A) :
alternate master host name = masterb
master host name with which to register = mastera
primary network interface = en0
cable type = N/A
platform = chrp
With the previous assumptions, enter
the following command on master B system:
# niminit -a is_alternate=yes -a master=mastera -a pif_name=en0 \
-a cable_type1=N/A -a platform=chrp -a name=masterb
For
additional attribute information, see the niminit command.
- Register master A with master B by using the niminit command.
For example, enter the following command on the master A system:
# niminit -a is_alternate=yes -a master=masterb -a pif_name=en0 \
-a cable_type1=N/A -a platform=chrp -a name=mastera