8.9. Verifying a Configuration
Once you have created your cluster configuration file, verify that it is running correctly by performing the following steps:
- At each node, restart the cluster software. That action ensures that any configuration additions that are checked only at startup time are included in the running configuration. You can restart the cluster software by running
service cman restart
. For example:Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Run
service clvmd start
, if CLVM is being used to create clustered volumes. For example:service clvmd start
[root@example-01 ~]# service clvmd start Activating VGs: [ OK ]
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Run
service gfs2 start
, if you are using Red Hat GFS2. For example:service gfs2 start
[root@example-01 ~]# service gfs2 start Mounting GFS2 filesystem (/mnt/gfsA): [ OK ] Mounting GFS2 filesystem (/mnt/gfsB): [ OK ]
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Run
service rgmanager start
, if you using high-availability (HA) services. For example:service rgmanager start
[root@example-01 ~]# service rgmanager start Starting Cluster Service Manager: [ OK ]
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - At any cluster node, run
cman_tool nodes
to verify that the nodes are functioning as members in the cluster (signified as "M" in the status column, "Sts"). For example:Copy to Clipboard Copied! Toggle word wrap Toggle overflow - At any node, using the
clustat
utility, verify that the HA services are running as expected. In addition,clustat
displays status of the cluster nodes. For example:Copy to Clipboard Copied! Toggle word wrap Toggle overflow - If the cluster is running as expected, you are done with creating a configuration file. You can manage the cluster with command-line tools described in Chapter 9, Managing Red Hat High Availability Add-On With Command Line Tools.