
72
Chapter 7. Using the Cluster Configuration System
7.1.2. Example
In this example, the name of the cluster is
alpha
, and the name of the pool is
/dev/pool/alpha_cca
. The CCS configuration files in directory
/root/alpha/
are used to
create a CCS archive on the CCA device
/dev/pool/alpha_cca
.
ccs_tool create /root/alpha/ /dev/pool/alpha_cca
7.1.3. Comments
•
The
-O
(override) option can be specified after the command name (
ccs_tool -O create
) to
forcibly write over the current CCA device contents without a prompt.
Warning
Make sure that you specify the right device if you use the override option. Otherwise, data may be
lost.
•
Depending on the size of the device, it may take several seconds to create a CCA device for the first
time due to initialization of the device.
•
The
ccs_tool
command uses the Linux raw-device interface to update and read a CCA device
directly, bypassing operating system caches. Caching effects could otherwise create inconsistent
views of the CCA device between cluster nodes.
7.2. Starting CCS in the Cluster
Once a CCS archive has been created on a CCA device (refer to Section 7.1
Creating a CCS Archive
for details, if necessary), the CCS daemon (
ccsd
) should be started on all cluster nodes. All cluster
nodes must be able to see the CCA device before the daemon is started.
The CCS daemon provides an interface to configuration data that is independent of the specific loca-
tion where the data is stored.
7.2.1. Usage
ccsd -d
CCADevice
CCADevice
Specifies the name of the CCA device.
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
Summary of Contents for GFS 5.2.1 -
Page 1: ...Red Hat GFS 5 2 1 Administrator s Guide...
Page 8: ......
Page 14: ...vi Introduction...
Page 24: ...10 Chapter 1 GFS Overview...
Page 36: ...22 Chapter 4 Initial Configuration...
Page 84: ...70 Chapter 6 Creating the Cluster Configuration System Files...
Page 96: ...82 Chapter 8 Using Clustering and Locking Systems...
Page 126: ...112 Chapter 10 Using the Fencing System...
Page 132: ...118 Chapter 11 Using GNBD...
Page 144: ...130 Appendix A Upgrading GFS...
Page 184: ...170 Appendix B Basic GFS Examples...
Page 190: ......
Page 192: ...178...