3Com NSR-ORA V3.2 Dishwasher User Manual


 
System Administrator’s Guide U42252-J-Z915-1-76
The individual Components The Archiving Monitor
3.1.1 Starting and Ending the Archiving Monitor
A control program start_amon.sh is provided in the directory ${NSR_INST}/ora-
cle/bin for coordinating the activities of the archiving monitor. This program can
be invoked at operating system level with the relevant parameters (start, status,
stop).
start_amon.sh [-t {nsr|emc}] <command> [<ORACLE_SID> ...]
The -t option is required if NSR-ORA (nsr) and NSR-ORA-EMC (emc) are
installed on one machine, so that it is possible to distinguish which archiving
monitor is to be started.
If ORACLE_SID is not specified, the environment variable $ORACLE_SID is eval-
uated. If this variable is not set, amon is started for all configured ORACLE
instances; otherwise only for the specified ORACLE_SIDs.
The following commands are available:
start Starts the archiving monitor
stop Stops the archiving monitor
status Status inquiry
The start command is used to start the archiving monitor. This requires the
database to be in ARCHIVELOG mode.
The configuration file dbo${ORACLE_SID}.init is then read out and the archiving
monitor (amon daemon) is started. All important events are recorded in a
protocol file located in the directory ${DBO_CONFIG_DIRECTORY}/prot.
The stop command deactivates the archiving monitor.
The status check status shows, among other things, the following information:
the time the archiving monitor is activated
the database to be monitored
the archive directory
the maximum number of offline redolog files
the current number of offline redolog files
Example:
The following entries are assumed in the configuration file in this example:
NSR_SERVER=psi
DBO_CONFIG_DIRECTORY=/nsr/oracle/ora