52
Chapter 6. Creating the Cluster Configuration System Files
fence_devices {
riloe1 {
agent = "fence_rib"
ipaddr = "10.0.4.1"
login = "admin"
passwd = "password"
}
riloe2 {
agent = "fence_rib"
ipaddr = "10.0.4.2"
login = "admin"
passwd = "password"
}
}
Example 6-10. Two HP-RILOE-Card Fencing Device Named
riloe1
and
riloe2
In this example, two RILOE fencing devices are defined for two nodes.
fence_devices {
admin {
agent = "fence_manual"
}
}
Example 6-11. Manual Fencing Device Named
admin
6.8. Creating the
nodes.ccs
File
The
nodes.ccs
file specifies the nodes that run in a GFS cluster and their fencing methods. The nodes
specified include those that run GFS and those that run LOCK_GULM servers. The
nodes.ccs
file
is used in conjunction with the
fence.ccs
file to configure fencing in a cluster; the
nodes.ccs
file
specifies fencing devices that are defined in the
fence.ccs
file.
Creating the
nodes.ccs
file consists of specifying the identity and fencing method (or methods) of
each node in a GFS cluster. Specifying the identity consists of assigning a name and an IP address
to the node. Specifying a fencing method consists of assigning a name to the fencing method and
specifying its fencing-device parameters; that is, specifying how a node is fenced.
The way in which a fencing method is specified depends on if a node has either dual power supplies or
multiple paths to FC storage. If a node has dual power supplies, then the fencing method for the node
must specify at least two fencing devices — one fencing device for each power supply. Similarly, if a
node has multiple paths to FC storage, then the fencing method for the node must specify one fencing
device for each path to FC storage. For example, if a node has two paths to FC storage, the fencing
method should specify two fencing devices — one for each path to FC storage. If a node has
neither
dual power supplies nor multiple paths to FC storage, then the fencing method for the node should
specify
only one
fencing device.
You can configure a node with one fencing method or multiple fencing methods. When you configure
a node for one fencing method, that is the only fencing method available for fencing that node. When
you configure a node for multiple fencing methods, the fencing methods are
cascaded
from one fenc-
ing method to another according to the order of the fencing methods specified in the
nodes.ccs
file.
If a node fails, it is fenced using the first fencing method specified in the
nodes.ccs
file for that node.
If the first fencing method is not successful, the next fencing method specified for that node is used.
If none of the fencing methods is successful, then fencing starts again with the first fencing method
specified, and continues looping through the fencing methods in the order specified in
nodes.ccs
until the node has been fenced.
Содержание 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...