Symantec logo
Defining the remote cluster and heartbeat Cluster Objects

After configuring global clustering, add the remotecluster cluster object to define the IP address of the cluster on the secondary site, and the heartbeat object to define the cluster-to-cluster heartbeat.

Heartbeats monitor the health of remote clusters. VCS can communicate with the remote cluster only after you set up the heartbeat resource on both clusters.

 To define the remote cluster and heartbeat

  1. On the primary site, enable write access to the configuration:

    # haconf -makerw

  2. Define the remotecluster and its virtual IP address.

    In this example, the remote cluster is rac_cluster102 and its IP address is 10.11.10.102:

    # haclus -add rac_cluster102 10.11.10.102

  3. Complete step 1 and step 2 on the secondary site using the name and IP address of the primary cluster.

    In this example, the primary cluster is rac_cluster101 and its IP address is 10.10.10.101:

  4. On the primary site, add the heartbeat object for the cluster.

    In this example, the heartbeat method is ICMP ping.

    # hahb -add Icmp

  5. Define the following attributes for the heartbeat resource:
  6. Save the configuration and change the access to read-only on the local cluster:

    # haconf -dump -makero

  7. Complete step 4 through step 6 on the secondary site using appropriate values to define the cluster on the primary site and its IP as the remote cluster for the secondary cluster.
  8. Verify Clusters status with hastatus -sum command on two systems. And haclus -list should show the two clusters.

    # hastatus -sum

    # haclus -list

    rac_cluster101

    rac_cluster102

    After completing the steps, review the example additions to the main.cf file on the primary site:

    .

    .

    remotecluster rac_cluster102 (

    Cluster Address = "10.11.10.102"

    )

    heartbeat Icmp (

    ClusterList = { rac_cluster102 }

    Arguments @rac_cluster102 = { "10.11.10.102" }

    )

    system galaxy (

    )

    .

    .

    Review the example additions to the main.cf file on the secondary site:

    .

    .

    remotecluster rac_cluster101 (

    Cluster Address = "10.11.10.101"

    )

    heartbeat Icmp (

    ClusterList = { rac_cluster101 }

    Arguments @rac_cluster101 = { "10.11.10.101" }

    )

    system mercury (

    )

    .

    .

See the Veritas Cluster Server User's Guide for details for configuring the required and optional attributes of the heartbeat object.