upgrade database using cloud_control provisioning

16
Using Oracle Cloud Control 12c to perform Multiple Oracle database upgrade from 11.2.0.4 to Oracle 12.1.0.2 [Tested by - Monowar Mukul] In case of large number of databases to upgrade then the database provisioning features of OEM12c can be very useful for any type of mass deployments. The examples show the upgrade of multiple databases performed simultaneously in parallel. Go to the Database Provisioning

Upload: monowar-mukul-ocm-11g-dba

Post on 18-Jul-2015

107 views

Category:

Education


2 download

TRANSCRIPT

Using Oracle Cloud Control 12c to perform Multiple Oracle database upgrade from 11.2.0.4 to Oracle

12.1.0.2 [Tested by - Monowar Mukul]

In case of large number of databases to upgrade then the database provisioning features of OEM12c can be very useful for any type of mass

deployments. The examples show the upgrade of multiple databases performed simultaneously in parallel.

Go to the Database Provisioning

Select “Upgrade Oracle Database” under “Deployment Procedures” section and click on Launch

Select Standalone Database from the Upgrade LOV and Click on the Add Targets [Ex: emay11g and mondb11g from two different hosts]. Deselect “Upgrade Listeners” --- we will do that later

Select the option “Upgrade Database Instance Only” and select the “Database Oracle Home” from drop down list Select a directory for the Working Directory location. It will be cleared automatically by the provisioning process later on.

Select the Override Preferred Credentials option to choose the named credentials for both the database as well as operating system user

Select one of the databases and click on Create New Listener. Enter the details for the new listener.

Select the other database and similarly enter the details of the listener as above.

We can create a breakpoint which will pause the deployment process and provide us an opportunity to fix anything as well perform a review before the upgrade process begins. We can choose at which stage we wish to create the breakpoint and we have selected the stage just before the actual database upgrade is performed.

Review the upgrade process and click on Submit

Check the progress:

Once the breakpoint stage is reached, the upgrade deployment process will stall briefly and we will get an email notification informing us of the same and that we need to take some action to resume the upgrade process.

Select the Upgrade Oracle Database Instance step (step 7) and click on the arrow button to resume the process.

Check the progress:

Click on “View Log”

Click on “Log Report” tab to get more information

Finally I checked the “UpgradeResults.html” from <ORACLE_BASE>/cfgtoollogs/dbua/<SID>/upgrade1 for both databases

Confirm that both the databases have been upgraded to 12.1.0.2

Confirm that both the databases have been upgraded to 12.1.0.2