Go to main content

Administering the Disaster Recovery Framework for Oracle® Solaris Cluster 4.4

Exit Print View

Updated: June 2019
 
 

Creating a Heartbeat Plug-in

This section describes procedures for creating a heartbeat plug-in.

How to Create Heartbeat Plug-in

  1. Log in to a cluster node.

    You must be assigned the Geo Management rights profile to complete this procedure. For more information, see Disaster Recovery Framework Rights Profiles in Installing and Configuring the Disaster Recovery Framework for Oracle Solaris Cluster 4.4.

  2. Add the heartbeat plug-in to an existing heartbeat.
    # geohb add-plugin heartbeat-name plug-in-name [-p property-setting [-p…]] 
    heartbeat-name

    Specifies the identifier for heartbeat on the local cluster.

    plug-in-name

    Specifies the name of the heartbeat plug-in.

    –p property-setting

    Specifies a heartbeat plug-in property that is assigned a value by using a name=statement pair. Multiple properties might be set at one time by using multiple statements.

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

    For more information about the geohb command, refer to the geohb(8) man page.

Example 10  Creating a Heartbeat Plug-in

This example creates a heartbeat plug-in that is named command1.

# geohb add-plugin paris-to-newyork command1 -p Query_cmd=/usr/bin/hb/