NetBase for MPE Reference Guide

NetBase Shadowing
5-57
Resetting the Logging Process
If you wish to reset your logging process back to log file number 001, perform the following steps.
1. Stop the MPE logging process on the master system.
:LOG logid,STOP
2. Shutdown the Netbase log reader process on the master system using the STOP ILOG command
in NBCTRL.
:NBCTRL.PUB.NETBASE;INFO="STOP ILOG"
3. Backup, purge or rename the old log files on the master system.
4. Build the new log file on the master system.
5. Use :ALTLOG to reset the log file name to 001.
6. Reissue the FILE command in NBDIR on the master system to cause NetBase to reset to file 001.
FILE MYLOG000,1,2;IMAGELOG
7. Shutdown the posting process on the shadow system(s). This can be accomplished by issuing
the STOP POST command in NBCTRL.
:NBCTRL.PUB.NETBASE;INFO="STOP POST"
8. Backup, purge or rename the log files on the shadow system.
9. Restart the MPE logging process on the master system:
:LOG logid,START
10. Restart the NetBase log reader process on the master:
:NBCTRL.PUB.NETBASE;INFO="START ILOG"
11. Start the post process on the shadow system:
:NBCTRL.PUB.NETBASE;INFO="START POST"