42
Chapter 6. Creating the Cluster Configuration System Files
To create the
fence.ccs
file, follow these steps:
1. Create a file named
fence.ccs
. Use a file format according to the fencing method as follows.
Refer to Table 6-2 for syntax description.
•
APC MasterSwitch — Refer to Figure 6-2.
•
WTI NPS (Network Power Switch) — Refer to Figure 6-3.
•
Brocade FC (Fibre Channel) switch — Refer to Figure 6-4.
•
McData FC (Fibre Channel) switch — Refer to Figure 6-5.
•
Vixel FC switch — Refer to Figure 6-6.
•
GNBD — For GNBD
without
GNBD multipath, refer to Figure 6-7. For GNBD
with
GNBD
multipath, refer to Figure 6-8.
•
HP RILOE card — Refer to Figure 6-9.
•
xCAT — Refer to Figure 6-10.
•
Egenera BladeFrame system — Refer to Figure 6-11.
•
Manual — Refer to Figure 6-12.
Warning
Manual fencing should not be used in a production environment. Manual fencing depends
on human intervention whenever a node needs recovery. Cluster operation is halted during
the intervention.
2. Type parameters in the file according to the fencing device (or devices) needed:
a. For each APC MasterSwitch fencing device, specify the following parameters:
DeviceName
, the fencing agent (
agent =
) as
fence_apc
,
IPAddress
,
LoginName
, and
LoginPassword
. Refer to Example 6-2 for a
fence.ccs
file that
specifies an APC MasterSwitch fencing device.
b. For each WTI NPS fencing device, specify the following parameters:
DeviceName
, the
fencing agent (
agent =
) as
fence_wti
,
IPAddress
, and
LoginPassword
. Refer
to Example 6-3 for a
fence.ccs
file that specifies a WTI NPS fencing device.
c. For each Brocade FC-switch fencing device, specify the following parameters:
DeviceName
, the fencing agent (
agent =
) as
fence_brocade
,
IPAddress
,
LoginName
, and
LoginPassword
. Refer to Example 6-4 for a
fence.ccs
file that
specifies a Brocade FC-switch fencing device.
d. For each McData FC-switch fencing device, specify the following parameters:
DeviceName
, the fencing agent (
agent =
) as
fence_mcdata
,
IPAddress
,
LoginName
, and
LoginPassword
. Refer to Example 6-5 for a
fence.ccs
file that
specifies a McData FC-switch fencing device.
e. For each Vixel FC-switch fencing device, specify the following parameters:
DeviceName
, the fencing agent (
agent =
) as
fence_vixel
,
IPAddress
, and
LoginPassword
. Refer to Example 6-6 for a
fence.ccs
file that specifies a Vixel
FC-switch fencing device.
f. For each GNBD fencing device, specify the following parameters:
DeviceName
, the
fencing agent (
agent =
) as
fence_gnbd
, and
ServerName
.
For GNBD multipath, include an
option = "multipath"
line after the
ServerName
line. In addition, for GNBD multipath, you can add two optional lines:
retrys =
"
Number
"
and
wait_time = "
Seconds
"
.
Содержание GFS 6.0 -
Страница 1: ...Red Hat GFS 6 0 Administrator s Guide...
Страница 8: ......
Страница 88: ...74 Chapter 6 Creating the Cluster Configuration System Files...
Страница 98: ...84 Chapter 7 Using the Cluster Configuration System...
Страница 102: ...88 Chapter 8 Using Clustering and Locking Systems...
Страница 128: ...114 Chapter 9 Managing GFS...
Страница 134: ...120 Chapter 10 Using the Fencing System...
Страница 144: ...130 Chapter 12 Using GFS init d Scripts...
Страница 148: ...134 Appendix A Using Red Hat GFS with Red Hat Cluster Suite...
Страница 184: ...170 Appendix C Basic GFS Examples...
Страница 190: ......