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/
Содержание GFS 6.0 -
Страница 1: ...Red Hat GFS 6 0 Administrator s Guide...
Страница 8: ......
Страница 88: ...74 Chapter 6 Creating the Cluster Configuration System Files...
Страница 98: ...84 Chapter 7 Using the Cluster Configuration System...
Страница 102: ...88 Chapter 8 Using Clustering and Locking Systems...
Страница 128: ...114 Chapter 9 Managing GFS...
Страница 134: ...120 Chapter 10 Using the Fencing System...
Страница 144: ...130 Chapter 12 Using GFS init d Scripts...
Страница 148: ...134 Appendix A Using Red Hat GFS with Red Hat Cluster Suite...
Страница 184: ...170 Appendix C Basic GFS Examples...
Страница 190: ......