Notes On Customizing Event Processing; Event Emulator; Error Notification - IBM AIX HACMP SG24-5131-00 Hardware User Manual

Certification study guide
Table of Contents

Advertisement

For example, a file system cannot be unmounted, because of a process
running on it. Then, you might want to kill that process first, before
unmounting the file system, in order to get the event script done. Now, since
the event script didn't succeed in its first run, the Retry feature enables
HACMP for AIX to retry it until it finally succeeds, or the retry count is
reached.

5.1.5 Notes on Customizing Event Processing

You must declare a shell (for example
script executed by the notify, recovery, and pre- or post-event processing
commands.
Notify, recovery, and pre- and post-event processing do not occur when the
force option of the
Synchronizing the cluster configuration does not propagate the actual new or
changed scripts; you must add these to each node manually. Also, it is
allowed to have different contents in these scripts on different nodes in order
to be able to act upon different environments. However, the name of these
scripts, their location in the file system, and their permission bits have to be
identical.

5.1.6 Event Emulator

To test the effect of running an event on your cluster, HACMP for AIX
provides a utility to run an emulation of an event. This emulation lets you
predict a cluster's reaction to an event as though the event actually occurred.
The emulation runs on all active nodes in your cluster, and the output is
stored in an output file. You can select the path and name of this output file
using the
/tmp/emuhacmp.out file on the node that invoked the Event Emulator.
For more information on event emulation, see these chapters: "Administrative
Facilities" in the HACMP for AIX, Version 4.3: Concepts and Facilities,
SC23-4276, and "Monitoring an HACMP Cluster" in the HACMP for AIX,
Version 4.3: Administration Guide, SC23-4279.

5.2 Error Notification

The AIX Error Notification facility detects errors matching predefined
selection criteria and responds in a programmed way. The facility provides a
wide range of criteria that you can use to define an error condition. These
errors are called notification objects.
event is specified.
node_down
environment variable, or, use the default
EMU_OUTPUT
) at the beginning of each
#!/bin/sh
Cluster Customization
123

Advertisement

Table of Contents
loading

This manual is also suitable for:

Aix hacmp

Table of Contents