Chapter 7. Using the Cluster Configuration System
77
Note
You can use the
ccsd init.d
script included with GFS to automate starting and stopping
ccsd
. For
more information about GFS
init.d
scripts, refer to Chapter 12
Using GFS
init.d
Scripts
.
7.2.2. Example
In this example, the CCS daemon is started on a cluster node. This command should be run on all
cluster nodes:
ccsd -d /dev/pool/alpha_cca
7.2.3. Comments
The CCS daemon (
ccsd
) uses the Linux raw-device interface to update and read a CCA device di-
rectly, bypassing operating system caches. Caching effects could otherwise create inconsistent views
of the CCA device between cluster nodes.
7.3. Using Other CCS Administrative Options
The following sections detail other administrative functions that can be performed by the
ccs_tool
command.
7.3.1. Extracting Files from a CCS Archive
When extracting original CCS configuration files from a CCS archive, the
ccs_tool extract
com-
mand creates a new directory specified on the command line and recreates the CCS files in the direc-
tory. The CCS archive remains unaffected by this command.
7.3.1.1. Usage
ccs_tool extract
CCADevice Directory
CCADevice
Specifies the name of the CCA device.
Directory
The relative path to the directory containing the CCS files for the cluster.
7.3.1.2. Example
In this example, the CCS files contained on the CCA device,
/dev/pool/alpha_cca
, are extracted
and recreated in directory
/tmp/alpha-bak/
.
ccs_tool extract /dev/pool/alpha_cca /tmp/alpha-bak/
Summary of Contents for GFS 6.0 -
Page 1: ...Red Hat GFS 6 0 Administrator s Guide...
Page 8: ......
Page 88: ...74 Chapter 6 Creating the Cluster Configuration System Files...
Page 98: ...84 Chapter 7 Using the Cluster Configuration System...
Page 102: ...88 Chapter 8 Using Clustering and Locking Systems...
Page 128: ...114 Chapter 9 Managing GFS...
Page 134: ...120 Chapter 10 Using the Fencing System...
Page 144: ...130 Chapter 12 Using GFS init d Scripts...
Page 148: ...134 Appendix A Using Red Hat GFS with Red Hat Cluster Suite...
Page 184: ...170 Appendix C Basic GFS Examples...
Page 190: ......