
Hbaping directives are given to declare fiber channel devices as PingNode[1]s to Heartbeat[2].
The syntax of the hbaping directive is simple:
hbaping fc-card-name
The fc-card-name is the name obtained from the hbaapitest program that is part of the hbaapi package mentioned below. Running hbaapitest will produce verbose output. One of the first lines is similar to:
Adapter number 0 is named: qlogic-qla2200-0
Here fc-card-name is qlogic-qla2200-0.
This directive is not normally enabled in distributed versions of the Linux-HA software. To enable this directive, follow these steps:
Obtain the source to the HBAAPI libary from http://hbaapi.sourceforge.net[3],
Compile it (Unfortunately the Makefile included in the tarball does not work in linux. You can download the Makefile for linux here[4])
Copy the libHBAAPI.so file it produced into /usr/lib,
Copy the hbaapi.h file from the package to /usr/include,
configure and compile Heartbeat from same-version source, and manually copy only the hbaping.so file to /usr/lib/heartbeat/plugins/HBcomm.
| [1] | http://www.linux-ha.org/PingNode |
| [2] | http://www.linux-ha.org/HeartbeatProgram |
| [3] | http://hbaapi.sourceforge.net |
| [4] | http://www.linux-ha.org/_cache/ha.cf_HbapingDirective__Makefile |
This information provided courtesy of the Linux-HA project at http://linux-ha.org/