3.5.1 MxDB-Oracle-HiAv Installation and Administration Guide

Chapter 2: Operations 42
Copyright © 1999-2007 PolyServe, Inc. All rights reserved.
The mxdb Command Line Interface
In addition to the -c option, which invokes the GUI, the mxdb command
can be used for operations. The command is invoked as follows:
$ /opt/polyserve/mxdb_oracle_ha/bin/mxdb
The mxdb command includes options that enable Database
Administrators to perform the same operations that are available in the
MxDB-Oracle-HiAv GUI. The following table describes the command
arguments.
Option Procedure
-d <DBNAME> This argument is required. It specifies the Virtual
Oracle Service on which the command should be
performed.
-h <$ORACLE_HOME> Override the ORACLE_HOME environment
variable.
-Q Query Service Status.
-O Online service. Start a service monitor on the
primary server.
-S Stop service. Shut down an Oracle database.
-R Remove the Virtual Oracle Service from the system.
-M [start|stop] Maintenance Mode.
-a ʺIP:IP:IPʺ Add servers to a Virtual Oracle Service. The option
is a list of quoted, colon-delimited IP addresses.
-m ʺIP:IP:IP:IPʺ Modify Virtual Oracle Service. The option is a
quoted list of IP addresses that represent the
Primary, 1st Backup, 2nd Backup, and so on.
-C Clear events raised on a Virtual Oracle Service.
Should a node crash, Matrix Server will raise
events so that the DBA can take action before
returning the Virtual Oracle Service to the failed
node.