
All STONITH plug-ins reside in
/usr/lib/stonith/plugins
on each node.
All STONITH plug-ins look the same to stonithd, but are quite different on the
other side reflecting the nature of the fencing device.
Some plug-ins support more than one device. A typical example is
ipmilan
(or
external/ipmi
) which implements the IPMI protocol and can control any device
which supports this protocol.
8.3 STONITH Configuration
To set up fencing, you need to configure one or more STONITH resources—the stonithd
daemon requires no configuration. All configuration is stored in the CIB. A STONITH
resource is a resource of class
stonith
(see Section 17.1, “Supported Resource Agent
Classes” (page 193)). STONITH resources are a representation of STONITH plug-ins
in the CIB. Apart from the fencing operations, the STONITH resources can be started,
stopped and monitored, just like any other resource. Starting or stopping STONITH
resources means enabling and disabling STONITH in this case. Starting and stopping
are thus only administrative operations, and do not translate to any operation on the
fencing device itself. However, monitoring does translate to device status.
STONITH resources can be configured just like any other resource. For more information
about configuring resources, see Section 4.3, “Creating STONITH Resources” (page 37)
or Section 5.4, “Creating a STONITH Resource” (page 65).
The list of parameters (attributes) depends on the respective STONITH type. To view
a list of parameters for a specific device, use the
stonith
command:
stonith -t
stonith-device-type
-n
For example, to view the parameters for the
ibmhmc
device type, enter the following:
stonith -t ibmhmc -n
To get a short help text for the device, use the
-h
option:
stonith -t
stonith-device-type
-h
84
High Availability Guide
Содержание LINUX ENTERPRISE 11 - HIGH AVAILABILITY
Страница 10: ......
Страница 11: ...Part I Installation and Setup...
Страница 12: ......
Страница 28: ......
Страница 38: ......
Страница 39: ...Part II Configuration and Administration...
Страница 40: ......
Страница 68: ......
Страница 108: ......
Страница 114: ......
Страница 115: ...Part III Storage and Data Replication...
Страница 116: ......
Страница 126: ......
Страница 140: ......
Страница 141: ...Part IV Troubleshooting and Reference...
Страница 142: ......
Страница 148: ......
Страница 166: ...See Also cibadmin 8 page 142 156 High Availability Guide...
Страница 202: ......
Страница 210: ......
Страница 231: ...OCF_RESKEY_arp_mac ARP MAC MAC address to send the ARP packets to For advanced users only HA OCF Agents 221...
Страница 246: ...OCF_RESKEY_nfs_ip IP address The floating IP address used to access the the nfs service 236 High Availability Guide...
Страница 285: ...Part V Appendix...
Страница 286: ......