Chapter 7. Using the Cluster Configuration System
75
7.4.1. Example Procedure
This example procedure shows how to change configuration files in a CCS archive.
1. Extract configuration files from the CCA device into temporary directory
/root/alpha-new/
.
ccs_tool extract /dev/pool/alpha_cca /root/alpha-new/
2. Make changes to the configuration files in
/root/alpha-new/
.
3. Create a new CCS archive on the CCA device by using the
-O
(override) flag to forcibly over-
write the existing CCS archive.
ccs_tool -O create /root/alpha-new/ /dev/pool/alpha_cca
7.5. Alternative Methods to Using a CCA Device
If it is not possible to reserve shared storage for use as a CCA device, you can use two alternative
methods:
•
Section 7.5.1
CCA File and Server
•
Section 7.5.2
Local CCA Files
Neither of these methods requires shared storage to store CCS data.
7.5.1. CCA File and Server
The first alternative to a CCA device is to use a single network server to serve CCS configuration
files to all nodes in the cluster. If used, this CCS server is a single point of failure in a cluster. If a
single (non-redundant) LOCK_GULM server daemon is being used, it would be reasonable to run a
CCS server on the same node as the LOCK_GULM server. The CCS server does not have failover
capabilities.
The CCS server is called
ccs_servd
, it can be run on any node in or out of the cluster. When
CCS daemons (
ccsd
) are started on cluster nodes, the IP address of the node running
ccs_servd
is
specified instead of the name of the CCA device. The name of the cluster is also passed to
ccsd
.
The CCS server does not read CCS files directly; rather, it reads a CCA file that is a local file contain-
ing a CCS archive.
Steps related to CCS in the setup procedure must be modified to use a CCS server in place of a CCA
device.
Note
ccs_servd
provides information to any computer that can connect to it. Therefore,
ccs_servd
should
not be used at sites where untrusted nodes can contact the CCS server.
7.5.1.1. Creating a CCA File
Like a CCA device, a CCA file is created by the
ccs_tool
command from a directory of CCS
configuration files. Instead of specifying a CCA device as the last parameter when creating an archive,
a local file name is specified. The
ccs_tool
command creates the named file, which is the CCA file.
That file should be named
ClusterName
with a
.cca
extension. (
ClusterName
is the user-
supplied variable that specifies the name of the cluster.) The CCA file must be located on the node
that runs
ccs_servd
.
Содержание GFS 5.2.1 -
Страница 1: ...Red Hat GFS 5 2 1 Administrator s Guide...
Страница 8: ......
Страница 14: ...vi Introduction...
Страница 24: ...10 Chapter 1 GFS Overview...
Страница 36: ...22 Chapter 4 Initial Configuration...
Страница 84: ...70 Chapter 6 Creating the Cluster Configuration System Files...
Страница 96: ...82 Chapter 8 Using Clustering and Locking Systems...
Страница 126: ...112 Chapter 10 Using the Fencing System...
Страница 132: ...118 Chapter 11 Using GNBD...
Страница 144: ...130 Appendix A Upgrading GFS...
Страница 184: ...170 Appendix B Basic GFS Examples...
Страница 190: ......
Страница 192: ...178...