Go to main content

Oracle® Solaris Cluster 4.3 Geographic Edition System Administration Guide

Exit Print View

Updated: June 2017
 
 

How to Create a Custom Heartbeat

Follow this procedure to create a custom heartbeat.

Before You Begin

  1. Log in to a cluster node.
  2. Create the heartbeat.
    # geohb create -r remote-partner-cluster-name \
    [-p property-setting [-p…]] new-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 Geographic Edition Properties.

    new-heartbeat-name

    Specifies an identifier for the new custom heartbeat.


    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.


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

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

Example 8  Creating a Custom Heartbeat

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

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