TMF Reference Manual (G06.26+)

TMFCOM Commands
HP NonStop TMF Reference Manual522418-003
3-74
ALTER AUDITTRAIL
The next command sets the AUDITDUMP attribute to OFF for the master audit trail:
TMF 23> ALTER AUDITTRAIL MAT, AUDITDUMP OFF
WARNING: After AUDITDUMP is turned OFF, potentially neither
volume nor file recovery can recover your files
because audittrail files could be purged.
Please confirm the option, Auditdump OFF? (Y/N) y
.
.
.
Assume that a restore-audit volume was originally configured on the disk drive
$TMF01, but now needs to be moved to another disk drive, $TMF02. The following
example shows how this can be done with a single ALTER AUDITTRAIL command.
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 issued 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