Create an alternate mapdb – HP Integrity NonStop J-Series User Manual

Page 180

Advertising
background image

System Management

HP NonStop AutoTMF Software User’s Guide429952-017

A-6

Configuring an Alternate MapDB

Create an alternate MapDB

Use the

CREATE MAPDB

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, through the AutoTMF 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 AutoTMF 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

=_ESCORT_MONITOR

define has been added (method described

below), it overrides the monitor name specified in the ESCMONAM file.

Add the

=_ESCORT_MONITOR

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 AutoTMF 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 AutoTMF is installed. See

Hard-Coding

Monitor Name into the Runtime

on page A-11 below for details.

For 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

Advertising
This manual is related to the following products: