NetBase for MPE Reference Guide

NetBase Shadowing
5-55
:RUN NBDIR.PUB.NETBASE
NetBase Directory Program [x.x] (C) QUEST Software 1996
D> FILE BANLG001.DATA.NETBASE=BANNER.DATA.NETBASE,SYSA,SYSB;IMAGELOG
D> EXIT
3. Add the database to NetBase's directory on the shadow machine:
:RUN NBDIR.PUB.NETBASE
NetBase Directory Program [x.x] (C) QUEST Software 1996
D> FILE BANNER.DATA.NETBASE,SYSA,SYSB
D> SHADOW BANNER.DATA.NETBASE;PASS=dbpassword
D> EXIT
Method 2: To shadow TurboIMAGE log files:
1. On the master node which is creating the log files, enter a file record for the log file into
NBDIR. The IMAGELOG file option tells NetBase that the file is an IMAGE log file. If the
CHANGELOG command is used for user logging, or if the AUTO parameter is specified for user
logging, then the file name entered into the directory must end in 000, for example:
FILE MYLOG000.GROUP.ACCT,1,2;IMAGELOG
This tells NetBase that we have a log file named MYLOGnnn in GROUP.ACCT residing on node 1
(the master node) and should be shadowed to node 2. NetBase changes the last three digits of
the log file name automatically and assumes that the first log file will be number 001.
2. On the shadow node (node 2 in our example), enter the same FILE command and also a
SHADOW command as follows:
FILE MYLOG000.GROUP.ACCT,1,2;IMAGELOG
SHADOW MYLOG000.GROUP.ACCT
Note. You must build the first log file on the shadow nodes, the rest will be built
automatically if they do not exist.
3. Verify that the first log file (MYLOG001.GROUP.ACCT) exists on the master node.