162
Appendix B. Basic GFS Examples
6. 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
alpha_cca assembled
pool_gfs01 assembled
pool_gfs02 assembled
n03#
pool_assemble -a
<--
Activate pools
alpha_cca assembled
pool_gfs01 assembled
pool_gfs02 assembled
lcksrv#
pool_assemble -a
<--
Activate pools
alpha_cca assembled
pool_gfs01 assembled
pool_gfs02 assembled
7. Create CCS files.
a. Create a directory called
/root/alpha
on node
n01
as follows:
n01#
mkdir /root/alpha
n01#
cd /root/alpha
b. Create the
cluster.ccs
file. This file contains the name of the cluster and the name of
the nodes where the LOCK_GULM server is run. The file should look like the following:
cluster {
name = "alpha"
lock_gulm {
servers = ["lcksrv"]
}
}
c. Create the
nodes.ccs
file. This file contains the name of each node, its IP address, and
node-specific I/O fencing parameters. The file should look like the following:
nodes {
n01 {
ip_interfaces {
eth0 = "10.0.1.1"
}
fence {
power {
apc {
port = 1
}
}
}
}
n02 {
ip_interfaces {
eth0 = "10.0.1.2"
Summary of Contents for GFS 5.2.1 -
Page 1: ...Red Hat GFS 5 2 1 Administrator s Guide...
Page 8: ......
Page 14: ...vi Introduction...
Page 24: ...10 Chapter 1 GFS Overview...
Page 36: ...22 Chapter 4 Initial Configuration...
Page 84: ...70 Chapter 6 Creating the Cluster Configuration System Files...
Page 96: ...82 Chapter 8 Using Clustering and Locking Systems...
Page 126: ...112 Chapter 10 Using the Fencing System...
Page 132: ...118 Chapter 11 Using GNBD...
Page 144: ...130 Appendix A Upgrading GFS...
Page 184: ...170 Appendix B Basic GFS Examples...
Page 190: ......
Page 192: ...178...