Linux-HA Logo

BasicSanityCheck - verify basic Linux-HA sanity

The BasicSanityCheck program is designed to be easy to use, and quick to execute.

It runs on any single machine, and completes in approximately one minute.

It runs heartbeat through a few of its most common and important paths of execution.

In addition, it also separately tests the functioning of various important libraries which are part of heartbeat[1].

It is completely automated, and reports success or failure at the end. Output from a typical success run is shown below:

# /usr/lib/heartbeat/BasicSanityCheck
Starting heartbeat
Starting High-Availability services:   done
Reloading heartbeat
Reloading heartbeat
Stopping heartbeat
Stopping High-Availability services:   done
Checking STONITH basic sanity.
Performing apphbd success case tests
Performing apphbd failure case tests
Starting IPC tests
0 errors. Log file is stored in /tmp/linux-ha.testlog

It is an important part of the Linux-HA test plan[2].

See Also

cts[3]


References

[1]http://www.linux-ha.org/HeartbeatProgram
[2]http://www.linux-ha.org/DevCorner/TestPlan
[3]http://www.linux-ha.org/cts


This information provided courtesy of the Linux-HA project at http://linux-ha.org/