4.14. Hewlett-Packard BladeSystem
Table 4.15, “HP BladeSystem (Red Hat Enterprise Linux 6.4 and later)” lists the fence device parameters used by
fence_hpblade
, the fence agent for HP BladeSystem.
luci Field | cluster.conf Attribute | Description |
---|---|---|
Name | name | The name assigned to the HP Bladesystem device connected to the cluster. |
IP Address or Hostname | ipaddr | The IP address or host name assigned to the HP BladeSystem device. |
IP Port (optional) | ipport | The TCP port to use to connect to the device. |
Login | login | The login name used to access the HP BladeSystem device. This parameter is required. |
Password | passwd | The password used to authenticate the connection to the fence device. |
Password Script (optional) | passwd_script | The script that supplies a password for access to the fence device. Using this supersedes the | parameter.
Force Command Prompt | cmd_prompt | The command prompt to use. The default value is '\$'. |
Missing port returns OFF instead of failure | missing_as_off | Missing port returns OFF instead of failure. |
Power Wait (seconds) | power_wait | Number of seconds to wait after issuing a power off or power on command. |
Power Timeout (seconds) | power_timeout | Number of seconds to continue testing for a status change after issuing a power off or power on command. The default value is 20. |
Shell Timeout (seconds) | shell_timeout | Number of seconds to wait for a command prompt after issuing a command. The default value is 3. |
Login Timeout (seconds) | login_timeout | Number of seconds to wait for a command prompt after login. The default value is 5. |
Times to Retry Power On Operation | retry_on | Number of attempts to retry a power on operation. The default value is 1. |
Use SSH | secure | Indicates that the system will use SSH to access the device. When using SSH, you must specify either a password, a password script, or an identity file. |
SSH Options | ssh_options | SSH options to use. The default value is -1 -c blowfish . |
Path to SSH Identity File | identity_file | The identity file for SSH. |
Figure 4.11, “HP BladeSystem” shows the configuration screen for adding an HP BladeSystem fence device.
Figure 4.11. HP BladeSystem
The following command creates a fence device instance for a BladeSystem device:
ccs -f cluster.conf --addfencedev hpbladetest1 agent=fence_hpblade cmd_prompt=c7000oa> ipaddr=192.168.0.1 \ login=root passwd=password123 missing_as_off=on power_wait=60
The following is the
cluster.conf
entry for the fence_hpblade
device:
<fencedevices> <fencedevice agent="fence_hpblade" cmd_prompt="c7000oa>" ipaddr="hpbladeaddr" ipport="13456" \ login="root" missing_as_off="on" name="hpbladetest1" passwd="password123" passwd_script="hpbladepwscr" \ power_wait="60"/> </fencedevices>