NetBase for MPE Reference Guide

Chapter 12
12-2
Case One
The Case One scenario assumes that the master system fails and the shadow system becomes the
master system, with shadowing in the reverse direction.
Planned Failover
The following guidelines can be used for a planned failover. An example of a planned failover
would be hardware maintenance.
On the master system:
1. Quiet the system (except for the NetBase background job).
2. Flush all transactions to the shadow system:
RUN NBFLUSH.PUB.NETBASE,STOPWAIT;PARM=ShadowNode#
3. Change the directory to reflect that this will now be the shadowsystem:
RUN NBCTRL.PUB.NETBASE;INFO=“CHGDIR newdir”
4. Stop and start the NetBase Background job:
RUN NBCTRL.PUB.NETBASE;INFO=“STOP NETBASE”
RUN NBCTRL.PUB.NETBASE;INFO=“START NETBASE”
On the shadow system:
5. Quiet the system (except for the NetBase background job).
6. Check the directory for any out of sync conditions.:
RUN NBSYNC.PUB.NETBASE,VERIFY;INFO=“@.@.@”
If any files are out of sync, they should be resynced before continuing.
7. Change the directory to reflect that this will now be the “master” system: