Please enter search query.
Search <book_title>...
InfoScale™ 9.0 Cluster Server Agent Developer's Guide - AIX, Linux, Solaris, Windows
Last Published:
2025-04-13
Product(s):
InfoScale & Storage Foundation (9.0)
Platform: 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
Comparing Pre-VCS 4.0 APIs and VCS 4.0 Logging Macros
This guide describes the logging macros for C++ agents and script-based agents.
See Logging agent messages for more information.
For the purpose of comparison, the examples that follow show a pair of messages in C++ that are formatted using the pre-VCS 4.0 API and the VCS 4.0 macros.
Pre-VCS 4.0 APIs:
sprintf(msg, "VCS:140003:FileOnOff:%s:online:The value for PathName attribute is not specified", res_name); VCSAgLogI18NMsg(TAG_C, msg, 140003, res_name, NULL, NULL, NULL, LOG_DEFAULT); VCSAgLogI18NConsoleMsg(TAG_C, msg, 140003, res_name, NULL,NULL,NULL,LOG_DEFAULT);
VCS 4.0 macros:
VCSAG_LOG_MSG(VCS_WARNING, 14003, VCS_DEFAULT_FLAGS, "The value for PathName attribute is not specified"); VCSAG_CONSOLE_LOG_MSG(VCS_WARNING, 14003, VCS_DEFAULT_FLAGS, "The value for PathName attribute is not specified");