HELPLIB.HLB  —  RMU72  Monitor  Start
    Activates the Oracle Rdb monitor process.

1  –  Description

    The RMU Monitor Start command activates the Oracle Rdb monitor
    process (RDMS_MONITORnn, where nn represents the version Oracle
    Rdb), sets the priority of this process, and specifies a device,
    directory and file name in which to create the monitor log
    file. If the monitor process is active already, you receive the
    following error message:

    %RMU-F-MONMBXOPN, monitor is already running

    An Oracle Rdb monitor process must be running on a node for
    users logged in to that node to use any Oracle Rdb database.
    In a VMScluster environment, a monitor process must be running on
    each node in the cluster from which databases are accessed.

    The Oracle Rdb monitor process controls all database access and
    initiates the automatic database recovery procedure following a
    system failure or other abnormal termination of a database user
    process.

    See the Oracle Rdb Installation and Configuration Guide for
    information on support for multiple versions of Oracle Rdb.

2  –  Format

  (B)0   RMU/Monitor Start

     Command Qualifiers   x Defaults
                          x
     /Output = file-name  x /Output=SYS$SYSTEM:RDMMON.LOG
     /Priority = integer  x /Priority = 15
     /[No]Swap            x /Noswap

3  –  Command Qualifiers

3.1  –  Output

    Output=file-name

    Specifies the device, directory, and file name that receives the
    monitor log. You can use this qualifier to redirect the placement
    of your monitor log file. The default device and directory is the
    SYS$SYSTEM directory. The default log file name is RDMMON.LOG.
    The RMU Monitor Start command causes a new version of the log
    file to be created for each database session.

3.2  –  Priority

    Priority=integer

    Specifies the base priority of the monitor process. This priority
    should always be higher than the highest database user process
    priority.

    By default, the monitor runs at the highest interactive priority
    possible, 15. You should not normally have to lower the monitor
    process priority. If you change this to a lower priority, an
    attach operation can cause a deadlock. Deadlock occurs when
    multiple processes with higher priority than the monitor attempt
    to attach at the same time. In this case, the monitor must
    contend for CPU time with multiple higher-priority processes
    and is perpetually locked out. As a result, no one can use the
    database.

3.3  –  Swap

    Swap
    Noswap

    Enables or disables swapping of the monitor process. The default
    is Noswap. The Swap qualifier is not recommended for time-
    critical applications, because no one can use the database while
    the monitor process is being swapped.

4  –  Usage Notes

    o  To use the RMU Monitor Start command, you must have either the
       OpenVMS SETPRV privilege or the OpenVMS WORLD, CMKRNL, DETACH,
       PSWAPM, ALTPRI, PRMMBX, SYSGBL, SYSNAM, SYSPRV, and BYPASS
       privileges.

    o  If the monitor has not been started on the system previously,
       use the RMONSTART.COM command file (which, by default, is
       located in the SYS$STARTUP directory) instead of the RMU
       Monitor Start command.

    o  Start the monitor from the SYSTEM account, which has the
       SETPRV privilege. The process starting the monitor attempts
       to give RDMS_MONITOR all privileges. In particular, the
       privileges required are ALTPRI, CMKRNL, DETACH, PSWAPM,
       PRMMBX, SETPRV, SYSGBL, SYSNAM, and WORLD.

    o  The monitor process inherits some quotas, such as MAXDETACH,
       and the user name of the user who starts it. This can result
       in severe restrictions on user access. For example, if the
       user who starts the monitor has a MAXDETACH quota of two, then
       the monitor can only start two recovery processes at one time.
       However, the system defines most of the quotas needed by the
       monitor.

    o  If the LNM$PERMANENT_MAILBOX table is not defined in the
       LNM$SYSTEM_TABLE logical name table, either of the following
       might occur:

       -  The RMU Start Monitor command hangs

       -  You receive the error, "monitor is not running", when you
          know it is.

       By default, the LNM$PERMANENT_MAILBOX table is defined in the
       LNM$SYSTEM_TABLE logical name table. However, sometimes a user
       or third-party application redefines the LNM$PERMANENT_MAILBOX
       table in another logical name table (such as the LNM$GROUP
       table). To recover from this situation, follow these steps:

       1. Define the LNM$PERMANENT_MAILBOX table in the
          LNM$SYSTEM_TABLE:

          $ DEFINE/TABLE=LNM$PROCESS_DIRECTORY LNM$PERMANENT_MAILBOX -
          _$ LNM$SYSTEM

       2. Start the database monitor:

          RMU/MONITOR START

       3. Start the application

       Or, change the application that redefines the LNM$PERMANENT_
       MAILBOX table so that LNM$PERMANENT_MAILBOX is defined as a
       search list that includes the LNM$SYSTEM_TABLE table, as shown
       in the following example:

       $ DEFINE/TABLE=LNM$PROCESS_DIRECTORY LNM$PERMANENT_MAILBOX -
       _$ LNM$GROUP, LNM$SYSTEM

    o  Use the RMU Show System command to determine the location of
       the monitor log file if it is not in the default location. The
       monitor log file may not be in the default location if someone
       has issued the RMU Monitor Start command and specified a
       location different from the default with the Output qualifier.

    o  The monitor process should only be started by a user whose
       account has adequate quotas. Ideally, the monitor process
       should be started from the SYSTEM account.

    o  To view the contents of monitor log file online (even
       when disk-based logging is disabled because of disk space
       problems), use the Performance Monitor and select the Monitor
       Log screen from the Per-Process menu. See the Oracle Rdb7
       Guide to Database Performance and Tuning or the Performance
       Monitor Help for information about using the Performance
       Monitor.

5  –  Examples

    Example 1

    The following command activates the Oracle Rdb monitor process:

    $ RMU/MONITOR START

    See the Oracle Rdb Guide to Database Maintenance for more
    examples that show the RMU Monitor commands.
Close Help