Please enter search query.
Search <book_title>...
Cluster Server 8.0.2 Agent Developer's Guide - Windows
Last Published:
2023-06-05
Product(s):
InfoScale & Storage Foundation (8.0.2)
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
Examples for adding RepearName tag in amfregister.xml
The RepearName tag can be added both manually and automatically in the amfregister.xml.
Adding ReaperName tag automatically
The tag is created automatically when imf_init for the agent is called for the first time if not already present.
For example, if the type name is CFSMount, the amfregister.xml will have following lines:
<xml> <!--ReaperName tag has been added by imf_init entry point--> <ReaperName>CFSMount</ReaperName> <Register> <RegType>PRON</RegType> <ProcPattern>/usr/sbin/rpc.statd -d 0 -t 50</ProcPattern> </Register> </xml>
Adding ReaperName tag manually
Agent Developer may also choose to add this tag manually. In this case, imf_init will not update amfregister.xml.
For example, if the reaper name (type of the resource) is Process, the xml file will look as follows:
<xml> <ReaperName>Process</ReaperName> <Register> <RegType>PRON</RegType> <ProcPattern>/usr/sbin/rpc.statd -d 0 -t 50</ProcPattern> </Register> </xml>