此内容没有您所选择的语言版本。
4.10. ePowerSwitch
Table 4.11, “ePowerSwitch” lists the fence device parameters used by
fence_eps
, the fence agent for ePowerSwitch.
luci Field | cluster.conf Attribute | Description |
---|---|---|
Name | name | A name for the ePowerSwitch device connected to the cluster. |
IP Address or Hostname | ipaddr | The IP address or host name assigned to the device. |
Login | login | The login name used to access the device. |
Password | passwd | The password used to authenticate the connection to the device. |
Password Script (optional) | passwd_script | The script that supplies a password for access to the fence device. Using this supersedes the | parameter.
Name of Hidden Page | hidden_page | The name of the hidden page for the device. |
Times to Retry Power On Operation | retry_on | Number of attempts to retry a power on operation. The default value is 1. |
Port (Outlet) Number | port | Physical plug number or name of virtual machine. |
Delay (optional) | delay | The number of seconds to wait before fencing is started. The default value is 0. |
Figure 4.9, “ePowerSwitch” shows the configuration screen for adding an ePowerSwitch fence device.
Figure 4.9. ePowerSwitch
The following command creates a fence device instance for an ePowerSwitch device:
ccs -f cluster.conf --addfencedev epstest1 agent=fence_eps ipaddr=192.168.0.1 login=root passwd=password123 \ hidden_page=hidden.htm
The following is the
cluster.conf
entry for the fence_eps
device:
<fencedevices> <fencedevice agent="fence_eps" hidden_page="hidden.htm" ipaddr="192.168.0.1" login="root" name="epstest1" \ passwd="password123"/> </fencedevices>