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.
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.