Synchronizing the alternate master's NIM database from the command line

Follow this procedure to synchronize the alternate master's NIM database from the command line.

To synchronize master B's database with master A's, enter the following on master A:
# nim -o sync masterb
To synchronize master B's database with master A's, and also to replicate the resources served by master A:
# nim -o sync -a replicate=yes masterb
To synchronize master B's database with master A's, replicate the resources served by master A, and rebuild the NIM clients list in /etc/niminfo to be aware of the alternate master:
# nim -o sync -a replicate=yes -a reset_clients=yes masterb 
Notes:
  • You must use the force option to overwrite the existing database that was created by the niminit command.
  • Resources are replicated only if they are not present in the appropriate file system locations of the alternate master.
For example:
# nim -Fo sync masterb
The replicate option can be used along with the force option. For example:
# nim -Fo sync -a replicate=yes masterb
The reset_clients option can be used along with the force option. For example:
# nim -Fo sync -a reset_clients=yes masterb