Skip Navigation Links
Exit Print View
| Oracle Solaris Cluster Geographic Edition System Administration Guide Oracle Solaris Cluster 4.1

Search Scope:

- This Document
- Entire Library

## 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 RBAC rights profile to complete this procedure. For more information about RBAC, see Geographic Edition Software and RBAC.

2. Add the heartbeat plug-in to an existing heartbeat.

       # geohb add-plugin heartbeatname pluginname \
       [-p propertysetting [-p…]]

   heartbeatname

     Specifies the identifier for heartbeat on the local cluster.

   pluginname

     Specifies the name of the heartbeat plug-in.

   `-p` propertysetting

     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 Appendix A, Standard Geographic Edition Properties.

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

Example 6-2 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/

Copyright © 2004, 2012, Oracle and/or its affiliates. All rights reserved. Legal Notices |