Modes of operation
The modes of operation determine how the probe stores and reads recovery data. This affects how the probe behaves on startup.
You can run the probe in one of the following modes:
- Recovery - The probe stores recovery data in a recovery file. When the probe starts, it attempts to reference the recovery file. If a recovery file is not present (for example, when the probe starts for the first time), the probe creates one and sets the current position in the log file; it then reads events as they are received. If a recovery file is present, the probe replays the log file from the position set in the recovery file and continues to read the log file as new events are received. To run the probe in recovery mode, set the ReplayFile and CleanStart properties to 0 and the RecoveryFile property to $OMNIHOME/var/syslog.reco.
- Cleanstart - The probe ignores the recovery file
and starts reading events from the log file created after the probe
started. To run the probe in cleanstart mode, set the CleanStart property
to 1 and set the ReplayFile property to 0.Note: Cleanstart is not supported if you are running the probe against a named pipe.
- Replay - The probe ignores the recovery file
and starts reading events from the beginning of the log file, and
then terminates. To run the probe in replay mode, set the ReplayFile property
to 1 and set the CleanStart property to 0.Note: If you set both the CleanStart property and the ReplayFile property to
1
, the probe replays the log file from the start and then continues to read the log file as new events are received.