About the resrestart event trigger

The following table describes the resrestart event trigger.

Description

This trigger is invoked when a resource is restarted by an agent because resource faulted and RestartLimit was greater than 0.

Usage

-resrestart triggertype system resource

triggertype - represents whether trigger is custom (triggertype=0) or internal (triggertype=1).

For this trigger, triggertype=0.

system - represents the name of the system.

resource - represents the name of the resource.

To enable the trigger

This event trigger is not enabled by default. You must enable resrestart by setting the attribute TriggerResRestart to 1 in the main.cf file, or by issuing the command:

hagrp -modify service_group TriggerResRestart 1

However, the attribute is configurable at the resource level. To enable resrestart for a particular resource, you can set the attribute TriggerResRestart to 1 in the main.cf file or issue the command:

hares -modify resource TriggerResRestart 1