Customizing cluster event processing
The cluster manager's ability to recognize a specific series of events and subevents permits a flexible customization scheme. With the PowerHA® SystemMirror® event customization facility, you can customize cluster event processing for your site. With customized event processing, you can provide a highly efficient path to the most critical resources in the event of a failure. However, this efficiency depends on your configuration.
As part of the planning process, you need to decide whether to customize event processing. If the actions taken by the default scripts are sufficient for your purposes, you do not need to do anything further to configure events during the configuration process.
If you do decide to customize event processing to your environment, use the PowerHA SystemMirror event customization facility described in this section. If you customize event processing, register these user-defined scripts with PowerHA SystemMirror during the configuration process.
The event customization facility includes the following functions:
- Event notification
- Pre-event and post-event processing
Complete customization of an event includes a notification to the system administrator (before and after event processing), and user-defined commands or scripts that run before and after event processing, as shown in the following example:
Notify sysadmin of event to be processed
Pre-event script or command
PowerHA SystemMirror event script
Post-event script or command
Notify sysadmin that event processing is complete