Top
PRIMECLUSTER Wizard for Oracle (PRIMEQUEST) 4.3 Configuration and Administration Guide
FUJITSU Software

3.2 Oracle database Maintenance

This section discusses how to change Oracle database settings, apply Oracle database patches, backup and recover Oracle databases. In a cluster system, the shared disk device in which Oracle data is stored is activated and deactivated along with Oracle database startup and stop.

If you need to control Oracle database manually for Oracle cold backup or other maintenance tasks, put PRIMECLUSTER in maintenance mode, and stop monitoring the Oracle instances and Listeners temporarily.

General procedure

The general maintenance procedure is as follows:

  1. Start userApplication

    Start userApplication that includes the Oracle instance resource if it is stopped.

  2. Put userApplication into maintenance mode and stop monitoring

    Put userApplication into maintenance mode.

    Next, stop monitoring the Oracle instance and Listener resources by executing the "hvoradisable" command.

  3. Confirmation of maintenance mode and stop of monitoring

    Confirm that changing into maintenance mode and stop of monitoring have been successfully done.

    (Refer to note of "4.1 hvoradisable - Discontinue Monitoring Resources".)

  4. Stop Oracle database -dependent resources

    If there are Oracle database -dependent resources, stop them manually before stopping Oracle database.

  5. Stop Oracle database

    Stop Oracle instance and listener manually.

  6. Do maintenance on Oracle database

    Change the Oracle database settings, apply Oracle database patches, backup and recovery Oracle databases.

  7. Start Oracle database

    After the maintenance is completed, start Oracle instance to "OPEN" status. Start Listener if it is also stopped.

    Before going on to the next step, be sure to check that Oracle instance and Listener are properly running. The Oracle instance must be OPEN.

  8. Start Oracle database -dependent resources

    If Oracle database -dependent resources are stopped, start them manually.

  9. Restart resource monitoring and stop maintenance mode

    Restart monitoring the Oracle instance and Listener resources again using "hvoraenable" command.

    Next, stop maintenance mode of userApplication.

  10. Confirmation of restart of monitoring and maintenance mode

    Confirm that restart of monitoring and changing out of maintenance mode have been successfully done.

    (Refer to note of "4.2 hvoraenable - Restart Monitoring Resources".)

Information

  • Maintenance mode and resource monitoring

    To stop Oracle database with userApplication active, use the "monitoring disruption" function of PRIMECLUSTER Wizard for Oracle.
    "Monitoring disruption" - Stop the Oracle resource monitoring only. If non-Oracle resource fails, a failover will be generated.

  • Maintenance mode of userApplication

    If you put userApplication into maintenance mode, resource failure is ignored. It means that userApplication failover and resource autorecovery do not occur even if Oracle database is manually stopped. This enables maintenance work of resources including Oracle resources.

    For information on how to put userApplication into maintenance mode, see the "PRIMECLUSTER RMS Configuration and Administration Guide".

  • Oracle instance and Listener monitoring

    hvoradisable and hvoraenable commands enable to discontinue and restart monitoring Oracle instances and Oracle listener resources.

    If you put userApplication into maintenance mode only, Oracle session for monitoring remains. If you execute hvoradisable command additionally, the Oracle session is killed. This enables executing shutdown command with "normal" option in Oracle database manual stop.

    For information on how to cancel or restart monitoring the Oracle instance and Listener resource, refer to "4.1 hvoradisable - Discontinue Monitoring Resources" and "4.2 hvoraenable - Restart Monitoring Resources".

Note

  • Monitoring restart

    If Oracle instances and Oracle listeners are stopped manually after resource monitoring disruption, start them manually before starting resource monitoring again. If you restart resource monitoring with the Oracle resources inactive, the Oracle resources will fail.

  • Resource state during monitoring

    If the "hvoradisable" command properly stops monitoring the resources, they will enter Warning.

  • Plan the maintenance procedure according to the operation environment and the maintenance requirement. Refer to the procedures described in this section and the Oracle Database documents.