Red Hat GFS 6.0 Administrator's Manual page 155

Hide thumbs Also See for GFS 6.0:
Table of Contents

Advertisement

Appendix C. Basic GFS Examples
fence_devices {
apc {
agent = "fence_apc"
ipaddr = "10.0.1.10"
login = "apc"
passwd = "apc"
}
}
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
n01# ccs_tool create /root/alpha /dev/pool/alpha_cca
Initializing device for first time use... done.
7. Start the CCS daemon (
Note
This step must be performed each time the cluster is rebooted.
The CCA device must be specified when starting
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, start the LOCK_GULM server:
n01# lock_gulmd
n02# lock_gulmd
n03# lock_gulmd
9. Create the GFS file systems.
Create the first file system on
two file systems are
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
command to create the archive from the CCS configuration files:
) on all the nodes.
ccsd
pool_gfs01
and
, respectively, as shown in the example:
gfs01
gfs02
.
ccsd
and the second on
pool_gfs02
141
. The names of the

Advertisement

Table of Contents
loading

Table of Contents