164
Appendix B. Basic GFS Examples
8. 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.
9. 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
lcksrv#
ccsd -d /dev/pool/alpha_cca
10. At the lock server node (
lcksrv
), start the LOCK_GULM server:
lcksrv#
lock_gulmd
Note
The lock server node,
lcksrv
, was specified in the
cluster.ccs
file earlier.
11. Create the GFS file systems.
Create the first file system on
pool_gfs01
and the second on
pool_gfs02
. The names of the
two file systems are
gfs01
and
gfs02
, respectively, as shown in the example:
n01#
gfs_mkfs -p lock_gulm -t alpha:gfs01 -j 3 /dev/pool/pool_gfs01
Device: /dev/pool/pool_gfs01
Blocksize: 4096
Filesystem Size:1963216
Journals: 3
Resource Groups:30
Locking Protocol:lock_gulm
Lock Table: alpha:gfs01
Syncing...
All Done
n01#
gfs_mkfs -p lock_gulm -t alpha:gfs02 -j 3 /dev/pool/pool_gfs02
Device: /dev/pool/pool_gfs02
Blocksize: 4096
Filesystem Size:1963416
Journals: 3
Resource Groups:30
Locking Protocol:lock_gulm
Содержание 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...