136
Appendix B. Basic GFS Examples
d. Create the
fence.ccs
file. This file contains information required for the fencing
method(s) used by the GFS cluster. The file should look like the following:
fence_devices {
apc {
agent = "fence_apc"
ipaddr = "10.0.1.10"
login = "apc"
passwd = "apc"
}
}
e. The GFS license file should have been downloaded with the GFS RPMs. Rename the
license file to
license.ccs
and move it into the CCS directory:
n01#
mv license.ccs /root/alpha
6. Create the CCS Archive on the CCA Device.
Note
This step only needs to be done once and from a single node. It should
not
be performed every
time the cluster is restarted.
Use the
ccs_tool
command to create the archive from the CCS configuration files:
n01#
ccs_tool create /root/alpha /dev/pool/alpha_cca
Initializing device for first time use... done.
7. Start the CCS daemon (
ccsd
) on all the nodes.
Note
This step must be performed each time the cluster is rebooted.
The CCA device must be specified when starting
ccsd
.
n01#
ccsd -d /dev/pool/alpha_cca
n02#
ccsd -d /dev/pool/alpha_cca
n03#
ccsd -d /dev/pool/alpha_cca
8. At each node running the lock server, start the LOCK_GULM server:
n01#
lock_gulmd
n02#
lock_gulmd
n03#
lock_gulmd
Note
The lock server nodes,
n01
,
n02
, and
n03
, were specified in the
cluster.ccs
file earlier.
Содержание 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...