InfoScale™ 9.0 Cluster Server Agent Developer's Guide - AIX, Linux, Solaris, Windows
- Introduction
- Agent entry point overview
- About agent entry points
- Agent entry points described
- About the action entry point
- About the info entry point
- Considerations for using C++ or script entry points
- About the agent information file
- About the ArgList and ArgListValues attributes
- Creating entry points in C++
- About creating entry points in C++
- Syntax for C++ entry points
- Agent framework primitives
- Agent Framework primitives for container support
- Creating entry points in scripts
- About creating entry points in scripts
- Syntax for script entry points
- Agent framework primitives
- VCSAG_GET_ATTR_VALUE
- Agent Framework primitives with container support
- Example script entry points
- Logging agent messages
- Building a custom agent
- Building a script based IMF-aware custom agent
- Creating XML file required for AMF plugins to do resource registration for online and offline state monitoring
- Testing agents
- Static type attributes
- About static attributes
- Static type attribute definitions
- AdvDbg
- ArgList
- State transition diagram
- Internationalized messages
- Troubleshooting VCS resource's unexpected behavior using First Failure Data Capture (FFDC)
- Appendix A. Using pre-5.0 VCS agents
LogDbg
The LogDbg attribute indicates the debug severities enabled for the resource type or agent framework.
Debug severities used by agent functions are in the range of DBG_1 - DBG_21. By default, LogDbg is an empty list, meaning that no debug messages are logged for a resource type. Users can modify this attribute for a given resource type, to specify the debug severities that they want to enable, which would cause those debug messages to be printed to the log files. For more information on agent debug levels, see the Cluster Server Bundled Agents Reference Guide.
The LogDbg attribute can be overridden at a resource level.
The debug messages from the agent framework are logged with the following severities:
DBG_AGDEBUG: Enables most debug logs.
DBG_AGINFO: Enables debugging messages related to specific entry-point execution.
DBG_AGTRACE: Enables verbose debug logging that prints function tracing.
See Using debug messages.
More information is available about APIs that are available to log debug messages from agent entry points.
See About logging agent messages.
These APIs expect a debug severity as a parameter, along with the message to be logged. You can choose different debug severities for messages to provide different logging levels for the agent. When you enable a a particular severity in the LogDbg attribute, agent entry points log corresponding messages.
The LogDbg attribute is modified such that it can be overridden in VCS 6.2 or later releases. Although using this attribute, we can set DBG_AGINFO, DBG_AGTRACE, DBG_AGDEBUG at resource level but they will not have any impact as these levels are agent type specific. Hence we recommend to set values between DBG_1 to DBG_21 at resource level using this attribute.