144
Appendix C. Basic GFS Examples
C.2.2. Kernel Modules Loaded
Each node must have the following kernel modules loaded:
•
gfs.o
•
lock_harness.o
•
lock_gulm.o
•
pool.o
C.2.3. Setup Process
The setup process for this example consists of the following steps:
1. Create pool configurations for the two file systems.
Create pool configuration files for each file system’s pool:
pool_gfs01
for the first file system,
and
pool_gfs02
for the second file system. The two files should look like the following:
poolname pool_gfs01
subpools 1
subpool 0 0 1
pooldevice 0 0 /dev/sda2
poolname pool_gfs02
subpools 1
subpool 0 0 1
pooldevice 0 0 /dev/sdb1
2. Create a pool configuration for the CCS data.
Create a pool configuration file for the pool that will be used for CCS data. The pool does not
need to be very large. The name of the pool will be
alpha_cca
. (The name of the cluster,
alpha
, followed by
_cca
). The file should look like the following:
poolname alpha_cca
subpools 1
subpool 0 0 1
pooldevice 0 0 /dev/sda1
3. Use the
pool_tool
command to create all the pools as follows:
n01#
pool_tool -c pool_gfs01.cf pool_gfs02.cf alpha_cca.cf
Pool label written successfully from pool_gfs01.cf
Pool label written successfully from pool_gfs02.cf
Pool label written successfully from alpha_cca.cf
4. Activate the pools on all nodes.
Note
This step must be performed every time a node is rebooted. If it is not, the pool devices will not
be accessible.
Activate the pools using the
pool_assemble -a
command for each node as follows:
n01#
pool_assemble -a
<--
Activate pools
alpha_cca assembled
pool_gfs01 assembled
pool_gfs02 assembled
n02#
pool_assemble -a
<--
Activate pools
Summary of Contents for GFS 6.0 -
Page 1: ...Red Hat GFS 6 0 Administrator s Guide...
Page 8: ......
Page 88: ...74 Chapter 6 Creating the Cluster Configuration System Files...
Page 98: ...84 Chapter 7 Using the Cluster Configuration System...
Page 102: ...88 Chapter 8 Using Clustering and Locking Systems...
Page 128: ...114 Chapter 9 Managing GFS...
Page 134: ...120 Chapter 10 Using the Fencing System...
Page 144: ...130 Chapter 12 Using GFS init d Scripts...
Page 148: ...134 Appendix A Using Red Hat GFS with Red Hat Cluster Suite...
Page 184: ...170 Appendix C Basic GFS Examples...
Page 190: ......