You can set up syslogd to perform automatic archival of
eligible z/OS® UNIX files that are configured as destinations
on syslogd rules. Use this method of archiving files only if you do
not offload log files.
Before you begin
Automatic archiving can be performed at a specific local time
every day, or when one or more of the z/OS UNIX file systems that contain the
eligible files become too full. Determine whether you want to configure
one or both of these triggers.
Requirement: You
must specify the -c start option when you
are using the automatic archive function.
Procedure
Perform the following steps to configure syslogd archive
triggers:
- Specify the ArchiveTimeOfDay statement in the syslogd configuration
file to specify the local time of day using hours and minutes in a
24 hour clock format.
- Specify the ArchiveThreshold statement in the syslogd configuration
file to specify the percentage of the file system that must be full
to trigger an automatic archive.
Guideline: You should set up the syslogd file destinations as one
or more separate z/OS UNIX file systems. Threshold-based
archiving works best when the file systems contain only data written
by syslogd.
- Specify the ArchiveCheckInterval statement in the syslogd
configuration file to specify the interval in minutes at which syslogd
should check to determine how full the file systems are.
Results
The configuration statements that define archive triggers
are global statements. If you configure these statements multiple
times, the last instance is used.