User-defined events

You can define your own events for which PowerHA® SystemMirror® can run your specified recovery programs. This process adds a new dimension to the predefined PowerHA SystemMirror pre-event and post-event script customization facility.

You specify the mapping between events that you define and the recovery programs that define the event recovery actions through the SMIT interface. With this mapping, you control both the scope of each recovery action and the number of event steps synchronized across all nodes.

An RMC resource refers to an instance of a physical or logical entity that provides services to some other component of the system. The term resource is used very broadly to refer to software and hardware entities. For example, a resource could be a particular file system or a particular host machine. A resource class refers to all resources of the same type, such as processors or host machines.

A resource manager (daemon) maps actual entities to RMC's abstractions. Each resource manager represents a specific set of administrative tasks or system functions. The resource manager identifies the key physical or logical entity types related to that set of administrative tasks or system functions, and defines resource classes to represent those entity types.

For example, the host resource manager contains a set of resource classes for representing aspects of a individual host machine. It defines resource classes to represent:

  • Individual machines (IBM®.Host)
  • Paging devices (IBM.PagingDevice)
  • Physical volumes (IBM.PhysicalVolume)
  • Processors (IBM.Processor)
  • A host's identifier token (IBM.HostPublic)
  • Programs running on the host (IBM.Program)
  • Each type of Ethernet adapter supported by the host

The AIX® resource monitor generates events for OS-related resource conditions such as the percentage of CPU that is idle (IBM.Host.PctTotalTimeIdle) or the percentage of disk space in use (IBM.PhysicalVolume.PctBusy). The program resource monitor generates events for process-related occurrences such as the unexpected end of a process. The program resource monitor uses the resource attribute IBM.Program.ProgramName.