nodeContact
The nodeContact event producer monitors the last contact status of the node in a cluster.
- Overview
- The nodeContact event producer resides under the cluster directory and monitors the last contact status of the node in the cluster. This event producer is available only when the system is part of a cluster.
- Capabilities
AHAFS_THRESHOLD_STATE AHAFS_REMOTE_EVENT_ENABLED AHAFS_CALLBACK_INTRCNTX
- Return codes
- The nodeContact returns 0 as the return code. Only if the cluster is removed AHAFS_CLUSTER_REMOVE (-1) is returned.
- Event producer message
- This event producer passes the CONNECT_UP and CONNECT_DOWN messages as part of its event data. It will pass the concerned INTERFACE_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 for changes in the list of nodes, a monitor file should
be created under the nodeContact.monFactory directory. The
monitor file name
has to be used. No other monitor files may be created in this directory./aha/cluster/nodeContact.monFactory/nodeContactEvent.mon
- Example event data
The following is event data from a nodeContact event with the default INFO_LVL.
BEGIN_EVENT_INFO TIME_tvsec=1271921874 TIME_tvnsec=666770128 SEQUENCE_NUM=0 RC_FROM_EVPROD=0 BEGIN_EVPROD_INFO EVENT_TYPE=CONNECT_DOWN INTERFACE_NAME=en0 NODE_NUMBER=2 NODE_ID=0xF079E8C801C11DF CLUSTER_ID=0x6EA7B08888D811DFB918BEB25635B404 END_EVPROD_INFO END_EVENT_INFO