Documente Academic
Documente Profesional
Documente Cultură
Student Guide
D73067GC11
Edition 1.1
November 2012
D79616
Authors Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Lachlan Williams This document contains proprietary information and is protected by copyright and
other intellectual property laws. You may copy and print this document solely for your
own use in an Oracle training course. The document may not be modified or altered
Technical Contributors in any way. Except where your use constitutes "fair use" under copyright law, you
and Reviewers may not use, share, download, upload, copy, print, display, perform, reproduce,
publish, license, post, transmit, or distribute this document in whole or in part without
Jeff Anderson the express authorization of Oracle.
Adam Crosby
The information contained in this document is subject to change without notice. If you
Akanksha Sheoran Kaler find any problems in the document, please report them in writing to: Oracle University,
500 Oracle Parkway, Redwood Shores, California 94065 USA. This document is not
David Parker warranted to be error-free.
Werner de Gruyter
Restricted Rights Notice
Steven Lemme
Peter Wallace If this documentation is delivered to the United States Government or anyone using
the documentation on behalf of the United States Government, the following notice is
Trademark Notice
Graphic Designer
Maheshwari Krishnamurthy Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names
may be trademarks of their respective owners.
Publishers
Syed Imtiaz Ali
Pavithran Adka
Contents
1 Introduction
Course Goals 1-2
Lesson Objectives 1-3
Oracle Enterprise Manager Cloud Control 12c 1-4
Cloud Control 12c Major Themes 1-5
Oracle VM Server in the Classroom 1-6
3 Upgrade Paths
Objectives 3-2
Upgrade Paths 3-3
Upgrade Console 3-4
A Choice of Two Upgrade Processes 3-5
1-System Upgrade Process 3-7
1-System Upgrade Process: Steps 1 and 2 3-8
1-System Upgrade Process: Step 3 3-10
iii
1-System Upgrade Process: Step 4 3-11
1-System Upgrade Process: Step 5 3-12
1-System Upgrade Process: Step 6 3-13
1-System Upgrade Process: Step 7 3-14
1-System Upgrade Process: Step 8 3-15
1-System Upgrade Process: Step 9 3-16
1-System Upgrade Process: Step 10 3-17
Quiz 3-18
Practice 3-1 Overview: 1-System Upgrade (10g to 12c) 3-21
Practice 3-2 Overview: 1-System Upgrade (11g to 12c) 3-22
2-System Upgrade Process 3-23
2-System Upgrade Process: Steps 1 and 2 3-24
4 Implementation Planning
Objectives 4-2
Enterprise Manager Implementation Lifecycle 4-3
The Implementation Plan 4-5
Infrastructure Growth 4-7
An Enterprise Manager Site 4-9
One Site Managing the Entire IT Enterprise 4-10
Multiple Sites Managing the IT Enterprise 4-11
Sizing the Repository 4-12
OMR Lifecycle and Security 4-14
OMS Lifecycle and Security 4-15
Elements of High Availability 4-16
Four Levels of High Availability 4-18
High-Availability Sample Designs Level 2: Standby OMS and Repository 4-20
High-Availability Sample Designs Level 3: Recovery via Redundant
Components 4-21
iv
High-Availability Sample Designs Level 4: Active and Passive Recovery 4-22
The Availability Continuum 4-23
Summary 4-24
v
Oracle Internal & Oracle Academy Use Only
Introduction
This course is designed to give you hands-on experience in installing Enterprise Manager
Cloud Control 12c and upgrading from earlier versions. You are introduced to the general
architecture of an Enterprise Manager Cloud Control 12c installation and topologies within
which it can be deployed, as well as considerations to be taken into account when planning a
Cloud Control implementation.
User Experience
Business Transactions
...OTHER Business-Driven
WEB PRODUCT ORDER BUSINESS Application
PORTAL CATALOG ENTRY SERVICES Management
Business Services
Enterprise-
Ready
Framework
Applications Cloud
Management Management
Chargeback and
Middleware
Capacity
Management
Planning
Application
Configuration
Quality
Management
Management
Provisioning
and Patching
Oracle Enterprise Manager Cloud Control 12c has been built around ten major themes. Some
of the key aspects of each theme are listed here:
• Enterprise Ready Framework: Plug-in-based management of targets, user interface
redesign, named credentials
• Cloud Management: OVM server and server pool management, cloud topology viewer
• Chargeback and Capacity Planning: Chargeback based on selected target types,
reporting on usage and trends
• Exadata and Exalogic Management: InfiniBand monitoring, real-time and historical
system views
• Configuration Management: Configuration tracking, comparisons, compliance
checking
• Provisioning and Patching: Separation of provisioning design and execution, self-
update, mass database patching
• Application Quality Management: Application replay, real application testing, data
masking
• Database Management: Database creation and upgrade via Cloud Control
• Middleware Management: Improved discovery, monitoring, provisioning, diagnostics
• Applications Management: Fusion Applications management improvements
Classroom PC
em12.example.com em10g.example.com em11g.example.com
This practice familiarizes you with the Oracle VM Server environment installed on the student
machine that you use for all subsequent practices in the course.
Managed
Hosts
Grid Control
Console
Oracle Management
Repository
Oracle Management
WebLogic Server Administrator
Agent(s)
OMS
As the illustration shows, the OMS is actually composed of J2EE applications deployed on
Oracle WebLogic Server:
• The Console serves up all the /em URLs. It can be considered to be the Cloud Control
Console.
• PBS (Platform Background Services) serves up all the /empbs URLs. It is where agents
upload their metrics.
• OCMRepeater is the link between EM CC and My Oracle Support for consolidating
configuration data collected from agents.
The OMS communicates with the agents deployed throughout the enterprise, receiving
uploaded metric data from them and storing it in the Oracle Management Repository for future
reference. The OMS also applies built-in and user-defined rules against received metrics to
determine whether a condition exists that needs to be raised as an alert. There is also
communication from the OMS to the agents of instructions to execute against their monitored
targets, as a result of either a job within the OMS or the actions of an administrator. Cloud
Control administrators and users interact with the OMS via the Cloud Control Console web
pages.
The Oracle Management Agent is a Java application that runs on a host, gathering metric
data about the host environment as well as using plug-ins to discover, monitor, and manage
targets running on that host. The plug-ins gather configuration information from their targets
and monitor their availability and performance, as well as managing those targets as directed
by the OMS.
A target is any software or system for which there is a plug-in. The list of targets includes
entities such as Oracle Database, Oracle Database Listener, Oracle Application Server and
Oracle WebLogic Server, E-Business Suite, SOA, Exadata, and Exalogic. Using the Oracle
Enterprise Manager Extensibility Framework, plug-ins can be developed by third party
software vendors to monitor and manage their products, and even by individual organizations
to monitor and manage in-house built applications. Only one agent is required on a host to be
able to monitor and manage all the targets running on that host.
Each agent plug-in is specific to a particular target type and offers special management
capabilities customized to suit that target type. To discover, monitor, and manage any given
target, the agent must have the appropriate plug-in installed. However, only the plug-ins that
are required by the installed targets need to be installed on any given agent.
Oracle
Management
Server
4889 / 4900
7788 / 7799
HTTP / HTTPS
HTTP / HTTPS
3872 / 3872
Oracle Management
Cloud Control
Oracle
Management
Repository
The communication flow between the Cloud Control components is illustrated using
directional arrows to indicate the initiator of the communication. All the ports shown and listed
below are default values that can be changed during installation, either by the installer as it
searches for available ports, or explicitly by you. You can also change ports after installation.
• The agent uploads data to the OMS via HTTP on port 4889 or via HTTPS on port 4900.
• The OMS communicates with the agent via HTTP or HTTPS on port 3872, depending
on whether the agent is unsecured or secured respectively.
• The OMS communicates with the OMR via JDBC on port 1521.
• Cloud Control Console users access the Cloud Control web pages via HTTPS on port
7799 or via HTTP on port 7788.
Knowing the ports used in your Cloud Control installation is important, especially should you
be managing hosts behind firewalls or where other network restrictions apply, because
communication will need to be allowed on these ports and in the directions shown.
Oracle Management
Service
Once the agent has been installed on a host, it needs to look for targets that it can manage.
As a Cloud Control administrator, you can guide that process using the Cloud Control
Console Add Non-Host Wizard. Guided discovery allows you to nominate a family of target
types to search for, such as database and listeners, and then the agents where you want that
search to be executed. When any new targets are discovered, the appropriate plug-in is
pushed from the OMS if required, the target is recorded in the OMR, and monitoring
commences.
You can also configure auto discovery to run at regular intervals and get agents to search for
known targets unattended, allowing you to review the results at a later stage and promote
discovered targets to become managed targets.
Prior to installation of 11g Grid Control, you had to install Oracle WebLogic Server 10.3.2.
Now, the installer for Cloud Control 12c installs WebLogic Server 10.3.5 for you if you do not
already have it installed. A consequence of this is that you can initiate the installation of an
additional OMS on another host from within Cloud Control itself rather than having to run the
Universal Installer on that host as was the case in 11g.
Enterprise Manager Cloud Control 12c represents a complete redesign of the product. Where
the earlier agents contained the metrics collection and management logic for all possible
targets, the 12c agent comprises a core that uses target-specific plug-ins to monitor and
manage targets. These plug-ins can be delivered by Oracle or by third parties using the
Extensibility Framework. Furthermore, plug-ins can be updated using the auto-update feature
and this can be done independently of the core agent and vice versa, thus ensuring that the
maintenance required to keep up to date with enhancements in the core and the plug-ins is
streamlined.
Answer: b, d
Although it is important to be relaxed and well hydrated, it is vital that you are familiar with the
installation process before embarking upon an installation of Enterprise Manager Cloud
Control 12c. This includes checking the environment where you propose to install Enterprise
Manager Cloud Control 12c against all documented prerequisites and addressing any
deficiencies that are found before starting the installation.
In this practice, you install a database instance to be used for the OMR, and you then install
Oracle Enterprise Manager Cloud Control 12c onto the same server as the OMR instance.
Then you log in to the Cloud Control Console and use guided discovery to install the Oracle
Management Agent on a host and discover the targets running on that host.
In this practice, you look at the various home pages available for selection and then explore
the Cloud Control Console.
12c
11.1
10.2.0.5
Earlier
Releases
The Upgrade Console is installed into your current OMS by applying Patch 14375077 and is
primarily used to coordinate and control the deployment of and switchover to the 12c agents.
It also provides a guide to the overall upgrade processes and reports the progress of your
upgrade.
You provide the Upgrade Console with the location of your 12c agent software, and it checks
whether you have all the platform versions and plug-ins required to upgrade your currently
deployed agents.
When your agent software is in a good state, you use the Upgrade Console to install the 12c
agent onto your managed hosts alongside the current agent, and then to perform the actual
switchover.
• 1-System upgrade
– An upgrade of current Grid Control OMR and agents to
Cloud Control 12c
• 2-System upgrade
– A migration of OMR and agents from the current Grid Control
to Cloud Control 12c
• Agent/OMS compatibility across versions:
The Upgrade Console guides you through the two possible upgrade processes: a 1-System
upgrade or a 2-System upgrade.
1-System Upgrade
• Current OMS is shut down prior to 12c installation.
• The current OMR is upgraded.
• Agents must all be switched over together, because the OMR has been upgraded and
can only be used by EM Cloud Control 12c.
• The upgrade is an “all-or-nothing” upgrade where the success or failure of the upgrade
is immediately apparent.
2-System Upgrade
• Current OMS is still running while 12c is installed elsewhere.
• A copy of the current OMR is upgraded.
• Agents can be switched over in a rolling fashion.
• The upgrade can be thought of as a migration between versions.
Detailed steps for each process are outlined in the following slides.
The steps of the 1-System upgrade process are described in detail on the following pages.
12c
Current
OMR
Apply Upgrade Console Patch, Configure, and Manage 12c Agent Software
The first step in the 1-System upgrade process (and also in the 2-System upgrade process) is
to install the 12c Upgrade Console into the current OMS by applying Patch 14375077 for
10.2.0.5 or 11.1.0.1.0 Enterprise Manager Grid Control. Once installed, the Upgrade Console
serves as a reference point for the steps in all upgrade processes as well as the point from
which the agent upgrade is controlled.
Before proceeding further, you need to provide the Upgrade Console with details of your
planned Enterprise Manager 12c installation if you are installing Cloud Control 12c on a new
server.
Next, you must manage the 12c agent and plug-in software. This involves downloading and
staging the 12c agent and plug-in software in a location that the current Grid Control owner
can read and write to. The software can be downloaded from the Oracle Technology Network
(OTN) for any platform; however, the Cloud Control 12c distribution includes that platform’s
plug-in software in the Disk1/plugins directory. Use the Upgrade Console to validate the
12c agent and plug-in software, which checks that the distribution is intact.
The validation also checks that all plug-ins are available that are required by the currently
managed targets, and reports any missing plug-ins that must be downloaded and staged
alongside the standard 12c agent distribution (the distribution will include only the database
and middleware plug-ins).
12c
Current
OMR
12c
Current
OMR
Current
OMR
Current Current
OMR OMR
Backup
Current Current
OMR OMR
Backup
Downtime
Step 7 in the 1-System upgrade is where you shut down the current OMS. At this point your
current Enterprise Manager Grid Control system is unavailable. The recently deployed 12c
agents are still gathering metric data, but your current Grid Control Console cannot be
accessed, nor will Grid Control be issuing any alerts. It is important that you are aware of this
downtime when you plan your upgrade, and that you ensure that all interested parties are
aware that there will be a system outage when the upgrade takes place.
12c Current
OMR OMR
Backup
12c Current
OMR OMR
Backup
12c Current
OMR OMR
Backup
Answer: a, d
Deploying the 12c agent before shutting down the current agent is an easily understood
concept, because it makes sense to keep the current agent up and running for as long as
possible while we prepare the 12c agent.
On the other hand, deploying the 12c agent before installing the 12c OMS appears
counterintuitive at first glance, because the 12c agent will not have anywhere to upload its
data. However this does not mean that the 12c agent will not be collecting data, and because
the current OMR is going to be reused as the 12c OMR, we must shut down the current OMS
before performing the OMS/OMR upgrade, which in turn means that the current agent will no
longer have anywhere to upload data.
Answer: b
Strictly speaking, you should consider the current Grid Control unavailable for the entire
1-System upgrade process, not only because this sets a firm expectation in the minds of all
those who use and rely on Grid Control, but also because contingency plans for monitoring
and management need to be put in place as the managed hosts and targets continue to
operate and be used even though Grid Control will be temporarily unavailable.
Communication with your “customer base” is an important aspect of any operation of this
type, and should be given serious consideration from the start of the upgrade planning
process, alongside the technical aspects.
Answer: e
You’re not going to use the backup of the OMR as part of the upgrade, so why do it? Because
it mitigates against the unforeseeable, and taking a backup at a specific point in time will give
you the confidence to proceed safe in the knowledge that you can revert if you have to.
Including a possible reinstatement of the current OMS in your upgrade plan is vital. Even if
your site does not impose change control processes that strictly require and enforce a change
window that includes a point in time at which the call must be made to roll back, planning for
failure is one of the keys to avoiding it.
Furthermore, be sure to use the same backup process in your upgrade tests that will be used
in the production upgrade, and also include a rollback as part of your upgrade tests to ensure
that the backup is usable.
The steps of the 2-System upgrade process are described in detail on the following pages.
12c
Current
OMR
Apply Upgrade Console Patch, Configure, and Manage 12c Agent Software
As with the 1-System upgrade process, the first step in the 2-System upgrade process is to
install the 12c Upgrade Console into the current OMS by applying Patch 14375077 for
10.2.0.5 or 11.1.0.1.0 Enterprise Manager Grid Control. Just as in the 1-System upgrade
process, the Upgrade Console serves as a reference point for the steps in all upgrade
processes as well as the point from which the agent upgrade is controlled.
Before proceeding further, you need to provide the Upgrade Console with details of your
planned Enterprise Manager 12c installation.
Next you must manage the 12c agent and plug-in software. The method and steps you need
to undertake are the same as for the 1-System upgrade process. This involves downloading
and staging the 12c agent and plug-in software in a location that the current Grid Control
owner can read and write to. The software can be downloaded from Oracle Technology
Network (OTN) for any platform. However, the Cloud Control 12c distribution includes that
platform’s plug-in software in Disk1/plugins directory. Use the Upgrade Console to
validate the 12c agent and plug-in software, which checks that the distribution is intact.
The validation also checks that all plug-ins are available that are required by the currently
managed targets, and reports on any missing plug-ins that need to be downloaded and
staged alongside the standard 12c agent distribution (the distribution will include only the
database and middleware plug-ins).
Current Copy of
OMR Current
OMR
Current 12c
OMR OMR
12c
Current
OMR
12c
Current
OMR
Current 12c
OMR OMR
Metrics
Delta
Switch Over to 12c Agents and Backfill the Metric Collection Gap
The seventh step in the 2-System upgrade is to switch over one or more managed hosts from
the current agents to the 12c agents. You must view and sign off its health check report
before you can switch over an agent.
You initiate the switchover from the Upgrade Console in the current OMS. Each current agent
that you selected will be queisced. Then any metric data yet to be uploaded gets uploaded.
Then the current agent is shut down and the 12c agent is started and begins uploading data
to the 12c OMS.
Unlike the 1-System upgrade process, you do not need to switch over all your current agents
at the same time as the current OMS and its agents are still operating.
Also in contrast to the 1-System upgrade, the 12c OMR will have a metrics gap from the time
that Step 2 was performed (copy the OMR) to the time the 12c agent is started. However,
unlike the 1-System upgrade process, the current OMS has still been receiving data from the
current agent and storing it in the current OMR since the copy was made, so after the agent is
switched over, the Upgrade Console sends across all the metric data collected by the current
agent to fill the gap.
Current 12c
OMR OMR
Answer: a, e
Unlike the 1-System upgrade, there are no conceptual difficulties in the 2-System upgrade.
It makes sense to deploy the 12c agent before shutting down the current agent, and to do so
after the 12c OMS is installed and available for the 12c agent to immediately start working
with.
Answer: e
Although the current OMR is effectively backed up as part of the 2-System upgrade process,
you should still formally include keeping a separate copy of the current OMR as part of your
upgrade plan. This may seem unnecessary given that the 2-System upgrade allows for both
the current and Cloud Control 12c environments to run in parallel thereby implying no
downtime or loss of service. However, you should still include the “usual” precautions and
rollback steps in your upgrade plan.
Post-Upgrade Tasks
The Post-Upgrade Console and associated tasks are viewed from the Cloud Control 12c
Console by navigating to Setup … Manage Cloud Control … Post Upgrade Tasks.
A variety of tabs are available depending on the type of upgrade process that you have
followed.
Targets with Pending Activation
This tab is specific to the 2-System upgrade, and lists all targets that have not yet been
switched over to be managed by the 12c OMS. Initially, the list is the complete set of targets
that were recorded in the current OMR, minus the central agent. The central agent is not
considered to be an agent that needs to be migrated, given that the current OMS and OMR
will be decommissioned at the end of the process, and in the meantime can be monitored by
the current OMS.
Accrued Data Migration
This tab is specific to the 2-System upgrade, and shows the status of the jobs that migrate
data accumulated by the current OMS in the time between taking the copy of the current OMR
and finally switching over to the 12c agent. The jobs are listed by target, and you can drill
down to see information about the job, as well as retry or stop the job. Accrued Data Migration
jobs are executed as database jobs.
Growth Is Inevitable
An enterprise-wide management system such as Cloud Control is considered because the
enterprise is large enough to dictate it, so growth is inevitable in the managed hosts and
targets that fall under the scope of Cloud Control. As such, your Cloud Control infrastructure
may need to grow too.
Initial Rollout Size
There is no hard and fast rule for determining the size of the infrastructure that should be
placed under Cloud Control, although you can estimate the volume of metric data that will be
gathered by the agents and hence the potential growth of your OMR. As long as you plan
carefully, you can always grow the infrastructure as your Cloud Control enterprise expands. In
particular, you can provide for future growth by:
• Using RAC for your OMR, even if it is just a single-node cluster, to give it the potential to
scale
• Avoiding communicating directly from the agents to an OMS. Instead, use the
abstracted management server or load balancer hostname.
• Using non-local (shared) storage for your software library to ease the transition to
multiple OMSes in the future
Having one Enterprise Manager site to monitor and manage your entire enterprise implies:
• One set of hardware
• A centralized infrastructure
• Global network access to all machines
• Global security requirements
Advantages:
• A centralized global view of the entire IT enterprise
• Security controlled at one point
• One monitoring standard enforceable at a single point
Disadvantages:
• An increased requirement for high availability because your site may be utilized across
multiple time zones and the International Dateline
Using multiple Enterprise Manager sites to monitor and manage your enterprise implies:
• Multiple sets of hardware for each site
• Multiple localized infrastructures for each site
• Localized network access to the managed hosts is all that is required.
• Local security requirements can be enforced and are all that need to be adhered to.
Advantages:
• Restricted access to only local targets for local administrators
• Allows specialized management setup per site (SLA, notifications, monitoring)
Disadvantages:
• There is no centralized overview of entire enterprise.
Because of the complexities involved, you should only consider using multiple sites if the
business requirements demand it. Regardless of your implementation plan, it is
recommended that your initial rollout consist of just a single site to remove a layer of
complexity and potential problems in the short term.
• High availability
– Eliminating single points of failure
• Disaster recovery
– Recovering from failure
• Maximum availability architecture
– Combining HA and DR elements
• Level 0: Out-of-the-box
• Level 1: Storage-level protection
• Level 2: Standby OMS and Repository
• Level 3: Recovery via redundant components
• Level 4: Active and passive recovery
Load Balancer
Primary Secondary
Site Site
Load
Balancer
Physical
Standby
100.0
99.5
99.0
98.5
Availability* %
98.0
97.5
97.0
96.5
* Note: Percentages shown are not based on actual data but are for illustrative purposes only.