Red Hat GFS 5.2.1 Administrator's Manual page 162

Table of Contents

Advertisement

148
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
, followed by
alpha
poolname alpha_cca
subpools 1
subpool 0 0 1
pooldevice 0 0 /dev/sda1
3. Use the
pool_tool
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
n01# pool_assemble -a
alpha_cca assembled
pool_gfs01 assembled
pool_gfs02 assembled
n02# pool_assemble -a
alpha_cca assembled
pool_gfs01 assembled
pool_gfs02 assembled
n03# pool_assemble -a
alpha_cca assembled
pool_gfs01 assembled
pool_gfs02 assembled
5. Create CCS files.
a. Create a directory called
n01# mkdir /root/alpha
n01# cd /root/alpha
b. Create the
the nodes where the LOCK_GULM server is run. The file should look like the following:
cluster {
name = "alpha"
lock_gulm {
servers = ["n01"]
}
}
). The file should look like the following:
_cca
command to create all the pools as follows:
pool_assemble -a
<-- Activate pools
<-- Activate pools
<-- Activate pools
/root/alpha
file. This file contains the name of the cluster and the name of
cluster.ccs
Appendix B. Basic GFS Examples
alpha_cca
command for each node as follows:
on node
as follows:
n01
. (The name of the cluster,

Advertisement

Table of Contents
loading

Table of Contents