Sun Cluster Geographic Edition System Administration Guide

Configuring the Loss of Heartbeat Notification Properties

You can configure loss of heartbeat notification by using two partnership properties, Notification_emailaddrs and Notification_actioncmd. You set these properties by using the geops command.

You can set these properties on the default heartbeat during partnership creation. For more information, see How to Create a Partnership. You can also modify these properties by using the procedure that is described in How to Modify the Heartbeat Properties.

If you want to be notified of heartbeat loss by email, set the Notification_emailaddrs property. You can specify a list of email addresses, separated by commas. If you want to use email notification, the cluster nodes must be configured as email clients. For more information about configuring mail services, see the Solaris System Administration Guide: Network Services.

If you want a command to be executed in response to heartbeat loss, set the Notification_actioncmd property.


Example 12–10 Configuring Loss of Heartbeat Notification for an Existing Partnership

A notification email address and a custom notification script are specified for the existing partnership, paris-newyork-ps, as follows:


phys-paris-1# geops set-prop \
-p Notification_emailaddrs=ops@paris.com,ops@newyork.com \
-p Notification_actioncmd=/opt/hb_action.sh paris-newyork-ps