OpenText product name changes coming to the community soon! Learn more.

Wikis - Page

Support Tip: Save state functionality for XML file processing with Operations Agent

1 Likes

Starting with Operations Agent (OA) 12.26, the opcgeni subagent now includes the functionality to save the state of XML file processing while executing policies. This resumes file parsing and operations processing during subagent restarts and avoids loss or duplication of events.

The OPC_GENI_SAVE_STATE variable enables you to configure the generic source interceptor agent (opcgeni) to save the information of the read event from the XML log files that are being monitored. Opcgeni saves the information of the read event from XML log files into the folder: <OVADATADIR>/tmp/geni_save_state/. Each log file that is being monitored through the "Event from XML File Policy" has a separate unique save state file created. If the generic source interceptor resumes its operation after an interruption and if the corresponding save state file of the event from the XML file policy exists, the generic interceptor will resume operating after gathering the information saved in this file. Therefore, you can monitor the events written into the event from XML log files even when the generic source interceptor is down.

Usage:

When installing Operations Agent 12.26, the OPC_GENI_SAVE_STATE variable is set to TRUE as an OOTB configuration.

Installation of Operations Agent 12.26 affects the OPC_GENI_SAVE_STATE variable in the following ways:

- If the variable has not been set to any value before installing Operations Agent 12.26, the OPC_GENI_SAVE_STATE variable assumes the value as TRUE.

- For an agent upgrade to Operations Agent 12.26, if the ovconfchg command had been used to set a value (TRUE or FALSE) for the variable before installing Operations Agent 12.26, the configured value remains in effect after the installation process is complete.

For more information, see Opcgeni save state functionality for events

Labels:

Support Tips/Knowledge Docs
Comment List
Related
Recommended