Installation guide
You can start or stop cluster software on a node according to Section 8.1.1, “ Starting Cluster
Software” and Section 8.1.2, “ Stopping Cluster Software” . Starting cluster software on a node
causes it to join the cluster; stopping the cluster software on a node causes it to leave the cluster.
8.1.1. Start ing Clust er Soft ware
To start the cluster software on a node, type the following commands in this order:
1. servi ce cman start
2. service cl vmd start, if CLVM has been used to create clustered volumes
3. service g fs2 start, if you are using Red Hat GFS2
4. servi ce rg manag er start, if you using high-availability (HA) services (rg manager).
For example:
[root@ example-01 ~]# servi ce cman start
Starting cluster:
Checking Network Manager... [ OK ]
Global setup... [ OK ]
Loading kernel modules... [ OK ]
Mounting configfs... [ OK ]
Starting cman... [ OK ]
Waiting for quorum... [ OK ]
Starting fenced... [ OK ]
Starting dlm_controld... [ OK ]
Starting gfs_controld... [ OK ]
Unfencing self... [ OK ]
Joining fence domain... [ OK ]
[root@ example-01 ~]# servi ce cl vmd start
Starting clvmd: [ OK ]
Activating VG(s): 2 logical volume(s) in volume group "vg_example" now
active
[ OK ]
[root@ example-01 ~]# servi ce g fs2 start
Mounting GFS2 filesystem (/mnt/gfsA): [ OK ]
Mounting GFS2 filesystem (/mnt/gfsB): [ OK ]
[root@ example-01 ~]# servi ce rg manager start
Starting Cluster Service Manager: [ OK ]
[root@ example-01 ~]#
8.1.2. Stopping Clust er Soft ware
To stop the cluster software on a node, type the following commands in this order:
1. servi ce rg manag er stop, if you using high-availability (HA) services (rgmanag er).
2. service g fs2 sto p, if you are using Red Hat GFS2
3. umo unt -at g fs2, if you are using Red Hat GFS2 in conjunction with rg manager, to
ensure that any GFS2 files mounted during rg manager startup (but not unmounted during
shutdown) were also unmounted.
4. servi ce cl vmd sto p, if CLVM has been used to create clustered volumes
Chapt er 8 . Managing Red Hat High Availabilit y Add- O n Wit h Command Line T ools
131