SlideShare ist ein Scribd-Unternehmen logo
1 von 53
Downloaden Sie, um offline zu lesen
Oracle DB12c Multitenant 
Database Lifecycle 
Management with Oracle 
Enterprise Manager
Page 1 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
Oracle Database 12c Lifecycle Management with Oracle Enterprise Manager 
The objective of this lab is to showcase the Oracle Enterprise Manager Cloud Control 12c’s lifecycle management capabilities for the new Database 12c Pluggable Databases. 
Scenario: Company “Plug Inc” decides to adopt Database 12c’s Pluggable Databases. Sally (the DBA Manager) asks Clark (the DBA lead) to start the migration of the Databases to DB12’s Pluggable Databases in the next 3 months. Sally also wants Clark to start providing DB12c PDB for any new Database request unless it’s for Production. The following conversation is set in the 2 months from the launch of Oracle Database 12c. 
Can you also add - How many of these PDBs are running on Exadata versus non- Exadata? Sure. (Inventory Reports and Configuration Search, 10 mins) 
Clark, hope we are not creating anything other than PDB unless it’s a production request. Can you send me a report? 
Definitely. In fact, will send 2 reports to contrast things better for management reporting - #1 How many of our DBs are PDB vs Regular? #2 DB versions in Non production post the mandate to show its all PDBs. 
JULY 2013 
Oracle Releases DB12c 
Great job with PDB testing, the results were impressive. Good news is that now we have new licenses for DB12. Can you start moving old databases to PDBs using a phased approach? 
Thanks. Got a head start using a test license and deployed a few PDBs. Will ‘MIGRATE’ the HR Database from test environment to a PDB. It takes just a few clicks using EM. (Migrate to PDBs, 20 mins) 
Aug 5th 2013 
Sep 17th 2013 02:00 PM 
Sep 17th 2013 
02:08 PM 
Did you see the request from the Finance apps guys on a test PDB? Should I tell them it’s going to take time? 
On it, just takes few mins and a couple of clicks with EM. (PDB Clone, 5 mins) 
Can you check if the ERP’s DB12 confirms to the compliance mandates? Can you correct any issues seen in the next few weeks before the half yearly meeting? 
Will run it against the Gold Standard to check for violations. Need to review the impact and give you a more accurate timeline on remediation. (Compliance Mgmt., Topology Viewer, Patching 15 mins) 
Sep 20th 2013 
Sep 23rd 2013
Page 2 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
Getting Started 
The following exercises are based on Enterprise Manager 12c Release 3 (12.1.0.3) with latest Database and My Oracle Support Plug-ins (12.1.0.5). This lab is constructed on an Enterprise Manager 12c setup which manages: 
1. A Standalone Database 11gR2 (11.2.0.3) (Used in Scenario #1 for Migration) 
2. A DB12c (12.1.0.1) Container Database (called ‘test.oracle.com’) with 5 Pluggable Databases. 
3. Some additional Databases of 11.2.0.3 and 12.1.0.1 releases for Configuration Mgmt. exercises. 
You could directly try the use cases in your local EM environment. If you want to participate in Oracle’s workshop, contact your local Oracle sales or account team. 
Sep 23rd 2013 
ERP DB needs a patch to be compliant to the new Gold Standard. I also received a mail from the SA (Security Admin) to apply the latest PSU patch. I created a test patch plan with both the patches, ran an analysis. There aren’t any issues in applying them. With EM12c’s new ‘Out of Place’ automation, prepared a new clone OH and patched it. I just need 10mins in the weekend, will click a button, EM will then switch the Databases and run SQL to complete patch deployment. All of these with no touch to the target or EM for updating info. 
Can you approve and fwd my request. Apps team can spare 10mins this weekend, can’t they  
(Patch Automation. Analyze and Prepare in weekday (25mins). 
Deployment during weekend maintenance - 5 mins)
Page 3 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
Scenario #1. Migrate non DB12 to a Pluggable Database 
Solution Overview 
Oracle Multitenant simplifies the consolidation process by plugging multiple databases into a multitenant container database without changing applications. It also provides comprehensive automated workflows using which DBA’s can easily migrate their database to a CDB. 
Use Oracle Enterprise Manager Cloud Control to manage enterprise configurations by: 
 Provisioning Container Databases (CDB) with one or many Pluggable Databases (PDB) (Basic deployment from scratch) 
 Automate Migration of the non CDBs to a PDB (Focus in this lab) 
Business Case/ Problem Statement 
You have been asked to migrate a 11.2.0.3 database to a Pluggable database (PDB) inside an existing Container database (CDB). Use Enterprise Manager 12c’s automated PDB migration feature to perform the migration quickly. 
JULY 2013 
Oracle Releases DB12c 
Great job with PDB testing, the results were impressive. Good news is that now we have new licenses for DB12. Can you start moving old databases to PDBs in phase wise manner? 
Thanks. Got some head start, used a test license and deployed few PDBs. Will ‘MIGRATE’ the HR Database from test environment to a PDB. It just takes a few clicks using EM. (Migrate to PDBs, 20 mins) 
Aug 5th 2013
Page 4 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
1. Migrate 11.2.0.3 DB into a Pluggable (PDB) within an existing Container Database (CDB) 
1.1 Login using username: oracle and password: oracle12 
1.2 Navigate to menu options Targets->Databases
Page 5 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
1.3 From the list, choose 12.1.0.1.0 Container Database – ‘test .oracle.com’ and Click on the database name to navigate to its home page. 
Tip: Use Search to quickly identify the ‘test’ database. 
1.4 From the database home page, navigate to ‘Provisioning -> Provision Pluggable Databases’.
Page 6 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
1.5 Select the ‘Migrate Existing Databases’ option from the PDB Operation list and click ‘Launch’ 
You can Provision Pluggable Databases inside a Container Databases,.. 
1.6 From the options of data migration, choose ‘Use Oracle Data Pump Full Transportable…’ option. 
Migration path for a non Container Database (CDB): a) Plug as a PDB Method: PDB based migration is supported for non-CDBs of version 12.1 or higher. This option creates an XML description of the database that is used to create the PDB. The datafiles will also be copied over as part of the migration. 
b) Data Pump Method: Data Pump based migration is supported for non-CDBs of version 11.2.0.3 or higher. This option will use Oracle Data Pump to export the data from non-CDB which will be imported into the PDB using Oracle Data Pump import. The datafiles will also be copied over as part of the migration.
Page 7 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
1.7 Credentials are already set as Preferred, click Next 
1.8 Click “Add” and select the database “hr3.oracle.com” of the version 11.2.0.3.
Page 8 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
1.9 Change the Database Credentials to ‘SYSDBA Database Credentials’ and Database Host Credentials to ‘HOST-ORACLE’ named credential.
Page 9 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
1.10 Complete the interview with the following information:, 
Export Directory - /tmp 
PDB Properties - PDB Administrator : ‘oracle’ , Password ‘oracle12’ 
Import Directory - /tmp
Page 10 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
1.11 Specify data file location by clicking Browse next to ‘Datafile Location’ and select ‘cdata’ directory row then click OK.
Page 11 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
1.12 Click ‘Next’ , the action runs the validations 
1.13 Click ‘Close’ after successful Validations
Page 12 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
1.14 From the schedule page, retain the default schedule ‘Immediately’ , click ‘Next’ 
1.15 Verify the details on the Review page, click ‘Submit’ 
1.16 Upon submission the details of the job can be viewed directly via ‘View Job’ button
Page 13 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
1.17 The process steps and details can be tracked from the Procedure Activity page. 
The ‘hr3’ 11.2.0.3 Database will be migrated as a Pluggable Database into the Container Database – test. The process of migration takes about 30 minutes. We will return to see the results of the migration process in lab 6. For now, continue on in the lab. 
Skip to the next exercise.
Page 14 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
Scenario #2. Using Inventory & Configuration Search 
Business Case/ Problem Statement 
You have been asked to report on the current and historic distribution of PDBs to regular databases as well as how many PDBs are running on an Exadata. Use the Inventory and Usage details page as well as Configuration Search to answer these requests quickly. 
2.1 Navigate to menu options Enterprise->Configuration->Inventory and Usage Details 
Can you also add - How many of these PDBs are running on Exadata versus non- Exadata? Sure. (Inventory Reports and Configuration Search, 10 mins) 
Clark, hope we are not creating anything other than PDB unless it’s a production request. Can you send me a report? 
Definitely. In fact, will send 2 reports to contrast things better for management - #1 How many of our DBs are PDB vs Regular? #2 DB versions in Non production post the mandate to show its all PDBs. 
Sep 17th 2013 02:00 PM 
Sep 17th 2013 
02:08 PM
Page 15 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
2.2 Choose “Databases” from list next to Show. 
By default we see the distribution of databases by database version. 
Clark’s response to “How many PDBs versus Regular Databases we have?” For sending the report in a mail, do print screen and paste in the mail. 
2.3 Select the rows for ‘Database versions – 10.2.0.4’, ‘ Database Instance 11.2.0.3’ and ‘Pluggable Database 12.1.0.1’ and Click ‘View Details’.
Page 16 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
2.4 Switch the Chart view to ‘Trend’ to see the historical trend of the growth of different Database version 
Here we can see the answer to the first question posed by Sally which was to ensure no new databases have been created that were not PDBs. We can see there are now 25 PDBs in the environment. Now let’s move on see how many are installed on Exadata Database Machines.
Page 17 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
Configuration Search 
Creating a configuration search to identify how many out of ‘25’ PDBs are on Exadata Database Machine. 
2.5 Navigate to menu options Enterprise->Configuration-> Search. 
2.6 Click ‘Create’ to create a new Configuration search. EM12c provides pre-defined Configuration search templates, users can create custom search using the collected configuration properties of the targets. The search can be saved for repeated or future usage.
Page 18 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
2.7 Select the Target Type to ‘Pluggable Database’ 
2.8 To figure out if the PDBs are on Exadata or not, add a Relationship
Page 19 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
2.9 Choose the Destination Target type to ‘Host’ 
2.10 Choose the Relationship Type as ‘Hosted by’ and Click ‘OK’
Page 20 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
2.11 To indicate we want to restrict our selection to Exadata, we will use a target property. Start by clicking ‘Properties’ 
2.12 Choose ‘Is DB Machine Member’
Page 21 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
2.13 Enter ‘1’ ( which means true ) next to ‘Is DB Machine Member’ then click ‘Search’ to identify the PDBs that run on the Host which are a member of Exadata DB Machine 
2.14 Out of the 25 PDBs , 11 PDBs are running on Exadata Database Machine. 
Clark can send the report by clicking ‘Print’ 
2.15 The Search can be saved for future executions to generate report. Click ‘Save As’ and provide a name , Click ‘Ok’
Page 22 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
Scenario #3. Rapid Clone of Pluggable Database 
Value Proposition: On-demand Cloning of Pluggable Database (PDB) 
 Reduced time and effort by automated Cloning of PDB’s. 
 Fast creation of test benches for Test and Development environments making application lifecycle management lot easier 
 Extensible framework allows customers to incorporate their own scripts along with the out of box feature (Pre and post scripts) 
Business / Technical Challenge: 
One of the biggest IT challenges is to quickly create clones of production databases for Test and Dev instance. 
Oracle’s Solution: 
Oracle Enterprise Manager provides comprehensive automated workflows using which a DBA’s can easily clone PDB’s , this enables automation and effectively lowers the Total Cost of Ownership (TCO). 
Business Case/ Problem Statement 
You have been asked to create a clone of the existing Finance PDB. Use Enterprise Manager’s automated cloning feature to accomplish the task quickly and easily. 
Did you see the request from the Finance apps guys on a test PDB? Should I tell them it’s going to take time? 
On it, just takes few mins and a couple of clicks with EM. (PDB Clone, 5 mins) 
Sep 20th 2013
Page 23 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
3. Clone of Pluggable Databases 
3.1 Go to Databases Home page; From the menu: ‘Targets > Databases’ 
3.2 From the list, choose the 12.1.0.1 Container Database – ‘test .oracle.com’ and click on the database name to navigate to its home page. 
Tip: Use Search to quickly identify the ‘test’ database.
Page 24 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
3.3 Navigate to : ‘Oracle Database > Provisioning > Provision Pluggable Databases’ 
3.4 From the options select “Create Pluggable Databases” and click ‘Launch’
Page 25 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
3.5 From the options of Create, select ‘Clone PDB’ and click search next to Source PDB. 
3.6 Search and select ‘FINANCE’ PDB
Page 26 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
3.7 Click ‘Next’. 
3.8 Specify the name for the new PDB ‘FINANCE1’ 
3.9 Ensure the Preferred Credentials are set as SYSDBA
Page 27 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
3.10 Upon successful verification, click Next 
3.11 Specify the Temporary Working Directory – ‘/tmp’ and click Next. 
3.12 With the default schedule – Immediate , click Next
Page 28 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
3.13 Review the details and Click Submit 
3.14 To review in-depth step by step execution, Click ‘View Execution Details’ 
3.15 Update the View Data time to 30 sec Refresh, select any step as it executes to view Details.
Page 29 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
3.16 Select Create Pluggable Database Job step to view the details. 
Newly cloned PDB – ‘FINANCE1’ is created in just over 2 mins. 
3.17 From the targets menu , select Databases and select the ‘test.us.oracle.com’ database
Page 30 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
3.18 Select the ‘test.us.oracle.com’ database to navigate to its home page. 
3.19 Newly cloned PDB – ‘ FINANCE1’ is listed under the CDB – ‘test.oracle.com’
Page 31 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
Scenario #4. Compliance Mgmt, Topology Viewer 
Solution Overview 
Enterprise Manager automates the validation of database adherence to Oracle as well as internal requirements. Should remediation be needed for detected violations users can graphically display targets and their relationships to one another view perform Impact and Root cause analysis before taking action. Remediation requiring the application of patches can be performed automatically using Patch Plans for single or mass patch deployments. 
Business Case/ Problem Statement 
Apply the corporate database compliance standard to the ERP database and check for any violations of corporate policy. Use topology viewer to determine impacted PDBs to correct CDB violations. Use patch automation to remediate the drift from standard. 
Can you check if the ERP’s DB12 confirms to the compliance mandates? Can you correct any issues seen in the next few weeks before the half yearly meeting? 
Will run it against the Gold Standard to check for violations. Need to review the impact and give you a more accurate timeline on remediation. (Compliance Mgmt., Topology Viewer, Patch Automation 15 mins) 
Sep 23rd 2013
Page 32 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
4. Use the Compliance Standards to check for deviations from corporate standard. 
4.1 Go to Targets->Databases 
4.2 Select ‘erpdb.us.oracle.com’ database to go to its homepage. 
You will receive an informational IO Error message that the Network Adaptor could not establish the connection. This is expected as the target is not available in the Hands on lab environment. Continue after clearing the message.
Page 33 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
4.3 Navigate to ‘Oracle Database ->Compliance -> Standard Associations’. 
4.4 Click on ‘Edit Association Settings’ to associate a new compliance standard to this database. 
4.5 Click ‘Add’ to choose from list of compliance standards.
Page 34 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
4.6 Select ‘Corporate DB Compliance Standard’ and click OK. 
4.7 Click OK to begin compliance evaluation against the selected standard. 
4.8 Click Yes to confirm the association.
Page 35 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
4.9 Click OK. 
4.10 Navigate to ‘Oracle Database -> Compliance->Results’ to view the results of this target’s compliance standings. 
We can see there is 1 critical violation to the Corporate DB compliance standards. Let’s take a look to see what it is.
Page 36 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
4.11 Select ‘Corporate DB Compliance Standard’ and click ‘Show Details’. 
4.12 Select the ‘Mandatory Required Patch – 16705020’ rule to view details of the violation.
Page 37 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
4.13 Select the ‘Violation Events’ tab to get to the details of the violation. 
4.14 Select the event from the table to see more details. 
Here we can see we are missing a mandatory patch as determined by corporate security. The Recommendation tells us to apply the patch. Before we can apply the patch, we need to understand what the impact on PDBs contained in the CDB will be. We will use the topology view to understand the relationship between this CDB and its PDBs.
Page 38 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
Use Topology Viewer to understand CDB/PDB Relationships 
4.15 Navigate to ‘Oracle Database -> Configuration -> Topology’ 
Notice that we can see all of the pluggable databases that are related to this container as well as the listener, oracle home and host. 
PDBs that will be impacted by patching Container Database
Page 39 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
Scenario #5. Patch Automation 
Patching is one of the important phases of the product lifecycle that enables you to keep your software product updated with bug fixes. Oracle releases several types of patches periodically to help you maintain your product. However, patching has always been the most challenging phase of the lifecycle because it is time consuming, complex, risky, and involves downtime. The new Pluggable database feature in Oracle Database 12c simplifies patching in some ways but amplifies the need to maintain a current PDB inventory to ensure the complete impact of applying the patch is understood. 
Solution Overview 
Cloud Control addresses the patching challenges with its much-improved patch management solution that delivers maximum ease with minimum downtime. 
The new patch management solution also offers the following benefits: 
 Integrated patching workflow with My Oracle Support, therefore, you can see Oracle’s recommendations, search patches, and roll out patches all using the same user interface. 
Sep 23rd 2013 
ERP DB needs a patch to be compliant to the new Gold Standard. I also received a mail from the SA (Security Admin) to apply the latest PSU patch. I created a test patch plan with both patches, ran an analysis there aren’t any issues in applying them. With EM12c’s new ‘Out of Place’ automation, prepared a new clone OH and patched it. I just need 10mins in the weekend, will click a button, EM will then switch the Databases and run SQL to complete patch deployment. 
Can you approve and fwd my request. Apps team can spare 10mins this weekend, can’t they  
(Patch Automation. Analyze and Prepare in weekday (25mins). 
Deployment during weekend maintenance - 5 mins)
Page 40 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
 Comprehensive pre-requisite checks to identify issues before the maintenance windows. 
 As a part of analysis, conflicts for patches are checked against your environment. In case of conflicts, automatic merge patch requests are placed directly with Oracle and conflicts are replaced with resolution patches. 
 Supports patching flexible patching options such as rolling and parallel both In Place and Out of Place modes to handle maintenance needs. 
 Patch automation is available for both in offline (disconnected) and online (connected) mode of the EM environments. 
Business Case/ Problem Statement 
You have been asked to patch the CDB along with its PDBs with one-off patches and PSU to mitigate the compliance standard deviation and stick to security guidelines. You have very low margin of error. Use Enterprise Manager 12c’s Patch automation feature to patch the CDB with its PDB in Out of Place patching, reducing the downtime and helps handle any issues during maintenance with ability to switch back to the old Oracle Home. 
5. Use Patch Plans to deploy PSU and other one-off patches to the container and its pluggable Databases. 
Before rolling out the patches to the ERPDB, Clark applies it to the Test Container Database with Pluggable Databases. 
5.1 Navigate to ‘Enterprise -> Provisioning and Patching -> Patches & Updates’
Page 41 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
5.2 Open up Patch recommendations, Click “All Recommendations”. 
Search for target “test.oracle.com” from the list. Switch the type to “Target Name”. 
EM generates automatic patch recommendation list against Oracle recommended patches (like CPUs, PSUs ,Bundle patches..) for all the Databases it manages. This feature can be made available also in OFFLINE or Disconnected EM, where your OMS cannot communicate with outside network or My Oracle Support. 
5.3 Select the PSU patch recommended for 12.1.0.1 Database, click “Add to Plan” and select “Add to New”
Page 42 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
5.4 Provide a name to the plan, recommended format “<YourShortName>_ Patch_CDB_12101 and click ‘Create Plan’. 
5.5 Click ‘View Plan’ to open the plan and navigate to Patches page in the Plan wizard.
Page 43 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
5.6 Click “Add Patch…” to add the patch required based on the corporate compliance standard – patch “16705020”. 
5.7 Add the patch to the plan. Click ‘Add to This Plan’ , search for the CDB – test.oracle.com and add it to the plan.
Page 44 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
5.8 Plan now contains both the patches. Navigate to the next step in the Patch plan - Deployment Options. 
5.9 Patch Plan supports both ‘In-Place’ and ‘Out –of-place’ modes of patching. In this lab, we will follow the new methodology – Out of Place mode. 
For Out-of-Place mode, need to specify the new location of the Oracle Home where the source home would be cloned. Click ‘Create New Location’ .
Page 45 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
5.10 Specify both Home Name – “shortname_psu’ and Home Location. For OH location copy the existing location and change the final directory to ‘db12c_shortname_psu’. Click Validate and after validation, click ‘Create’.
Page 46 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
5.11 Click ‘Review’ and from the review page, submit the plan for the 1st phase – Analysis, to run validation and pre-requisite checks prior to patching. 
5.12 Scroll down the review page to see the Impact targets list. This lists the complete topology of the Container Database and its Pluggable Databases included in this plan. 
5.13 Click ‘Analyze’ to kick off the Analysis. During this phase, plan executes multiple checks; the details can be tracked from the underlying procedure execution. Click ‘Show Detailed’ results.
Page 47 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
Tip: Wait for few seconds, the link for Show detailed results will show up in the Analysis message bar. 
5.14 From the procedure execution, click on a step to see the complete execution logs.
Page 48 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
During Analysis phase, the patch plan runs Patch applicability checks, OUI and Opatch pre-requisite checks, space and inventory checks, target sanity checks, runs specify tools like ‘cluvfy’ for cluster verification, SQL plus sanity check and other custom checks learnt from other Enterprise customers. 
5.15 The Analysis takes about ’10mins..’ in the mean time, check the pre-cooked Patch Plan where Analysis for the same target and patches are completed. 
Switch the older tab , click on ‘Patches and Updates’ to view the list of Patch plans.
Page 49 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
5.16 Click open the plan ‘ CDB12.1_OCTPSU_ANALYZED’. Analysis on the patch plan has run already successfully and the plan is ready for deployment for the next step. Click on ‘Review’
Page 50 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
5.17 The next phase of the plan is called ‘Prepare’. During this phase the source OH is cloned and patched. 
Note: This operation doesn’t need downtime. Typically DBAs can do this before the maintenance window and keep everything prepared for the deployment. 
5.18 This step takes close to 20+mins, we would skip to a plan which is already prepared and proceed to deploy from there. Click on ‘Patches and Updates’ and go to the list of Patch plans page.
Page 51 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
5.19 Choose the patch plan ‘CDB12.1_OCTPSU_PREPARED ‘ and click open or click ‘View’ 
5.20 This patch plan has already been Prepared, that is the source OH is cloned and patched. It’s ready for the deployment of the Database. Click ‘Review’.
Page 52 of 53 
ORACLE ENTERPRISE MANAGER Cloud Control 12c 
Database Lifecycle Management 
5.21 Click ‘Deploy’, this would trigger a procedure to switch the Databases (the CDB and the corresponding PDBs) from old OH to the new OH. 
5.22 Click on ‘Show Details’ in the message bar and track the steps of the Patch Plan’s deployment phase. 
During Deployment, the Database(s) are switched from Old Oracle Home to the new Oracle Home. If there are any SQLs in the patch (say CAT PSU.SQL in PSU patches) will be applied to the DB. The target inventory information and the EM target information is updated with the new OH info making it seamless to monitor within EM. 
It takes about 3-5mins to complete the process. Once completed the Container Database (test) and its Pluggable Databases will be running from the newly patch Oracle Home. 
END OF LAB

Weitere ähnliche Inhalte

Was ist angesagt?

ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIESORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIESLudovico Caldara
 
Database Consolidation using Oracle Multitenant
Database Consolidation using Oracle MultitenantDatabase Consolidation using Oracle Multitenant
Database Consolidation using Oracle MultitenantPini Dibask
 
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive PresentationNabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive PresentationNabil Nawaz
 
OTN TOUR 2016 - Oracle Database 12c - The Best Oracle Database 12c New Featur...
OTN TOUR 2016 - Oracle Database 12c - The Best Oracle Database 12c New Featur...OTN TOUR 2016 - Oracle Database 12c - The Best Oracle Database 12c New Featur...
OTN TOUR 2016 - Oracle Database 12c - The Best Oracle Database 12c New Featur...Alex Zaballa
 
Oracle database 12c new features
Oracle database 12c new featuresOracle database 12c new features
Oracle database 12c new featuresJakkrapat S.
 
HTTP Session Replication with Oracle Coherence, GlassFish, WebLogic
HTTP Session Replication with Oracle Coherence, GlassFish, WebLogicHTTP Session Replication with Oracle Coherence, GlassFish, WebLogic
HTTP Session Replication with Oracle Coherence, GlassFish, WebLogicOracle
 
Oracle Database 12c Release 2 - New Features On Oracle Database Exadata Expr...
Oracle Database 12c Release 2 - New Features On Oracle Database Exadata  Expr...Oracle Database 12c Release 2 - New Features On Oracle Database Exadata  Expr...
Oracle Database 12c Release 2 - New Features On Oracle Database Exadata Expr...Alex Zaballa
 
Oracle DataGuard Online Training in USA | INDIA
Oracle DataGuard Online Training in USA | INDIAOracle DataGuard Online Training in USA | INDIA
Oracle DataGuard Online Training in USA | INDIAXoom Trainings
 
Help! my sql server log file is too big!!! tech republic
Help! my sql server log file is too big!!!   tech republicHelp! my sql server log file is too big!!!   tech republic
Help! my sql server log file is too big!!! tech republicKaing Menglieng
 
Get more I/O performance on fewer servers with Intel Optane DC SSDs
Get more I/O performance on fewer servers with Intel Optane DC SSDsGet more I/O performance on fewer servers with Intel Optane DC SSDs
Get more I/O performance on fewer servers with Intel Optane DC SSDsPrincipled Technologies
 
Ms Sql Server Black Book
Ms Sql Server Black BookMs Sql Server Black Book
Ms Sql Server Black BookLiquidHub
 
High Availability And Oracle Data Guard 11g R2
High Availability And Oracle Data Guard 11g R2High Availability And Oracle Data Guard 11g R2
High Availability And Oracle Data Guard 11g R2Mario Redón Luz
 
Oracle 12c Multi Tenant
Oracle 12c Multi TenantOracle 12c Multi Tenant
Oracle 12c Multi TenantRed Stack Tech
 
Oracle golden gate 12c New Features
Oracle golden gate 12c New FeaturesOracle golden gate 12c New Features
Oracle golden gate 12c New FeaturesSatishbabu Gunukula
 
Oracle RAC 12c and Policy-Managed Databases, a Technical Overview
Oracle RAC 12c and Policy-Managed Databases, a Technical OverviewOracle RAC 12c and Policy-Managed Databases, a Technical Overview
Oracle RAC 12c and Policy-Managed Databases, a Technical OverviewLudovico Caldara
 
Data guard architecture
Data guard architectureData guard architecture
Data guard architectureVimlendu Kumar
 

Was ist angesagt? (20)

21 Pdfsam
21 Pdfsam21 Pdfsam
21 Pdfsam
 
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIESORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
 
Database Consolidation using Oracle Multitenant
Database Consolidation using Oracle MultitenantDatabase Consolidation using Oracle Multitenant
Database Consolidation using Oracle Multitenant
 
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive PresentationNabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
 
OTN TOUR 2016 - Oracle Database 12c - The Best Oracle Database 12c New Featur...
OTN TOUR 2016 - Oracle Database 12c - The Best Oracle Database 12c New Featur...OTN TOUR 2016 - Oracle Database 12c - The Best Oracle Database 12c New Featur...
OTN TOUR 2016 - Oracle Database 12c - The Best Oracle Database 12c New Featur...
 
Oracle database 12c new features
Oracle database 12c new featuresOracle database 12c new features
Oracle database 12c new features
 
HTTP Session Replication with Oracle Coherence, GlassFish, WebLogic
HTTP Session Replication with Oracle Coherence, GlassFish, WebLogicHTTP Session Replication with Oracle Coherence, GlassFish, WebLogic
HTTP Session Replication with Oracle Coherence, GlassFish, WebLogic
 
Oracle Database 12c Release 2 - New Features On Oracle Database Exadata Expr...
Oracle Database 12c Release 2 - New Features On Oracle Database Exadata  Expr...Oracle Database 12c Release 2 - New Features On Oracle Database Exadata  Expr...
Oracle Database 12c Release 2 - New Features On Oracle Database Exadata Expr...
 
Data Guard25 August
Data Guard25 AugustData Guard25 August
Data Guard25 August
 
Oracle DataGuard Online Training in USA | INDIA
Oracle DataGuard Online Training in USA | INDIAOracle DataGuard Online Training in USA | INDIA
Oracle DataGuard Online Training in USA | INDIA
 
Help! my sql server log file is too big!!! tech republic
Help! my sql server log file is too big!!!   tech republicHelp! my sql server log file is too big!!!   tech republic
Help! my sql server log file is too big!!! tech republic
 
Data guard oracle
Data guard oracleData guard oracle
Data guard oracle
 
Get more I/O performance on fewer servers with Intel Optane DC SSDs
Get more I/O performance on fewer servers with Intel Optane DC SSDsGet more I/O performance on fewer servers with Intel Optane DC SSDs
Get more I/O performance on fewer servers with Intel Optane DC SSDs
 
Ms Sql Server Black Book
Ms Sql Server Black BookMs Sql Server Black Book
Ms Sql Server Black Book
 
High Availability And Oracle Data Guard 11g R2
High Availability And Oracle Data Guard 11g R2High Availability And Oracle Data Guard 11g R2
High Availability And Oracle Data Guard 11g R2
 
Oracle 12c Multi Tenant
Oracle 12c Multi TenantOracle 12c Multi Tenant
Oracle 12c Multi Tenant
 
Oracle golden gate 12c New Features
Oracle golden gate 12c New FeaturesOracle golden gate 12c New Features
Oracle golden gate 12c New Features
 
Oracle GoldenGate for Oracle DBAs
Oracle GoldenGate for Oracle DBAsOracle GoldenGate for Oracle DBAs
Oracle GoldenGate for Oracle DBAs
 
Oracle RAC 12c and Policy-Managed Databases, a Technical Overview
Oracle RAC 12c and Policy-Managed Databases, a Technical OverviewOracle RAC 12c and Policy-Managed Databases, a Technical Overview
Oracle RAC 12c and Policy-Managed Databases, a Technical Overview
 
Data guard architecture
Data guard architectureData guard architecture
Data guard architecture
 

Ähnlich wie A lab tutorial about How you can get started and automate DB12c Multitenant lifecycle using Enterprise Manager

Database Lifecycle Management and Cloud Management - Hands on Lab (OOW2014)
Database Lifecycle Management and Cloud Management - Hands on Lab (OOW2014)Database Lifecycle Management and Cloud Management - Hands on Lab (OOW2014)
Database Lifecycle Management and Cloud Management - Hands on Lab (OOW2014)Hari Srinivasan
 
Migration to Oracle 12c Made Easy Using Replication Technology
Migration to Oracle 12c Made Easy Using Replication TechnologyMigration to Oracle 12c Made Easy Using Replication Technology
Migration to Oracle 12c Made Easy Using Replication TechnologyDonna Guazzaloca-Zehl
 
Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle...
Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle...Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle...
Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle...Ludovico Caldara
 
patchVantage Cloud Starter Pack
patchVantage Cloud Starter Pack patchVantage Cloud Starter Pack
patchVantage Cloud Starter Pack David McNish
 
plug-into-cloud-wp-12c-1896100
plug-into-cloud-wp-12c-1896100plug-into-cloud-wp-12c-1896100
plug-into-cloud-wp-12c-1896100Prithvi Rajkumar
 
Oracle database 12c intro
Oracle database 12c introOracle database 12c intro
Oracle database 12c intropasalapudi
 
Automate DG Best Practices
Automate DG  Best PracticesAutomate DG  Best Practices
Automate DG Best PracticesMohsen B
 
UPGRADING FROM ORACLE ENTERPRISE MANAGER 10G TO CLOUD CONTROL 12C WITH ZERO D...
UPGRADING FROM ORACLE ENTERPRISE MANAGER 10G TO CLOUD CONTROL 12C WITH ZERO D...UPGRADING FROM ORACLE ENTERPRISE MANAGER 10G TO CLOUD CONTROL 12C WITH ZERO D...
UPGRADING FROM ORACLE ENTERPRISE MANAGER 10G TO CLOUD CONTROL 12C WITH ZERO D...Leighton Nelson
 
Reliability and performance with ibm db2 analytics accelerator
Reliability and performance with ibm db2 analytics acceleratorReliability and performance with ibm db2 analytics accelerator
Reliability and performance with ibm db2 analytics acceleratorbupbechanhgmail
 
Oracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for ConsolidationOracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for ConsolidationYudi Herdiana
 
Oracle Database 12c "New features"
Oracle Database 12c "New features" Oracle Database 12c "New features"
Oracle Database 12c "New features" Anar Godjaev
 
Oracle 10g to 11g upgrade on sap(10.2.0.5.0 to 11.2.0.3)
Oracle 10g to 11g upgrade on sap(10.2.0.5.0 to 11.2.0.3)Oracle 10g to 11g upgrade on sap(10.2.0.5.0 to 11.2.0.3)
Oracle 10g to 11g upgrade on sap(10.2.0.5.0 to 11.2.0.3)yoonus ch
 
Simplify Consolidation with Oracle Pluggable Databases
Simplify Consolidation with Oracle Pluggable DatabasesSimplify Consolidation with Oracle Pluggable Databases
Simplify Consolidation with Oracle Pluggable Databasesomnidba
 
What is new on 12c for Backup and Recovery? Presentation
What is new on 12c for Backup and Recovery? PresentationWhat is new on 12c for Backup and Recovery? Presentation
What is new on 12c for Backup and Recovery? PresentationFrancisco Alvarez
 
DB2 Real-Time Analytics Meeting Wayne, PA 2015 - IDAA & DB2 Tools Update
DB2 Real-Time Analytics Meeting Wayne, PA 2015 - IDAA & DB2 Tools UpdateDB2 Real-Time Analytics Meeting Wayne, PA 2015 - IDAA & DB2 Tools Update
DB2 Real-Time Analytics Meeting Wayne, PA 2015 - IDAA & DB2 Tools UpdateBaha Majid
 
Things learned from OpenWorld 2013
Things learned from OpenWorld 2013Things learned from OpenWorld 2013
Things learned from OpenWorld 2013Connor McDonald
 
Deploying your Application to SQLRally
Deploying your Application to SQLRallyDeploying your Application to SQLRally
Deploying your Application to SQLRallyJoseph D'Antoni
 

Ähnlich wie A lab tutorial about How you can get started and automate DB12c Multitenant lifecycle using Enterprise Manager (20)

Database Lifecycle Management and Cloud Management - Hands on Lab (OOW2014)
Database Lifecycle Management and Cloud Management - Hands on Lab (OOW2014)Database Lifecycle Management and Cloud Management - Hands on Lab (OOW2014)
Database Lifecycle Management and Cloud Management - Hands on Lab (OOW2014)
 
Migration to Oracle 12c Made Easy Using Replication Technology
Migration to Oracle 12c Made Easy Using Replication TechnologyMigration to Oracle 12c Made Easy Using Replication Technology
Migration to Oracle 12c Made Easy Using Replication Technology
 
Oracle Database 12c : Multitenant
Oracle Database 12c : MultitenantOracle Database 12c : Multitenant
Oracle Database 12c : Multitenant
 
Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle...
Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle...Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle...
Oracle RAC, Oracle Data Guard, and Pluggable Databases: When MAA Meets Oracle...
 
patchVantage Cloud Starter Pack
patchVantage Cloud Starter Pack patchVantage Cloud Starter Pack
patchVantage Cloud Starter Pack
 
plug-into-cloud-wp-12c-1896100
plug-into-cloud-wp-12c-1896100plug-into-cloud-wp-12c-1896100
plug-into-cloud-wp-12c-1896100
 
Oracle database 12c intro
Oracle database 12c introOracle database 12c intro
Oracle database 12c intro
 
Automate DG Best Practices
Automate DG  Best PracticesAutomate DG  Best Practices
Automate DG Best Practices
 
UPGRADING FROM ORACLE ENTERPRISE MANAGER 10G TO CLOUD CONTROL 12C WITH ZERO D...
UPGRADING FROM ORACLE ENTERPRISE MANAGER 10G TO CLOUD CONTROL 12C WITH ZERO D...UPGRADING FROM ORACLE ENTERPRISE MANAGER 10G TO CLOUD CONTROL 12C WITH ZERO D...
UPGRADING FROM ORACLE ENTERPRISE MANAGER 10G TO CLOUD CONTROL 12C WITH ZERO D...
 
Upgrading 11i E-business Suite to R12 E-business Suite
Upgrading 11i E-business Suite to R12 E-business SuiteUpgrading 11i E-business Suite to R12 E-business Suite
Upgrading 11i E-business Suite to R12 E-business Suite
 
Reliability and performance with ibm db2 analytics accelerator
Reliability and performance with ibm db2 analytics acceleratorReliability and performance with ibm db2 analytics accelerator
Reliability and performance with ibm db2 analytics accelerator
 
Oracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for ConsolidationOracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for Consolidation
 
Oracle Database 12c "New features"
Oracle Database 12c "New features" Oracle Database 12c "New features"
Oracle Database 12c "New features"
 
Oracle 10g to 11g upgrade on sap(10.2.0.5.0 to 11.2.0.3)
Oracle 10g to 11g upgrade on sap(10.2.0.5.0 to 11.2.0.3)Oracle 10g to 11g upgrade on sap(10.2.0.5.0 to 11.2.0.3)
Oracle 10g to 11g upgrade on sap(10.2.0.5.0 to 11.2.0.3)
 
Simplify Consolidation with Oracle Pluggable Databases
Simplify Consolidation with Oracle Pluggable DatabasesSimplify Consolidation with Oracle Pluggable Databases
Simplify Consolidation with Oracle Pluggable Databases
 
1z0-997-21.pdf
1z0-997-21.pdf1z0-997-21.pdf
1z0-997-21.pdf
 
What is new on 12c for Backup and Recovery? Presentation
What is new on 12c for Backup and Recovery? PresentationWhat is new on 12c for Backup and Recovery? Presentation
What is new on 12c for Backup and Recovery? Presentation
 
DB2 Real-Time Analytics Meeting Wayne, PA 2015 - IDAA & DB2 Tools Update
DB2 Real-Time Analytics Meeting Wayne, PA 2015 - IDAA & DB2 Tools UpdateDB2 Real-Time Analytics Meeting Wayne, PA 2015 - IDAA & DB2 Tools Update
DB2 Real-Time Analytics Meeting Wayne, PA 2015 - IDAA & DB2 Tools Update
 
Things learned from OpenWorld 2013
Things learned from OpenWorld 2013Things learned from OpenWorld 2013
Things learned from OpenWorld 2013
 
Deploying your Application to SQLRally
Deploying your Application to SQLRallyDeploying your Application to SQLRally
Deploying your Application to SQLRally
 

Kürzlich hochgeladen

2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 

Kürzlich hochgeladen (20)

2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 

A lab tutorial about How you can get started and automate DB12c Multitenant lifecycle using Enterprise Manager

  • 1. Oracle DB12c Multitenant Database Lifecycle Management with Oracle Enterprise Manager
  • 2. Page 1 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management Oracle Database 12c Lifecycle Management with Oracle Enterprise Manager The objective of this lab is to showcase the Oracle Enterprise Manager Cloud Control 12c’s lifecycle management capabilities for the new Database 12c Pluggable Databases. Scenario: Company “Plug Inc” decides to adopt Database 12c’s Pluggable Databases. Sally (the DBA Manager) asks Clark (the DBA lead) to start the migration of the Databases to DB12’s Pluggable Databases in the next 3 months. Sally also wants Clark to start providing DB12c PDB for any new Database request unless it’s for Production. The following conversation is set in the 2 months from the launch of Oracle Database 12c. Can you also add - How many of these PDBs are running on Exadata versus non- Exadata? Sure. (Inventory Reports and Configuration Search, 10 mins) Clark, hope we are not creating anything other than PDB unless it’s a production request. Can you send me a report? Definitely. In fact, will send 2 reports to contrast things better for management reporting - #1 How many of our DBs are PDB vs Regular? #2 DB versions in Non production post the mandate to show its all PDBs. JULY 2013 Oracle Releases DB12c Great job with PDB testing, the results were impressive. Good news is that now we have new licenses for DB12. Can you start moving old databases to PDBs using a phased approach? Thanks. Got a head start using a test license and deployed a few PDBs. Will ‘MIGRATE’ the HR Database from test environment to a PDB. It takes just a few clicks using EM. (Migrate to PDBs, 20 mins) Aug 5th 2013 Sep 17th 2013 02:00 PM Sep 17th 2013 02:08 PM Did you see the request from the Finance apps guys on a test PDB? Should I tell them it’s going to take time? On it, just takes few mins and a couple of clicks with EM. (PDB Clone, 5 mins) Can you check if the ERP’s DB12 confirms to the compliance mandates? Can you correct any issues seen in the next few weeks before the half yearly meeting? Will run it against the Gold Standard to check for violations. Need to review the impact and give you a more accurate timeline on remediation. (Compliance Mgmt., Topology Viewer, Patching 15 mins) Sep 20th 2013 Sep 23rd 2013
  • 3. Page 2 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management Getting Started The following exercises are based on Enterprise Manager 12c Release 3 (12.1.0.3) with latest Database and My Oracle Support Plug-ins (12.1.0.5). This lab is constructed on an Enterprise Manager 12c setup which manages: 1. A Standalone Database 11gR2 (11.2.0.3) (Used in Scenario #1 for Migration) 2. A DB12c (12.1.0.1) Container Database (called ‘test.oracle.com’) with 5 Pluggable Databases. 3. Some additional Databases of 11.2.0.3 and 12.1.0.1 releases for Configuration Mgmt. exercises. You could directly try the use cases in your local EM environment. If you want to participate in Oracle’s workshop, contact your local Oracle sales or account team. Sep 23rd 2013 ERP DB needs a patch to be compliant to the new Gold Standard. I also received a mail from the SA (Security Admin) to apply the latest PSU patch. I created a test patch plan with both the patches, ran an analysis. There aren’t any issues in applying them. With EM12c’s new ‘Out of Place’ automation, prepared a new clone OH and patched it. I just need 10mins in the weekend, will click a button, EM will then switch the Databases and run SQL to complete patch deployment. All of these with no touch to the target or EM for updating info. Can you approve and fwd my request. Apps team can spare 10mins this weekend, can’t they  (Patch Automation. Analyze and Prepare in weekday (25mins). Deployment during weekend maintenance - 5 mins)
  • 4. Page 3 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management Scenario #1. Migrate non DB12 to a Pluggable Database Solution Overview Oracle Multitenant simplifies the consolidation process by plugging multiple databases into a multitenant container database without changing applications. It also provides comprehensive automated workflows using which DBA’s can easily migrate their database to a CDB. Use Oracle Enterprise Manager Cloud Control to manage enterprise configurations by:  Provisioning Container Databases (CDB) with one or many Pluggable Databases (PDB) (Basic deployment from scratch)  Automate Migration of the non CDBs to a PDB (Focus in this lab) Business Case/ Problem Statement You have been asked to migrate a 11.2.0.3 database to a Pluggable database (PDB) inside an existing Container database (CDB). Use Enterprise Manager 12c’s automated PDB migration feature to perform the migration quickly. JULY 2013 Oracle Releases DB12c Great job with PDB testing, the results were impressive. Good news is that now we have new licenses for DB12. Can you start moving old databases to PDBs in phase wise manner? Thanks. Got some head start, used a test license and deployed few PDBs. Will ‘MIGRATE’ the HR Database from test environment to a PDB. It just takes a few clicks using EM. (Migrate to PDBs, 20 mins) Aug 5th 2013
  • 5. Page 4 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management 1. Migrate 11.2.0.3 DB into a Pluggable (PDB) within an existing Container Database (CDB) 1.1 Login using username: oracle and password: oracle12 1.2 Navigate to menu options Targets->Databases
  • 6. Page 5 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management 1.3 From the list, choose 12.1.0.1.0 Container Database – ‘test .oracle.com’ and Click on the database name to navigate to its home page. Tip: Use Search to quickly identify the ‘test’ database. 1.4 From the database home page, navigate to ‘Provisioning -> Provision Pluggable Databases’.
  • 7. Page 6 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management 1.5 Select the ‘Migrate Existing Databases’ option from the PDB Operation list and click ‘Launch’ You can Provision Pluggable Databases inside a Container Databases,.. 1.6 From the options of data migration, choose ‘Use Oracle Data Pump Full Transportable…’ option. Migration path for a non Container Database (CDB): a) Plug as a PDB Method: PDB based migration is supported for non-CDBs of version 12.1 or higher. This option creates an XML description of the database that is used to create the PDB. The datafiles will also be copied over as part of the migration. b) Data Pump Method: Data Pump based migration is supported for non-CDBs of version 11.2.0.3 or higher. This option will use Oracle Data Pump to export the data from non-CDB which will be imported into the PDB using Oracle Data Pump import. The datafiles will also be copied over as part of the migration.
  • 8. Page 7 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management 1.7 Credentials are already set as Preferred, click Next 1.8 Click “Add” and select the database “hr3.oracle.com” of the version 11.2.0.3.
  • 9. Page 8 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management 1.9 Change the Database Credentials to ‘SYSDBA Database Credentials’ and Database Host Credentials to ‘HOST-ORACLE’ named credential.
  • 10. Page 9 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management 1.10 Complete the interview with the following information:, Export Directory - /tmp PDB Properties - PDB Administrator : ‘oracle’ , Password ‘oracle12’ Import Directory - /tmp
  • 11. Page 10 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management 1.11 Specify data file location by clicking Browse next to ‘Datafile Location’ and select ‘cdata’ directory row then click OK.
  • 12. Page 11 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management 1.12 Click ‘Next’ , the action runs the validations 1.13 Click ‘Close’ after successful Validations
  • 13. Page 12 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management 1.14 From the schedule page, retain the default schedule ‘Immediately’ , click ‘Next’ 1.15 Verify the details on the Review page, click ‘Submit’ 1.16 Upon submission the details of the job can be viewed directly via ‘View Job’ button
  • 14. Page 13 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management 1.17 The process steps and details can be tracked from the Procedure Activity page. The ‘hr3’ 11.2.0.3 Database will be migrated as a Pluggable Database into the Container Database – test. The process of migration takes about 30 minutes. We will return to see the results of the migration process in lab 6. For now, continue on in the lab. Skip to the next exercise.
  • 15. Page 14 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management Scenario #2. Using Inventory & Configuration Search Business Case/ Problem Statement You have been asked to report on the current and historic distribution of PDBs to regular databases as well as how many PDBs are running on an Exadata. Use the Inventory and Usage details page as well as Configuration Search to answer these requests quickly. 2.1 Navigate to menu options Enterprise->Configuration->Inventory and Usage Details Can you also add - How many of these PDBs are running on Exadata versus non- Exadata? Sure. (Inventory Reports and Configuration Search, 10 mins) Clark, hope we are not creating anything other than PDB unless it’s a production request. Can you send me a report? Definitely. In fact, will send 2 reports to contrast things better for management - #1 How many of our DBs are PDB vs Regular? #2 DB versions in Non production post the mandate to show its all PDBs. Sep 17th 2013 02:00 PM Sep 17th 2013 02:08 PM
  • 16. Page 15 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management 2.2 Choose “Databases” from list next to Show. By default we see the distribution of databases by database version. Clark’s response to “How many PDBs versus Regular Databases we have?” For sending the report in a mail, do print screen and paste in the mail. 2.3 Select the rows for ‘Database versions – 10.2.0.4’, ‘ Database Instance 11.2.0.3’ and ‘Pluggable Database 12.1.0.1’ and Click ‘View Details’.
  • 17. Page 16 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management 2.4 Switch the Chart view to ‘Trend’ to see the historical trend of the growth of different Database version Here we can see the answer to the first question posed by Sally which was to ensure no new databases have been created that were not PDBs. We can see there are now 25 PDBs in the environment. Now let’s move on see how many are installed on Exadata Database Machines.
  • 18. Page 17 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management Configuration Search Creating a configuration search to identify how many out of ‘25’ PDBs are on Exadata Database Machine. 2.5 Navigate to menu options Enterprise->Configuration-> Search. 2.6 Click ‘Create’ to create a new Configuration search. EM12c provides pre-defined Configuration search templates, users can create custom search using the collected configuration properties of the targets. The search can be saved for repeated or future usage.
  • 19. Page 18 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management 2.7 Select the Target Type to ‘Pluggable Database’ 2.8 To figure out if the PDBs are on Exadata or not, add a Relationship
  • 20. Page 19 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management 2.9 Choose the Destination Target type to ‘Host’ 2.10 Choose the Relationship Type as ‘Hosted by’ and Click ‘OK’
  • 21. Page 20 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management 2.11 To indicate we want to restrict our selection to Exadata, we will use a target property. Start by clicking ‘Properties’ 2.12 Choose ‘Is DB Machine Member’
  • 22. Page 21 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management 2.13 Enter ‘1’ ( which means true ) next to ‘Is DB Machine Member’ then click ‘Search’ to identify the PDBs that run on the Host which are a member of Exadata DB Machine 2.14 Out of the 25 PDBs , 11 PDBs are running on Exadata Database Machine. Clark can send the report by clicking ‘Print’ 2.15 The Search can be saved for future executions to generate report. Click ‘Save As’ and provide a name , Click ‘Ok’
  • 23. Page 22 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management Scenario #3. Rapid Clone of Pluggable Database Value Proposition: On-demand Cloning of Pluggable Database (PDB)  Reduced time and effort by automated Cloning of PDB’s.  Fast creation of test benches for Test and Development environments making application lifecycle management lot easier  Extensible framework allows customers to incorporate their own scripts along with the out of box feature (Pre and post scripts) Business / Technical Challenge: One of the biggest IT challenges is to quickly create clones of production databases for Test and Dev instance. Oracle’s Solution: Oracle Enterprise Manager provides comprehensive automated workflows using which a DBA’s can easily clone PDB’s , this enables automation and effectively lowers the Total Cost of Ownership (TCO). Business Case/ Problem Statement You have been asked to create a clone of the existing Finance PDB. Use Enterprise Manager’s automated cloning feature to accomplish the task quickly and easily. Did you see the request from the Finance apps guys on a test PDB? Should I tell them it’s going to take time? On it, just takes few mins and a couple of clicks with EM. (PDB Clone, 5 mins) Sep 20th 2013
  • 24. Page 23 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management 3. Clone of Pluggable Databases 3.1 Go to Databases Home page; From the menu: ‘Targets > Databases’ 3.2 From the list, choose the 12.1.0.1 Container Database – ‘test .oracle.com’ and click on the database name to navigate to its home page. Tip: Use Search to quickly identify the ‘test’ database.
  • 25. Page 24 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management 3.3 Navigate to : ‘Oracle Database > Provisioning > Provision Pluggable Databases’ 3.4 From the options select “Create Pluggable Databases” and click ‘Launch’
  • 26. Page 25 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management 3.5 From the options of Create, select ‘Clone PDB’ and click search next to Source PDB. 3.6 Search and select ‘FINANCE’ PDB
  • 27. Page 26 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management 3.7 Click ‘Next’. 3.8 Specify the name for the new PDB ‘FINANCE1’ 3.9 Ensure the Preferred Credentials are set as SYSDBA
  • 28. Page 27 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management 3.10 Upon successful verification, click Next 3.11 Specify the Temporary Working Directory – ‘/tmp’ and click Next. 3.12 With the default schedule – Immediate , click Next
  • 29. Page 28 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management 3.13 Review the details and Click Submit 3.14 To review in-depth step by step execution, Click ‘View Execution Details’ 3.15 Update the View Data time to 30 sec Refresh, select any step as it executes to view Details.
  • 30. Page 29 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management 3.16 Select Create Pluggable Database Job step to view the details. Newly cloned PDB – ‘FINANCE1’ is created in just over 2 mins. 3.17 From the targets menu , select Databases and select the ‘test.us.oracle.com’ database
  • 31. Page 30 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management 3.18 Select the ‘test.us.oracle.com’ database to navigate to its home page. 3.19 Newly cloned PDB – ‘ FINANCE1’ is listed under the CDB – ‘test.oracle.com’
  • 32. Page 31 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management Scenario #4. Compliance Mgmt, Topology Viewer Solution Overview Enterprise Manager automates the validation of database adherence to Oracle as well as internal requirements. Should remediation be needed for detected violations users can graphically display targets and their relationships to one another view perform Impact and Root cause analysis before taking action. Remediation requiring the application of patches can be performed automatically using Patch Plans for single or mass patch deployments. Business Case/ Problem Statement Apply the corporate database compliance standard to the ERP database and check for any violations of corporate policy. Use topology viewer to determine impacted PDBs to correct CDB violations. Use patch automation to remediate the drift from standard. Can you check if the ERP’s DB12 confirms to the compliance mandates? Can you correct any issues seen in the next few weeks before the half yearly meeting? Will run it against the Gold Standard to check for violations. Need to review the impact and give you a more accurate timeline on remediation. (Compliance Mgmt., Topology Viewer, Patch Automation 15 mins) Sep 23rd 2013
  • 33. Page 32 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management 4. Use the Compliance Standards to check for deviations from corporate standard. 4.1 Go to Targets->Databases 4.2 Select ‘erpdb.us.oracle.com’ database to go to its homepage. You will receive an informational IO Error message that the Network Adaptor could not establish the connection. This is expected as the target is not available in the Hands on lab environment. Continue after clearing the message.
  • 34. Page 33 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management 4.3 Navigate to ‘Oracle Database ->Compliance -> Standard Associations’. 4.4 Click on ‘Edit Association Settings’ to associate a new compliance standard to this database. 4.5 Click ‘Add’ to choose from list of compliance standards.
  • 35. Page 34 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management 4.6 Select ‘Corporate DB Compliance Standard’ and click OK. 4.7 Click OK to begin compliance evaluation against the selected standard. 4.8 Click Yes to confirm the association.
  • 36. Page 35 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management 4.9 Click OK. 4.10 Navigate to ‘Oracle Database -> Compliance->Results’ to view the results of this target’s compliance standings. We can see there is 1 critical violation to the Corporate DB compliance standards. Let’s take a look to see what it is.
  • 37. Page 36 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management 4.11 Select ‘Corporate DB Compliance Standard’ and click ‘Show Details’. 4.12 Select the ‘Mandatory Required Patch – 16705020’ rule to view details of the violation.
  • 38. Page 37 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management 4.13 Select the ‘Violation Events’ tab to get to the details of the violation. 4.14 Select the event from the table to see more details. Here we can see we are missing a mandatory patch as determined by corporate security. The Recommendation tells us to apply the patch. Before we can apply the patch, we need to understand what the impact on PDBs contained in the CDB will be. We will use the topology view to understand the relationship between this CDB and its PDBs.
  • 39. Page 38 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management Use Topology Viewer to understand CDB/PDB Relationships 4.15 Navigate to ‘Oracle Database -> Configuration -> Topology’ Notice that we can see all of the pluggable databases that are related to this container as well as the listener, oracle home and host. PDBs that will be impacted by patching Container Database
  • 40. Page 39 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management Scenario #5. Patch Automation Patching is one of the important phases of the product lifecycle that enables you to keep your software product updated with bug fixes. Oracle releases several types of patches periodically to help you maintain your product. However, patching has always been the most challenging phase of the lifecycle because it is time consuming, complex, risky, and involves downtime. The new Pluggable database feature in Oracle Database 12c simplifies patching in some ways but amplifies the need to maintain a current PDB inventory to ensure the complete impact of applying the patch is understood. Solution Overview Cloud Control addresses the patching challenges with its much-improved patch management solution that delivers maximum ease with minimum downtime. The new patch management solution also offers the following benefits:  Integrated patching workflow with My Oracle Support, therefore, you can see Oracle’s recommendations, search patches, and roll out patches all using the same user interface. Sep 23rd 2013 ERP DB needs a patch to be compliant to the new Gold Standard. I also received a mail from the SA (Security Admin) to apply the latest PSU patch. I created a test patch plan with both patches, ran an analysis there aren’t any issues in applying them. With EM12c’s new ‘Out of Place’ automation, prepared a new clone OH and patched it. I just need 10mins in the weekend, will click a button, EM will then switch the Databases and run SQL to complete patch deployment. Can you approve and fwd my request. Apps team can spare 10mins this weekend, can’t they  (Patch Automation. Analyze and Prepare in weekday (25mins). Deployment during weekend maintenance - 5 mins)
  • 41. Page 40 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management  Comprehensive pre-requisite checks to identify issues before the maintenance windows.  As a part of analysis, conflicts for patches are checked against your environment. In case of conflicts, automatic merge patch requests are placed directly with Oracle and conflicts are replaced with resolution patches.  Supports patching flexible patching options such as rolling and parallel both In Place and Out of Place modes to handle maintenance needs.  Patch automation is available for both in offline (disconnected) and online (connected) mode of the EM environments. Business Case/ Problem Statement You have been asked to patch the CDB along with its PDBs with one-off patches and PSU to mitigate the compliance standard deviation and stick to security guidelines. You have very low margin of error. Use Enterprise Manager 12c’s Patch automation feature to patch the CDB with its PDB in Out of Place patching, reducing the downtime and helps handle any issues during maintenance with ability to switch back to the old Oracle Home. 5. Use Patch Plans to deploy PSU and other one-off patches to the container and its pluggable Databases. Before rolling out the patches to the ERPDB, Clark applies it to the Test Container Database with Pluggable Databases. 5.1 Navigate to ‘Enterprise -> Provisioning and Patching -> Patches & Updates’
  • 42. Page 41 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management 5.2 Open up Patch recommendations, Click “All Recommendations”. Search for target “test.oracle.com” from the list. Switch the type to “Target Name”. EM generates automatic patch recommendation list against Oracle recommended patches (like CPUs, PSUs ,Bundle patches..) for all the Databases it manages. This feature can be made available also in OFFLINE or Disconnected EM, where your OMS cannot communicate with outside network or My Oracle Support. 5.3 Select the PSU patch recommended for 12.1.0.1 Database, click “Add to Plan” and select “Add to New”
  • 43. Page 42 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management 5.4 Provide a name to the plan, recommended format “<YourShortName>_ Patch_CDB_12101 and click ‘Create Plan’. 5.5 Click ‘View Plan’ to open the plan and navigate to Patches page in the Plan wizard.
  • 44. Page 43 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management 5.6 Click “Add Patch…” to add the patch required based on the corporate compliance standard – patch “16705020”. 5.7 Add the patch to the plan. Click ‘Add to This Plan’ , search for the CDB – test.oracle.com and add it to the plan.
  • 45. Page 44 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management 5.8 Plan now contains both the patches. Navigate to the next step in the Patch plan - Deployment Options. 5.9 Patch Plan supports both ‘In-Place’ and ‘Out –of-place’ modes of patching. In this lab, we will follow the new methodology – Out of Place mode. For Out-of-Place mode, need to specify the new location of the Oracle Home where the source home would be cloned. Click ‘Create New Location’ .
  • 46. Page 45 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management 5.10 Specify both Home Name – “shortname_psu’ and Home Location. For OH location copy the existing location and change the final directory to ‘db12c_shortname_psu’. Click Validate and after validation, click ‘Create’.
  • 47. Page 46 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management 5.11 Click ‘Review’ and from the review page, submit the plan for the 1st phase – Analysis, to run validation and pre-requisite checks prior to patching. 5.12 Scroll down the review page to see the Impact targets list. This lists the complete topology of the Container Database and its Pluggable Databases included in this plan. 5.13 Click ‘Analyze’ to kick off the Analysis. During this phase, plan executes multiple checks; the details can be tracked from the underlying procedure execution. Click ‘Show Detailed’ results.
  • 48. Page 47 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management Tip: Wait for few seconds, the link for Show detailed results will show up in the Analysis message bar. 5.14 From the procedure execution, click on a step to see the complete execution logs.
  • 49. Page 48 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management During Analysis phase, the patch plan runs Patch applicability checks, OUI and Opatch pre-requisite checks, space and inventory checks, target sanity checks, runs specify tools like ‘cluvfy’ for cluster verification, SQL plus sanity check and other custom checks learnt from other Enterprise customers. 5.15 The Analysis takes about ’10mins..’ in the mean time, check the pre-cooked Patch Plan where Analysis for the same target and patches are completed. Switch the older tab , click on ‘Patches and Updates’ to view the list of Patch plans.
  • 50. Page 49 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management 5.16 Click open the plan ‘ CDB12.1_OCTPSU_ANALYZED’. Analysis on the patch plan has run already successfully and the plan is ready for deployment for the next step. Click on ‘Review’
  • 51. Page 50 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management 5.17 The next phase of the plan is called ‘Prepare’. During this phase the source OH is cloned and patched. Note: This operation doesn’t need downtime. Typically DBAs can do this before the maintenance window and keep everything prepared for the deployment. 5.18 This step takes close to 20+mins, we would skip to a plan which is already prepared and proceed to deploy from there. Click on ‘Patches and Updates’ and go to the list of Patch plans page.
  • 52. Page 51 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management 5.19 Choose the patch plan ‘CDB12.1_OCTPSU_PREPARED ‘ and click open or click ‘View’ 5.20 This patch plan has already been Prepared, that is the source OH is cloned and patched. It’s ready for the deployment of the Database. Click ‘Review’.
  • 53. Page 52 of 53 ORACLE ENTERPRISE MANAGER Cloud Control 12c Database Lifecycle Management 5.21 Click ‘Deploy’, this would trigger a procedure to switch the Databases (the CDB and the corresponding PDBs) from old OH to the new OH. 5.22 Click on ‘Show Details’ in the message bar and track the steps of the Patch Plan’s deployment phase. During Deployment, the Database(s) are switched from Old Oracle Home to the new Oracle Home. If there are any SQLs in the patch (say CAT PSU.SQL in PSU patches) will be applied to the DB. The target inventory information and the EM target information is updated with the new OH info making it seamless to monitor within EM. It takes about 3-5mins to complete the process. Once completed the Container Database (test) and its Pluggable Databases will be running from the newly patch Oracle Home. END OF LAB