clDiskState
The clDiskState event producer monitors cluster disks.
- Overview
- The clDiskState event producer resides under the disk directory and monitors cluster disks. This event producer is available only when the system is part of a cluster. This event is generated when a cluster disk goes down or comes up.
- Capabilities
AHAFS_THRESHOLD_STATE AHAFS_REMOTE_EVENT_ENABLED AHAFS_CALLBACK_INTRCNTX
- Return codes
- The clDiskState returns 0 as the return code. Only if the cluster is removedAHAFS_CLUSTER_REMOVE (-1) is returned.
- Event producer message
- This event producer passes the DISK_UP and DISK_DOWN messages as part of its event data in the EVENT_TYPE field along with the concerned cluster disk name. Also, as it is a cluster event producer it will additionally pass the NODE_NUMBER, NODE_ID and CLUSTER_ID information.
- Acceptable monitor files
- To monitor cluster disks, a monitor file should be created under
the clDiskState.monFactory directory. The monitor file name
has to be used. No other monitor files may be created in this directory./aha/disk/clDiskState.monFactory/clDiskStateEvent.mon
- Example event data
The following is event data from a clDiskState event with the default INFO_LVL.
BEGIN_EVENT_INFO TIME_tvsec=1271935734 TIME_tvnsec=265210314 SEQUENCE_NUM=1 RC_FROM_EVPROD=0 BEGIN_EVPROD_INFO EVENT_TYPE=DISK_DOWN DISK_NAME=cldisk1 NODE_NUMBER=2 NODE_ID=0xF079E8C801C11DF CLUSTER_ID=0x6EA7B08888D811DFB918BEB25635B404 END_EVPROD_INFO END_EVENT_INFO