Create an alternate mapdb – HP Integrity NonStop H-Series User Manual
Page 170
![background image](/manuals/397556/170/background.png)
System Management
HP NonStop AutoTMF Software User’s Guide—429952-013
A-6
Configuring an Alternate MapDB
Create an alternate MapDB
Use the
command specifying the alternate monitor process name.
For example, to create a test MapDB that is called TSTMAPDB and uses the monitor
$ZTST:
Associate the alternate MapDB and monitor with programs
There are 3 ways to tell programs (via the Escort runtime) to use an alternate monitor:
•
Create an edit file called ESCMONAM containing the name of the alternate
monitor. The file must reside in the subvolume where the NonStop AutoTMF library
resides. If programs have a user library that contains the escort runtime,
ESCMONAM must reside in the subvolume where your user library resides. This is
the simplest method to specify an alternate monitor process name. However, note
that, if the
define has been added (method described
below), it overrides the monitor name specified in the ESCMONAM file.
•
define prior to executing prepared programs that
will use the alternate monitor process. The monitor name specified with this define
overrides the monitor name specified in the ESCMONAM file.
•
Add a special procedure into the Escort runtime to hard-code the name of the
monitor into the runtime. This method is considered a “legacy” method, as it can
only be used with TNS and TNS/R programs. Moreover, the code change must be
performed every time a new version of Escort is installed. See
on page A-11 below for details.
For escort, the NonStop AutoTMF command interpreter, there are 2 additional ways to
use an alternate monitor process:
•
Specify the monitor process name on the run command.
AutoTMF 1? create mapdb tstmapdb,monitor $ztst;
--- MapDB table $PRPC.TSTMAPDB.REGISTRY created.
--- MapDB table $PRPC.TSTMAPDB.ATMFATTR created.
--- MapDB table $PRPC.TSTMAPDB.ATMFPROG created.
--- MapDB for AutoTMF created.
--- SysDB updated
--- Changes will take effect when the Monitor is restarted.
--- Starting Monitor process $ZTST
AutoTMF Monitor 1.8.1 - 23APR2007 -- $ZTST (5,719) - System \NSK
Started at May 8 2007 16:04:12, elapsed time = 0:00:00
Backup process $Ztst (4,785), no takeovers
Monitor hometerm: $0
$DATA SUBVOL 7> escort $ztst
HP Nonstop(tm) AutoTMF(tm) Command Interpreter(T0581H01) - System \NSK
(C)2006 Hewlett Packard Development Company, L.P.
(C)2006 Carr Scott Software Incorporated