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

TMF Reference Manual
HP NonStop TMF Supplement for Large Audit-Trail Files527391-001
5-12
ALTER AUDITTRAIL (Pages 3-51 through 3-60)
FILESPERVOLUME. If the volume has insufficient space for these files, it cannot
be added to the configuration.
Active-audit volumes are added to the end of the list of available volumes
maintained by TMF; therefore, they might not be used immediately. Audit-trail files
are written to active-audit volumes sequentially, but TMF tries to avoid writing two
audit-trail files in succession to the same volume. When TMF is ready to write to
an active-audit volume, it uses the next preallocated file that resides on that
volume. Eventually, all preallocated files on the volume are used.
If you specify DELETEACTIVEVOL for an active-audit volume that holds files that
are needed by TMF, the volume is not immediately removed from the configuration.
Instead, the volume is marked as “deleting”; any preallocated files stored on it are
purged immediately, and new files are not written to it. When no more audit-trail
files reside on the audit volume, it is removed from the configuration. However,
you can re-add an audit volume marked as “deleting” to the configuration without
waiting for the deletion to complete.
The audit volume that holds the current audit-trail file cannot be deleted. If you
want to delete that volume, issue a NEXT AUDITTRAIL command before you
request the deletion. The NEXT AUDITTRAIL command redirects the current
audit-trail file to the next volume available, so that this next volume becomes the
new destination of the audit information.
In addition, the volume that holds the audit-trail file assigned by the NEXT
AUDITTRAIL command cannot be deleted if that file has been prepared to receive
audit records. If you want to delete this volume, you must enter another NEXT
AUDITTRAIL command and redirect the audit information to still another file on
another volume.
Deleting a volume from a configuration reduces the capacity of the active-audit trail
by the number of files specified in the FILESPERVOLUME attribute.
FILESPERVOLUME integer
specifies the number of audit-trail files that reside on each active-audit volume
configured. The minimum value is 1, and the maximum is 100. The originally
assigned default is 5.
If the number of files per volume is increased, then extra preallocated files are
created immediately on each active-audit volume to make up the difference
between the old and new values. If this allocation fails, then the ALTER
AUDITTRAIL command returns an error and the FILESPERVOLUME value stays
the same as before.
If the number of files is decreased, the action taken varies. Any preallocated files
on the active-audit volumes are purged up to the point where each active volume
contains the new number of files per volume. If an active-audit volume still
contains more files than the new FILESPERVOLUME value allows, TMF purges
them (rather than renaming them) when they are no longer needed.