White Papers

Dell HPC NFS Storage Solution High Availability Configurations with Large Capacities
69
A.9. Useful commands and references
This section provides several commands for HA cluster configuration, management, and debug, and
also gives the instructions to configure a storage array manually.
A.9.1. Manually modify cluster configuration file
If the /etc/cluster/cluster.conf file is edited manually, make the changes only on one server
and increment the version number field. Use cman_tool command to synchronize the
/etc/cluster/cluster.conf file on both servers.
For example, if there is a requirement to change the service IP for the public network (floating IP that
the clients will use to mount NFS), please follow the instructions below. (Assume that the old IP is
10.10.10.200, and the new IP is 10.10.10.100).
a. On one server, edit /etc/cluster/cluster.conf
b. Locate the old IP in the file, it appears in two places.
<ip address="10.10.10.200" monitor_link="on" sleeptime="10"/>
<ip ref="10.10.10.200"/>
c. Make the change.
<ip address="10.10.10.100" monitor_link="on" sleeptime="10"/>
<ip ref="10.10.10.100"/>
d. Increase the config_version number (gotten from the current
/etc/cluster/cluster.conf) by one. For example, if the current config_version is 16,
change it to 17.
<cluster config_version="17" name="NSS61">
e. Validate the edited configuration file.
# ccs_config_validate
f. If there is no error, on the server, run the following command to synchronize the cluster
configuration file between the two servers.
# cman_tool version r
A.9.2. Manually stop, disable, start and relocate the cluster service
1. Stop cluster service. Assume the service name is HA1.
# clusvcadm s HA1
2. Disable cluster service. Assume the service name is HA1.
# clusvcadm d HA1