EMS Manual

Configuring EMS
EMS Manual426909-005
12-9
Log Files
PROTECTION
This attribute defines the file protection (read, write, execute, and purge) assigned to
disk files when they are created or renamed. This attribute is saved in the ZZEVCONF
file. It has a default value of COOO. To change this attribute, issue the SPI CONTROL
command or run the EMSCCTRL program.
REPLYAFTERWRITE (Alternate Collector only)
This attribute determines when the alternate collector replies to event issuers. If
REPLYAFTERWRITE is TRUE, the collector does not reply to event issuers until the
event is successfully written to disk. If the event cannot be written to disk because
logging has stopped, the collector returns a file management error to the event issuer.
This mode of operation ensures event issuers that data has been written to disk.
If REPLYAFTERWRITE is FALSE and the alternate collector has a current backup
process, the alternate collector replies to event issuers as soon as the event is
successfully checkpointed.
ROTATEFILES
This attribute determines the action taken when a log-full condition occurs and
MAXFILE has been reached. When a log file becomes full, a collector normally creates
the next sequentially named file using the file names ZZEV0000 through ZZEV9999.
However, when the maximum number of files (as determined by MAXFILE) already
exists, ROTATEFILES determines the action to be taken. The primary and alternate
collectors handle this condition slightly differently:
If ROTATEFILES is TRUE (set to ON), the primary collector purges the oldest log
file in the log subvolume and creates a new one. If ROTATEFILES is FALSE (set to
OFF), the collector stops logging.
If ROTATEFILES is TRUE, the alternate collector checks the oldest log file in the
log subvolume. If the oldest file has the proper extent sizes, the collector renames
the file, giving it the name of the next sequential log file. If this file does not have
the proper extent sizes, the collector purges the file and creates a new file with the
next sequential file name.
If ROTATEFILES is FALSE and the oldest file is not empty, the alternate collector
stops logging. If ROTATEFILES is FALSE and the oldest file is empty, the alternate
collector checks to determine whether the oldest file has the proper extent sizes. If
the extent sizes are correct, the collector renames the file. If the extent sizes are
not correct, the collector purges the file and creates a new log file.
The default value for ROTATEFILES is TRUE for both primary and alternate collectors.
The setting of this attribute is saved in the ZZEVCONF file. To change the value of this
attribute, issue the SPI CONTROL command or run the EMSCCTRL program.