NetBase for MPE Reference Guide
Chapter 5
5-8
Defining a File for Shadowing - NBDIR Entries
To define a file for shadowing, NetBase directory entries must be made on both the master and
shadow systems. These directory entries tell NetBase which files to shadow and to which nodes. A
FILE statement is entered in the directory on the master system, and a FILE and SHADOW statement
is required on the shadow system.
This section details the steps required to start the shadowing process for a file or database. The set
up on the master and shadow computers should be done at a quiet time, when user processes are not
accessing the files. If configuration changes are required, read the parameter documentation to
determine whether processes must be stopped for the parameter change to take effect.
NetBase uses a directory to locate files in the system that are to be shadowed. The directory
maintenance subsystem is used to define a file or database for shadowing. Read the NBDIR chapter
to learn how to run the subsystem and to familiarize yourself with the FILE and SHADOW directory
commands.
Directory Entries for Shadowing
The FILE directory command provides a number of options that affect the way processes access the
master and shadow copies of a file or database. Some of the options are specific to the master copy
of the file or database. Other options affect only the shadow copy. Turn to Chapter 4 “Using
NBDIR” for the complete syntax for the FILE command.
D> FILE filename[=remote-name],masternode,shadownode[,shadownode...][;OPTIONS]
Note. No matter which system the FILE statement is used on, the nodes are always
specified masternode, shadownode.