Go to main content

Administering the Disaster Recovery Framework for Oracle® Solaris Cluster 4.4

Exit Print View

Updated: June 2019
 
 

Creating a Heartbeat

This section describes procedures for creating heartbeats.

How to Create a Heartbeat

Use this procedure to create a new heartbeat. To use the heartbeat with a partnership, you must create the heartbeat before you create a partnership. If you create a partnership before you create the custom heartbeat, the default heartbeat that is used by the partnership will prevent the custom heartbeat from being created.

If you create a custom heartbeat, you must add at least one plug-in to prevent the partnership from remaining in degraded mode.

A custom heartbeat prevents the default heartbeat from being used during partnership creation. If you want to use the default heartbeat for your partnership, you must delete the custom heartbeat before running the geops create command.

  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. Create the heartbeat.
    # geohb create -r remote-partner-cluster-name \
    [-p property-setting [-p…]] heartbeat-name
    –r remote-partner-cluster-name

    Specifies the name of the remote, secondary partner cluster.

    –p property-setting

    Specifies a heartbeat 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.

    heartbeat-name

    Specifies an identifier for the heartbeat.

    If you create a custom heartbeat, you must add at least one plug-in to prevent the partnership from remaining in degraded mode.


    Caution

    Caution  -  The name of the custom heartbeat on each cluster in the same partnership must be different. Choose a name that identifies the heartbeat uniquely, such as paris-to-newyork on the cluster cluster-paris and newyork-to-paris on cluster cluster-newyork.


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

Example 9  Creating a Heartbeat

This example creates a heartbeat that is named paris-to-newyork.

# geohb create -r cluster-newyork paris-to-newyork