此内容没有您所选择的语言版本。
4.5. Cisco UCS
Table 4.6, “Cisco UCS” lists the fence device parameters used by
fence_cisco_ucs
, the fence agent for Cisco UCS.
luci Field | cluster.conf Attribute | Description |
---|---|---|
Name | name | A name for the Cisco UCS device. |
IP Address or Hostname | ipaddr | The IP address or host name assigned to the device. |
IP port (optional) | ipport | The TCP port to use to connect 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.
Use SSL | ssl | Use SSL connections to communicate with the device. |
Sub-Organization | suborg | Additional path needed to access suborganization. |
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. |
Port (Outlet) Number | port | Name of virtual machine. |
Delay (optional) | delay | The number of seconds to wait before fencing is started. The default value is 0. |
Figure 4.5, “Cisco UCS” shows the configuration screen for adding a Cisco UCS fence device.
Figure 4.5. Cisco UCS
The following command creates a fence device instance for a Cisco UCS device:
ccs -f cluster.conf --addfencedev ucs agent=fence_cisco_ucs ipaddr=192.168.0.1 login=root passwd=password123 \ suborg=/org-RHEL/org-Fence/
The following is an example
cluster.conf
entry for the fence_cisco_ucs
device as created using either Conga or ccs
:
<fencedevices> <fencedevice agent="fence_cisco_ucs" ipaddr="192.168.0.1" login="root" name="ciscoucstest1" \ passwd="password123" power_wait="60" ssl="on" suborg="/org-RHEL/org-Fence/"/> </fencedevices>