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

TMF Reference Manual
HP NonStop TMF Supplement for Large Audit-Trail Files527391-001
5-21
ALTER AUDITTRAIL (Pages 3-51 through 3-60)
This command both creates a restore-audit volume on $TMF02 and deletes the one
on $TMF01:
TMF 24> ALTER AUDITTRAIL MAT, ADDRESTOREVOL $TMF02, &
>>>DELETERESTOREVOL $TMF01
The following ALTER AUDITTRAIL command requests TMF to retain up to the last 50
highest-numbered MAT audit-trail files in the restore-audit volumes, even after all
recovery processes are finished:
TMF 25> ALTER AUDITTRAIL MAT, MAXRETAINEDATFILES 50
The next ALTER AUDITTRAIL command purges from the restore-audit volumes all
MAT audit-trail files that are not being used in a recovery operation:
TMF 26> ALTER AUDITTRAIL MAT, RESET MAXRETAINEDATFILES
This next command changes the FILESIZE of the master audit trail to 1024 MB (1 GB):
TMF 27> ALTER AUDITTRAIL MAT, FILESIZE 1024
The following command changes the FILESIZE of the auxiliary audit trail AUX01 to
2047 MB (2 GB minus 1 MB):
TMF 28> ALTER AUDITTRAIL AUX01, FILESIZE 2047
The next command alters the FILESIZE for the master audit trail to 8192 MB (8 GB)
and enables audit dumping. This command can be executed successfully only after
transition to format 2 audit-trail files
TMF 29> ALTER AUDITTRAIL MAT, FILESIZE 8192, AUDITDUMP ON
The following command, which also runs successfully only after transition to format 2
audit- trail files, changes the FILESIZE for the master audit trail to the maximum size
for an audit-trail file, 1048575 MB (1024 GB - 1 MB):
TMF 30> ALTER AUDITTRAIL MAT, FILESIZE 1048575
The following command alters the FILSIZE for the Aux02 auxiliary audit trail to
1048575 MB, and can be executed successfully only after transition to format 2 audit-
trail files:
TMF 31> ALTER AUDITTRAIL AUX02, FILESIZE 1048575
This command resets the FILESIZE attribute back to its current default value
(assuming a transition to format 2 audit-trail files, this would be 1024 MB):
TMF 32> ALTER AUDITTRAIL MAT, RESET FILESIZE