HP Cluster Management Utility CMU Installation Guide with Serviceguard Version 4.0 (May 2009)

20
Once you did this copy it to the second server in $SGCONF.
# scp /usr/local/cmcluster/conf/cmu-mgt-clust.config
root@cmumgt2:$SGCONF
NOTE:
You do not strictly need to have the text configuration file on both servers, cmapplyconf
(see next paragraphs) ensures both servers to have the binary copy of the configuration. Having this
duplication may be useful anyway if you want to be able to perform cluster configuration operation
indifferently on oe server or the other.
The command described above generates the cluster configuration script but does not actually
create and start the cluster. This will be done by the commands described in this paragraph.
Execute the commands in this section on the server where you run the cmquerycl command:
CAUTION:
This step has to be performed on only one server.
Check the configuration
# cmcheckconf -C $SGCONF/cmu-mgt-clust.config
Note : a NODE_TIMEOUT value of 2000000 was found in line 124. This
value
is recommended if the top priority is to reform the cluster as fast
as possible in case of failure. If the top priority is to minimize
reformations, consider using a higher setting. For more information
see
the cluster configuration ASCII file or the Managing Serviceguard
manual.
Adding node cmumgt1 to cluster cmucluster
Adding node cmumgt2 to cluster cmucluster
cmcheckconf: Verification completed with no errors found.
Use the cmapplyconf command to apply the configuration.
Apply the configuration
# cmapplyconf -C $SGCONF/cmu-mgt-clust.config
Note : a NODE_TIMEOUT value of 2000000 was found in line 124. This
value
is recommended if the top priority is to reform the cluster as fast
as possible in case of failure. If the top priority is to minimize
reformations, consider using a higher setting. For more information
see
the cluster configuration ASCII file or the Managing Serviceguard
manual.
Adding node cmumgt1 to cluster cmu-mgt-cluster
Adding node cmumgt2 to cluster cmu-mgt-cluster
Completed the cluster creation
View the cluster status
# cmviewcl
CLUSTER STATUS
cmu-mgt-cluster down
NODE STATUS STATE
cmumgt1 down unknown
cmumgt2 down unknown
NOTE:
The cluster status at this stage is “down”. It will be started after the cmu package has
been configured.