Appendix C. Basic GFS Examples
159
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
Blocksize: 4096
Filesystem Size:1963416
Journals: 3
Resource Groups:30
Locking Protocol:lock_gulm
Lock Table: alpha:gfs02
Syncing...
All Done
10. Mount the GFS file systems on all the nodes.
Mount points
/gfs01
and
/gfs02
are used on each node:
n01#
mount -t gfs /dev/pool/pool_gfs01 /gfs01
n01#
mount -t gfs /dev/pool/pool_gfs02 /gfs02
n02#
mount -t gfs /dev/pool/pool_gfs01 /gfs01
n02#
mount -t gfs /dev/pool/pool_gfs02 /gfs02
n03#
mount -t gfs /dev/pool/pool_gfs01 /gfs01
n03#
mount -t gfs /dev/pool/pool_gfs02 /gfs02
C.5. LOCK_GULM, SLM External, and GNBD
This example configures a cluster with three GFS nodes and two GFS file systems. It will require three
nodes for the GFS cluster, one node to run a LOCK_GULM server, and another node for a GNBD
server. (A total of five nodes are required in this example.)
This section provides the following information about the example:
•
Section C.5.1
Key Characteristics
•
Section C.5.2
Kernel Modules Loaded
•
Section C.5.3
Setup Process
C.5.1. Key Characteristics
This example configuration has the following key characteristics:
•
Fencing device — An APC MasterSwitch (single-switch configuration). Refer to Table C-15 for
switch information.
•
Number of GFS nodes — 3. Refer to Table C-16 for node information.
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: ......