Appendix B. Basic GFS Examples
141
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
Perform this step each time a node is rebooted; otherwise, the pool devices will not be acces-
sible.
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
lck01#
pool_assemble -a
<--
Activate pools
alpha_cca assembled
pool_gfs01 assembled
pool_gfs02 assembled
lck02#
pool_assemble -a
<--
Activate pools
alpha_cca assembled
pool_gfs01 assembled
pool_gfs02 assembled
lck03#
pool_assemble -a
<--
Activate pools
alpha_cca assembled
pool_gfs01 assembled
pool_gfs02 assembled
Содержание 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...