Oracle9iAS Personalization Administrator's Guide Release 2(v9.0.2) Part Number A95243-03 |
|
If you need to perform maintenance on the system or systems where OP resides, you should stop OP before you stop the operating system. After you perform any required maintenance, you must start OP. The procedures outlined in this chapter will ensure that you do not lose any data when you start and stop OP.
Follow these steps to stop OP:
Use the OP Administrative UI to ensure that all package builds, package deploys, and reports are stopped. If any of these are running, you can either cancel them or wait until they complete. You must also change the schedule for any builds, deploys, and reports to make sure that they do not take place while OP is stopped.
Verify that nothing is running.
REmaint.sh
(in $ORACLE_HOME/dmt/admin
).
REmaint.sh
stops (sets the status to offline) all REs known to the MOR and forces the REs to save any cached information to the MTR, using data synchronization. After the script completes, any application that attempts to use any of the stopped REs receives an RE_OFFLINE exception.
The scripts are:
% REmaint.sh <property filename>
or % REmaint.sh <MOR username<MOR password><MOR JDBC connect string>
where property file looks like:
dbUrl=<JDBC connection string to MOR database>
dbuserName=<MOR username>
dbpassWord=<MOR password>
SQL> execute OP_STOP_ENGINE
OP_STOP_ENGINE
is an SQL script that resides in the MOR schema.
At this point, you can perform any required maintenance except for changing MOR and MTR characteristics.
You start OP by reversing the steps that you followed to stop it:
SQL> execute OP_START_ENGINE
OP_START_ENGINE
is an SQL script that resides in the MOR schema.
Use the OP Administrative UI to start or restart all package builds, package deploys, and reports that are stopped. You may have to change back the schedule for any builds, deploys, and reports that you changed when you stopped OP.
Verify that all required events are running.
After packages are deployed to them, the REs automatically start up, that is, they are no longer offline.
|
Copyright © 2001, 2002 Oracle Corporation. All Rights Reserved. |
|