NET/MASTER Management Services (MS) System Management Guide
Creating and Managing Activity Log Files
Managing Activity Logs
10–2 105744 Tandem Computers Incorporated
You can assign up to nine activity logs by setting n in the operand to the log number
and assigning a file name. For example, suppose you want to create eight log files.
Each is named $TELOS.ZNNMLOGS.LOGFILEn, where n is a value from 2 to 9. To
define the files as activity files, issue these commands:
SYSPARMS LOGFILE2=$TELOS.ZNNMLOGS.LOGFILE2
SYSPARMS LOGFILE3=$TELOS.ZNNMLOGS.LOGFILE3
SYSPARMS LOGFILE4=$TELOS.ZNNMLOGS.LOGFILE4
SYSPARMS LOGFILE5=$TELOS.ZNNMLOGS.LOGFILE5
SYSPARMS LOGFILE6=$TELOS.ZNNMLOGS.LOGFILE6
SYSPARMS LOGFILE7=$TELOS.ZNNMLOGS.LOGFILE7
SYSPARMS LOGFILE8=$TELOS.ZNNMLOGS.LOGFILE8
SYSPARMS LOGFILE9=$TELOS.ZNNMLOGS.LOGFILE9
The attributes (such as size) of the model log file, $isv-vol.ZNNMDATA.pLGFILE1, are
propagated to any log files that are created.
Closing an Activity Log File If you are using multiple activity log files, NonStop NET/MASTER MS automatically
closes the current activity log file when it becomes full or encounters an I/O error; it
then opens the next available file in the log file pool, creating the file if necessary.
Alternatively, you can do this manually by using the LOGSWAP command. The
LOGSWAP command takes this form:
LOGSWAP [
n
]
Specify
n
as the number of the log file to open as the next current activity log file. If
you do not specify a log file number, the next log file in the sequence is used.
Closing a log file does not remove it from the pool of available log files.
Selecting an Activity Log
File
If you are using multiple activity log files, NonStop NET/MASTER MS automatically
opens the next activity log file when the current activity log file becomes full.
Alternatively, you can select a file manually by using the LOGSWAP command. For
example, use this command to close the current activity log file and open the third one:
LOGSWAP 3
If the log file or one specified in a LOGSWAP command exists, NonStop
NET/MASTER MS purges the data from the file and makes it the current file. If the
log file does not exist, NonStop NET/MASTER MS creates the file and makes it the
current file.
Reusing Log Files NonStop NET/MASTER MS can automatically reuse activity log files. The reuse of a
file is known as log wrapping. You can enable the log wrapping feature by issuing the
following command:
SYSPARMS LOGWRAP=YES
When you enable the log wrapping feature, the data in the old log files are purged and
overwritten as the files are used. If you have defined only one log file, and the file
becomes full, the data is purged and the file is reused.