Log in a node in the primary cluster.
You must be assigned the Geo Management RBAC rights profile to complete this procedure. For more information about RBAC, see Sun Cluster Geographic Edition Software and RBAC.
Add the custom heartbeat plug-in to the default heartbeat.
# geohb add-plugin -p property-setting [-p...] \ plugin-name hb_local-cluster-name-remote-cluster-name |
Sets the properties of the heartbeat plug-in by using a name=statement pair
Specify the path to your custom heartbeat plug-in by using the Query_cmd property.
For more information about the properties you can set, see Appendix A, Standard Sun Cluster Geographic Edition Properties.
Specifies the name of the custom heartbeat plug-in
Specifies the name of the default heartbeat to which you want to add the custom heartbeat plug-in
Verify that your changes were made correctly.
# geoadm status |
Repeat the previous steps on one node of the secondary cluster.
The following example illustrates how to add the custom heartbeat plug-in, command1, to the default heartbeat, hb_cluster-paris~cluster-newyork:
# geohb add-plugin -p query_cmd=/usr/bin/hb command1 \ hb_cluster-paris~cluster-newyork # geoadm status |