TMF Supplement for Large Audit Files (G06.24+)

TMF Reference Manual
HP NonStop TMF Supplement for Large Audit-Trail Files527391-001
5-16
ALTER AUDITTRAIL (Pages 3-51 through 3-60)
When you issue an ALTER AUDITTRAIL command that sets AUDITDUMP to OFF,
TMF displays a confirmation message that allows you to either verify that you want to
take this action or to indicate that you do not.
MAXRETAINEDATFILES Option Considerations
During volume or file recovery, if TMF requires an audit-trail file that is no longer
available on the system but is archived on tape, TMF restores that file from an audit
dump on the tape to a restore-audit volume on disk. When the recovery process
completes the recovery, TMF then purges this and all other unneeded files from the
restore-audit volume. When TMF is processing multiple recovery operations, whether
serially or in parallel, a recovery process often must wait for TMF to restore the audit-
trail file repeatedly to support each recovery operation.
By entering the ALTER AUDITTRAIL command with the MAXRETAINEDATFILES
option, you can override this standard restore-and-purge mechanism so that TMF
keeps audit-trail files restored from tape on the restore-audit volume indefinitely. This
option greatly enhances performance by:
Eliminating or minimizing the time a recovery process must wait for TMF to restore
an audit-trail file.
Minimizing disk contention for audit-trail files being read from, or restored to, the
same disk.
Use the MAXRETAINEDATFILES option when you expect to conduct many recovery
operations at or near the same time, keeping as many potentially required files on disk
as possible. When the recovery load diminishes, use the RESET
MAXRETAINEDATFILES option to return to the standard restore-and-purge
mechanism for tape files, freeing disk space for other purposes. Remember:
MAXRETAINEDATFILES optimizes access time for files archived on tape; RESET
MAXRETAINEDATFILES maximizes available disk space.
For audit trails restored from tape, MAXRETAINEDATFILES allows you to specify the
amount of disk space available for retaining audit files in terms of the number of files.
If you enter MAXRETAINEDATFILES while TMF is running, this option takes effect
immediately. If you enter MAXRETAINEDATFILES while TMF is stopped,
MAXRETAINEDATFILES takes effect when TMF restarts. The
MAXRETAINEDATFILES integer value specifies the number of audit-trail files to be
retained. This value applies only to the audit trail specified in the current ALTER
AUDITTRAIL command; TMF manages each audit trail individually with regard to its
MAXRETAINEDATFILES attribute.
Note. For audit-trail files dumped to disk, TMF opens the disk-dump copy directly, rather than
copying it to a restore-audit volume. Therefore, for audit-trail files on disk, the entire disk-
restore time is eliminated and all recovery processing (even the first) need not wait for this
restore operation. Therefore, you do not specify MAXRETAINEDATFILES for audit-trail files on
disk.