The following procedure describes how to manually configure the CoordPoint agent to monitor coordination points.
The CoordPoint agent can monitor CP servers and SCSI-3 disks.
See the Cluster Server Bundled Agents Reference Guide for more information on the agent.
To configure CoordPoint agent to monitor coordination points
# haconf -makerw # hagrp -add vxfen # hagrp -modify vxfen SystemList sys1 0 sys2 1 # hagrp -modify vxfen AutoFailOver 0 # hagrp -modify vxfen Parallel 1 # hagrp -modify vxfen SourceFile "./main.cf" # hares -add coordpoint CoordPoint vxfen # hares -modify coordpoint FaultTolerance 0 # hares -override coordpoint LevelTwoMonitorFreq # hares -modify coordpoint LevelTwoMonitorFreq 5 # hares -modify coordpoint Enabled 1 # haconf -dump -makero
# haconf -makerw # hares -add RES_phantom_vxfen Phantom vxfen # hares -modify RES_phantom_vxfen Enabled 1 # haconf -dump -makero
# hares -state coordpoint
The following is an example of the command and output::
# hares -state coordpoint
# Resource Attribute System Value coordpoint State sys1 ONLINE coordpoint State sys2 ONLINE
The agent log contains detailed CoordPoint agent monitoring information; including information about whether the CoordPoint agent is able to access all the coordination points, information to check on which coordination points the CoordPoint agent is reporting missing keys, etc.
To view the debug logs in the engine log, change the dbg level for that node using the following commands:
# haconf -makerw
# hatype -modify Coordpoint LogDbg 10
# haconf -dump -makero
The agent log can now be viewed at the following location:
/var/VRTSvcs/log/engine_A.log