Identifying standby-paired HBA ports
Identifying standby-paired HBA ports to the configuration database allows the management console
to apply the following logic when they fail:
•
If one port in a pair fails, do nothing. Traffic will automatically switch to the surviving port, as
configured by the vendor or the software.
•
If both ports in a pair fail, fail over the server’s segments to the standby server.
Use the following command to identify two HBA ports as a standby pair:
<installdirectory>/bin/ibrix_hba -b -P WWPN1:WWPN2 -h HOSTNAME
Enter the WWPN as decimal-delimited pairs of hexadecimal digits. The following command
identifies port 20.00.12.34.56.78.9a.bc as the standby for port 42.00.12.34.56.78.9a.bc for
the HBA on file serving node s1.hp.com:
<installdirectory>/bin/ibrix_hba -b -P 20.00.12.34.56.78.9a.bc:42.00.12.34.56.78.9a.bc
-h s1.hp.com
Turning HBA monitoring on or off
If your cluster uses single-port HBAs, turn on monitoring for all of the ports to set up automated
failover in the event of HBA failure. Use the following command:
<installdirectory>/bin/ibrix_hba -m -h HOSTNAME -p PORT
For example, to turn on HBA monitoring for port 20.00.12.34.56.78.9a.bc on node s1.hp.com:
<installdirectory>/bin/ibrix_hba -m -h s1.hp.com -p 20.00.12.34.56.78.9a.bc
To turn off HBA monitoring for an HBA port, include the
-U
option:
<installdirectory>/bin/ibrix_hba -m -U -h HOSTNAME -p PORT
Deleting standby port pairings
Deleting port pairing information from the configuration database does not remove the standby
pairing of the ports. The standby pairing is either built in by the vendor or implemented by software.
To delete standby-paired HBA ports from the configuration database, enter the following command:
<installdirectory>/bin/ibrix_hba -b -U -P WWPN1:WWPN2 -h HOSTNAME
For example, to delete the pairing of ports 20.00.12.34.56.78.9a.bc and
42.00.12.34.56.78.9a.bc on node s1.hp.com:
<installdirectory>/bin/ibrix_hba -b -U -P 20.00.12.34.56.78.9a.bc:42.00.12.34.56.78.9a.bc
-h s1.hp.com
Deleting HBAs from the configuration database
Before switching an HBA card to a different machine, delete the HBA from the configuration
database. Use the following command:
<installdirectory>/bin/ibrix_hba -d -h HOSTNAME -w WWNN
Displaying HBA information
Use the following command to view information about the HBAs in the cluster. To view information
for all hosts, omit the
-h HOSTLIST
argument.
<installdirectory>/bin/ibrix_hba -l [-h HOSTLIST]
The following table describes the fields in the output.
Description
Field
Server on which the HBA is installed.
Host
This HBA’s WWNN.
Node WWN
This HBA’s WWPN.
Port WWN
32
Configuring failover