Go to main content

Administering the Disaster Recovery Framework for Oracle® Solaris Cluster 4.4

Exit Print View

Updated: June 2019

Creating a Custom Heartbeat Plug-in

When a heartbeat is created, your custom heartbeat plug-in is passed the following arguments by the disaster recovery framework:


The value of the Query-interval property, which defines the delay in seconds after which a heartbeat status request is declared a failure.


The mode for the plug-in startup, either Normal or Emergency.


The value of the Plugin-properties property that is configured for the heartbeat plug-in, if any.

For more information about the properties you can set, see Standard Disaster Recovery Framework Properties.

Your custom heartbeat plug-in is expected to check the heartbeat on the secondary cluster and return one of the following exit values:

  • Zero, if successful – Indicates that the secondary cluster is alive

  • Nonzero, on failure – Indicates that the secondary cluster did not respond to the heartbeat check