Demonstrating the HA Application Monitoring API

The sample program enables HA application monitoring and sends a heartbeat every 15 seconds. After the program starts running, typing Ctrl+C displays three choices:
  • s – stop sending heartbeats and exit the program. The virtual machine will reset.
  • d
    – disable application monitoring and exit the program. This does not cause a reset.
  • c
    – continue sending heartbeats.