![]() ![]() ![]() |
Appendix D: RSCT: Resource Monitoring and Control Subsystem
Starting with HACMP 5.3, HACMP interfaces with the RSCT Resource Monitoring and Control (RMC) subsystem instead of with the Event Management subsystem. In previous versions of the HAES product, the Cluster Manager interfaces with the Event Manager to let you define custom events based on system metrics and an expression that applied to those metrics. It also uses the Event Manager to monitor applications as well as to determine the nodelist for resource groups if dynamic node priority is used.
The RMC subsystem replaces Event Management resource variables with resource classes and attributes associated with the resource class.
A resource class is a set of resources of the same type. A resource class defines the common characteristics that instances of the resource class can have. A resource attribute describes some characteristic of a resource. There are two types of resource attributes, persistent attributes and dynamic attributes. Persistent attributes describe enduring characteristics of the resource. Dynamic attributes, on the other hand, represent changing characteristics of the resource.
See the RSCT for AIX 5L and Linux: Administration Guide and the RSCT for AIX 5L Technical Reference for more information.
HACMP now uses the RMC subsystem for these instances:
Dynamic Node Priority Application Monitoring User Defined Events. Conversion of User-Defined Event Definitions
The clconvert routine only converts a subset of Event Manager user-defined event definitions to the corresponding RMC event definitions. All user-defined event definitions must be manually reconfigured with the exception of the following UDE definitions defined by DB2:
HACMPude: name = "DB2_PROC_DOWN" state = 0 recovery_prog_path = "/usr/bin/db2_proc_recovery" recovery_type = 2 recovery_level = 0 res_var_name = "IBM.PSSP.Prog.xpcount" instance_vector = "NodeNum=*;ProgName=db2sysc;UserName=root" predicate = "X@0<X@1 && X@1!=0" rearm_predicate = "X@0>X@1" HACMPude: name = "DB2_PAGINGSPACE_LOW" state = 0 recovery_prog_path = "/usr/bin/db2_paging_space" recovery_type = 2 recovery_level = 0 res_var_name = "IBM.PSSP.aixos.PagSp.%totalfree" instance_vector = "NodeNum=*" predicate = "X<31" rearm_predicate = "X>70" HACMPude: name = "DB2_PAGINGSPACE_VERY_LOW" state = 0 recovery_prog_path = "/usr/bin/db2_paging_space" recovery_type = 2 recovery_level = 0 res_var_name = "IBM.PSSP.aixos.PagSp.%totalfree" instance_vector = "NodeNum=*" predicate = "X<11" rearm_predicate = "X>90" HACMPude: name = "DB2_AUTO_PROC_DOWN" state = 0 recovery_prog_path = "/usr/bin/nfs_auto_recovery" recovery_type = 2 recovery_level = 0 res_var_name = "IBM.PSSP.Prog.xpcount" instance_vector = "NodeNum=*;ProgName=automount;UserName=root" predicate = "X@0<X@1 && X@1!=0" rearm_predicate = "X@0>X@1" HACMPude: name = "DB2_NFSSTAT_PROC_DOWN" state = 0 recovery_prog_path = "/usr/bin/nfs_auto_recovery" recovery_type = 2 recovery_level = 0 res_var_name = "IBM.PSSP.Prog.xpcount" instance_vector = "NodeNum=*;ProgName=rpc.statd;UserName=root" predicate = "X@0<X@1 && X@1!=0" rearm_predicate = "X@0>X@1" HACMPude: name = "DB2_NFSLOCK_PROC_DOWN" state = 0 recovery_prog_path = "/usr/bin/nfs_auto_recovery" recovery_type = 2 recovery_level = 0 res_var_name = "IBM.PSSP.Prog.xpcount" instance_vector = "NodeNum=*;ProgName=rpc.lockd;UserName=root" predicate = "X@0<X@1 && X@1!=0" rearm_predicate = "X@0>X@1" HACMPude: name = "DB2_NFS_PROC_DOWN" state = 0 recovery_prog_path = "/usr/bin/nfs_auto_recovery" recovery_type = 2 recovery_level = 0 res_var_name = "IBM.PSSP.Prog.xpcount" instance_vector = "NodeNum=*;ProgName=nfsd;UserName=root" predicate = "X@0<X@1 && X@1!=0" rearm_predicate = "X@0>X@1"Conversion of Event Manager-based Dynamic Node Priority Policy and Application Monitor Definitions
The existing preconfigured dynamic node priority policy definitions and the existing Application Monitor definitions are converted to the equivalent RMC definitions. All other user-defined node priority policies are converted to use the default policy (the ordered nodelist). Only the three preconfigured dynamic node priority policies are supported in HACMP 5.3 and 5.4.
Mapping of Event Management Resource Variables to RMC Resource Attributes
The following table shows how the Event Management resource variables map to the RMC resource attributes.
![]() ![]() ![]() |