service rgmanager stop.
service gfs stop, if you are using Red Hat GFS.
service clvmd stop, if CLVM has been used to create clustered volumes.
clvmd is already stopped, an error message is displayed:
# service clvmd stop
Stopping clvm: [FAILED]
service clvmd stop after clvmd has stopped.
service fenced stop; service cman stop.
service lock_gulmd stop.
service ccsd stop.
/sbin/chkconfig as follows:
#chkconfig --level 2345 rgmanager off#chkconfig --level 2345 gfs off#chkconfig --level 2345 clvmd off#chkconfig --level 2345 fenced off#chkconfig --level 2345 cman off#chkconfig --level 2345 ccsd off
/etc/cluster/cluster.conf with a text editor.
<gulm> and </gulm> — and their content from /etc/cluster/cluster.conf. GULM is not supported in Red Hat Cluster Suite for RHEL 5. Example E.1, “GULM XML Elements and Content” shows an example of GULM XML elements and content.
<clusternode> element for each node in the configuration file, insert nodeid="number" after name="name". Use a number value unique to that node. Inserting it there follows the format convention of the <clusternode> element in a RHEL 5 cluster configuration file.
nodeid parameter is required in Red Hat Cluster Suite for RHEL 5. The parameter is optional in Red Hat Cluster Suite for RHEL 4. If your configuration file already contains nodeid parameters, skip this step.
/etc/cluster/cluster.conf, save the file and copy it to the other nodes in the cluster (for example, using the scp command).
gfs_tool command with the sb and proto options, specifying lock_dlm for the DLM locking protocol:
gfs_tool sb device proto lock_dlm
#gfs_tool sb /dev/my_vg/gfs1 proto lock_dlmYou shouldn't change any of these values if the filesystem is mounted. Are you sure? [y/n]ycurrent lock protocol name = "lock_gulm" new lock protocol name = "lock_dlm" Done
lvmconf --enable-cluster.
/sbin/chkconfig as follows:
#chkconfig --level 2345 rgmanager on#chkconfig --level 2345 gfs on#chkconfig --level 2345 clvmd on#chkconfig --level 2345 cman on
<gulm> <lockserver name="gulmserver1"/> <lockserver name="gulmserver2"/> <lockserver name="gulmserver3"/> </gulm>