SlideShare a Scribd company logo
Managing Oracle Enterprise
Manager Cloud Control 12c
with Oracle Clusterware
Session ID#UGF9794
Leighton L. Nelson
Mercy
About Me
‱ Oracle DBA for 10+ years
‱ Oracle ACE
‱ Oracle Certified Expert: RAC and Grid Infrastructure
11gR2
‱ Co-Author Expert Oracle Enterprise Manager Cloud
Control 12c – Apress 2013
‱ Oracle RAC SIG US Events Chair/IOUG Liaison
Agenda
‱ OEM 12c Architecture Overview
‱ OEM High Availability
‱ Level 2 HA Configuration
‱ Oracle Clusterware Setup
‱ OEM Installation
‱ OEM Failover
‱ Management Repository Configuration
OEM 12c Architecture Overview
OEM High Availability Levels
Level Description Load Balancer Required Cost
1 OMS and Repository on separate hosts.
No redundancy.
No $
2 OMS installed on shared storage with VIP used in
active/passive failover.
Repository Database using local Data Guard.
No $$
3 Multiple OMSs in active/active configuration.
Repository using RAC Database with local Data Guard
Yes, At primary site $$$
4 Primary OMS in active/active configuration with RAC
Repository database. Standby OMS at DR site in
active/active configuration. Standby RAC database at
DR site
Yes. At pimary and standby
sites
$$$$
Level 2 – Active/Passive HA
‱ A minimum of 2 Servers Required
‱ OMS binaries installed on shared filesystem
‱ NFS/OCFS2/DBFS/ACFS
‱ OMS can run on one node in cluster at any given
time
‱ Data Guard for Management Repository
Level 2 – Active/Passive OMS
Level 2 – Active/Passive OMS
Oracle Clusterware Setup
‱ Clusterware can be used to create/manage VIP
‱ 11.2+ uses appvipcfg for VIP
<GRID_HOME>/bin/appvipcfg create -network=1 
-ip=192.168.1.0 
-vipname=omsvip 
-user=root
‱ VIP can be created on non-default network
‱ In Oracle 12c Flex Clusters app vips can be create on
leaf nodes
‱ Allow Oracle Grid Infrastructure software owner (e.g.
grid) to run the script to start the VIP.
<GRID_HOME>/bin/crsctl setperm resource omsvip -u user:grid:r-x
Oracle Clusterware Setup
‱ Start the VIP as the GI owner e.g. grid
<GRID_HOME>/bin/crsctl start resource omsvip
‱ Check the status of the VIP
<GRID_HOME>/bin/crsctl status resource omsvip
The status of the output should be similar to the following:
NAME=omsvip
TYPE=app.appvip_net1.type
TARGET=ONLINE
STATE=ONLINE on oms1
Oracle Clusterware Setup
‱ Check if virtual hostname and VIP are resolvable
nslookup <omsvip>
‱ Also do a reverse lookup of the IP address.
nslookup <virtual IP address>
‱ Verify that the IP address returned from the nslookup
output is running on the OMS host.
ifconfig –a | grep <virtual IP address>
OEM Installation
‱ Create ORACLE_HOME for the OMS on the shared
storage on all nodes in the cluster
mkdir –p /u01/app/oms_share
‱ Create Oracle Inventory directory under ORACLE_HOME
for the OMS on all nodes
mkdir /u01/app/oms_share/oraInventory
‱ Create the inventory pointer in the oraInventory directory
vi oraInst.loc
inventory loc=/u01/app/oracle/oms_share/oraInventory
inst_group=oinstall
OEM Installation
‱ Install OEM by setting ORACLE_HOSTNAME
environment variable
runInstaller -invPtrloc /u01/app/oms_share/oraInst.loc
ORACLE_HOSTNAME=omsvip.example.com –debug
OEM Failover
‱ To manually relocate the VIP to another host in the
cluster issue the following command.
$crsctl relocate res omsvip
CRS-2673: Attempting to stop 'omsvip' on 'oms1'
CRS-2677: Stop of 'omsvip' on 'oms1' succeeded
CRS-2672: Attempting to start 'omsvip' on 'oms2'
CRS-2676: Start of 'omsvip' on 'oms2' succeeded
‱ Check if the IP address associated with the VIP is
running on the relocated host.
ifconfig –a|grep <vip>
OEM Failover
‱ Establish IP on failover server (done through Clusterware)
‱ Start listener (if part of same failover group)
‱ Start database (if required)
‱ Set the ORACLE_HOSTNAME environment variable to the
virtual hostname. Continuing with our example we use the
command below.
export ORACLE_HOSTNAME=omsvip.example.com
‱ Start the OMS on the new node
$OMS_HOME/bin/emctl start oms
Add OEM Clusterware resource
‱ OEM can be added as Clusterware resource
‱ Administrator managed (static, 2 – nodes)
‱ Policy managed (dynamic, > 2 nodes)
‱ Handled through Agent Framework
‱ C/C++
‱ Create Action Script
‱ Store on shared storage
‱ Specify START/STOP/CHECK/ABORT routines
Example
$ crsctl add server pool oem_sp -attr
"PARENT_POOLS=Generic, SERVER_NAMES=oms1 oms2”
$ crsctl add resource oem -type cluster_resource -attr
"ACTION_SCRIPT=/opt/cluster/scripts/oem12c.scr,
PLACEMENT='restricted',
SERVER_POOLS=oem_sp,
CHECK_INTERVAL='30',
RESTART_ATTEMPTS='2',
START_DEPENDENCIES='hard(omsvip)',
STOP_DEPENDENCIES='hard(omssvip)'"
Clusterware resource
‱ Oracle 12c introduced a new generic_application resource
type
crsctl add resource oem -type generic_application -attr
"START_PROGRAM='$OMS_HOME/bin/emctl start oms',
STOP_PROGRAM='$OMS_HOME/bin/emctl stop oms',
CLEAN_PROGRAM='$OMS_HOME/bin/emctl stop oms –all
-force',
CHECK_PROGRAM='$OMS_HOME/bin/emctl status oms'
Management Repository
‱ Can be configured using Data Guard with Fast-Failover
‱ Also can be configured with RAC/RAC One Node
‱ Storage becomes SPOF
‱ Listeners should be reachable from all nodes in cluster
‱ Database should be started before starting OEM
Configure OEM with Data Guard Repo
Create database service for fast failover.
Configure OEM with Data Guard Repo
emctl config oms -store_repos_details -repos_conndesc
'"(DESCRIPTION=(FAILOVER=ON)
(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)
(HOST=repo1)(PORT=1521))
(ADDRESS=(PROTOCOL=TCP)(HOST=repo2)
(PORT=1521)))
(CONNECT_DATA=(SERVICE_NAME=emrep))
(FAILOVER_MODE=(TYPE=select)(METHOD=basic)))"'
-repos_user sysman
Configure OEM with RAC/RAC One Node Repo
emctl config oms -store_repos_details -repos_conndesc "
(DESCRIPTION= (ADDRESS=(PROTOCOL=TCP)
(HOST=emrep-scan.example.com)(PORT=1521) )
(CONNECT_DATA=(SERVER=DEDICATED)
(SERVICE_NAME = emrep)))"
-repos_user sysman
References
‱ How to Configure Grid Control OMS in Active/Passive
CFC Environments failover / HA (Doc ID 405642.1)
‱ How to Configure the OMS Connect String when
Repository is in a Dataguard setup [ID 1328768.1]
‱ Oracle¼ Clusterware Administration and Deployment
Guide12c Release 1
COLLABORATE14.IOUG.ORGCOLLABORATE14.IOUG.ORG
‱ Network with 5,000+ database and
application professionals
‱ 5 days of in-depth education built by
users, for users
‱ Complimentary Pre-Conference
Workshops for IOUG registrants
April 7 – 11, 2014
The Venetian Resort,
Las Vegas, NV
Attend for free!
IOUG’s Call for Speakers is now open
collaborate14.ioug.org/call-for-speakers
Communities
Training Close to HomeTraining Close to Home
Maximum Availability Architecture
with Oracle’s Larry Carpenter and Joe Meeks
October 15: Milwaukee, WI
October 16: Rochester, NY
Performance and Internals with Craig Shallahamer
November 6: Chicago, IL
November 8: Atlanta, GA
Get more information at www.ioug.org/masterclass
or visit the IOUG kiosk in Moscone West, 2nd
floor
IOUG Master Class Series Returns
Coming soon to a city near you!
One Day Interactive Training Events to meet your
educational needs
Come See IOUG at the User Group PavilionCome See IOUG at the User Group Pavilion
Win a Free Registration to COLLABORATE 14!
Stop by the IOUG kiosk in the User Group Pavilion in
Moscone West, 2nd floor, to pick up a lucky poker chip and
see if you are a winner of a free registration to
COLLABORATE 14 in Las Vegas!
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.27
Complimentary eBook
Register Now
www.mhprofessional.com/dbsec
Use Code: db12c
THANK YOU
http://blogs.griddba.com
linkedin.com/pub/leighton-nelson/4/6b8/a7a
@leight0nn
leighton.nelson@mercy.net

More Related Content

ODP
Nagios Conference 2012 - Mike Weber - Failover
Nagios
 
PPTX
Hostvn ceph in production v1.1 dungtq
Viet Stack
 
DOCX
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
Yury Velikanov
 
PDF
[NYC Meetup] Docker at Nuxeo
Nuxeo
 
PPT
SaltConf14 - Oz Akan, Rackspace - Deploying OpenStack Marconi with SaltStack
SaltStack
 
PDF
Ef09 installing-alfresco-components-1-by-1
Angel Borroy LĂłpez
 
PPT
Jurijs Velikanovs - RAC Attack 101 - How to install 12c RAC on your laptop
Andrejs Vorobjovs
 
PDF
Oracle Linux and Oracle Database - A Trusted Combination
Guatemala User Group
 
Nagios Conference 2012 - Mike Weber - Failover
Nagios
 
Hostvn ceph in production v1.1 dungtq
Viet Stack
 
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
Yury Velikanov
 
[NYC Meetup] Docker at Nuxeo
Nuxeo
 
SaltConf14 - Oz Akan, Rackspace - Deploying OpenStack Marconi with SaltStack
SaltStack
 
Ef09 installing-alfresco-components-1-by-1
Angel Borroy LĂłpez
 
Jurijs Velikanovs - RAC Attack 101 - How to install 12c RAC on your laptop
Andrejs Vorobjovs
 
Oracle Linux and Oracle Database - A Trusted Combination
Guatemala User Group
 

What's hot (20)

PDF
[2018.10.19] êč€ìš©êž° 부임 - IAC on OpenStack (feat. ansible)
OpenStack Korea Community
 
PDF
Install and upgrade Oracle grid infrastructure 12.1.0.2
Biju Thomas
 
PDF
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1
Osama Mustafa
 
PDF
Essential Linux Commands for DBAs
Gokhan Atil
 
PPT
Looking at RAC, GI/Clusterware Diagnostic Tools
Leighton Nelson
 
PDF
ïżŒOpenStack Deployment with Chef Workshop
Matt Ray
 
PDF
Linux conna kpatch-without-stopmachine-fixed
Tommy Lee
 
PPTX
Salty OPS – Saltstack Introduction
Walter Liu
 
PDF
Supercharging Content Delivery with Varnish
Samantha Quiñones
 
PDF
Janice Singh - Writing Custom Nagios Plugins
Nagios
 
PDF
Oaktable World 2014 Kevin Closson: SLOB – For More Than I/O!
Kyle Hailey
 
PDF
[였픈소슀컚섀팅] EFK Stack 소개와 ì„€ìč˜ ë°©ëȕ
Open Source Consulting
 
PDF
Install Solaris 11.1 on a Virtualbox VM
Laurent Leturgez
 
PPTX
VMworld 2016: vSphere 6.x Host Resource Deep Dive
VMworld
 
PDF
Chef for OpenStack: OpenStack Spring Summit 2013
Matt Ray
 
DOCX
Guide - Migrating from Heroku to AWS using CloudFormation
Rob Linton
 
PPT
Cloug Troubleshooting Oracle 11g Rac 101 Tips And Tricks
Scott Jenner
 
PDF
Dan Norris: Exadata security
Kyle Hailey
 
PDF
Nagios Conference 2011 - Mike Weber - Training: Reducing Nagios Server Load ...
Nagios
 
PDF
PGConf.ASIA 2019 Bali - Mission Critical Production High Availability Postgre...
Equnix Business Solutions
 
[2018.10.19] êč€ìš©êž° 부임 - IAC on OpenStack (feat. ansible)
OpenStack Korea Community
 
Install and upgrade Oracle grid infrastructure 12.1.0.2
Biju Thomas
 
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1
Osama Mustafa
 
Essential Linux Commands for DBAs
Gokhan Atil
 
Looking at RAC, GI/Clusterware Diagnostic Tools
Leighton Nelson
 
ïżŒOpenStack Deployment with Chef Workshop
Matt Ray
 
Linux conna kpatch-without-stopmachine-fixed
Tommy Lee
 
Salty OPS – Saltstack Introduction
Walter Liu
 
Supercharging Content Delivery with Varnish
Samantha Quiñones
 
Janice Singh - Writing Custom Nagios Plugins
Nagios
 
Oaktable World 2014 Kevin Closson: SLOB – For More Than I/O!
Kyle Hailey
 
[였픈소슀컚섀팅] EFK Stack 소개와 ì„€ìč˜ ë°©ëȕ
Open Source Consulting
 
Install Solaris 11.1 on a Virtualbox VM
Laurent Leturgez
 
VMworld 2016: vSphere 6.x Host Resource Deep Dive
VMworld
 
Chef for OpenStack: OpenStack Spring Summit 2013
Matt Ray
 
Guide - Migrating from Heroku to AWS using CloudFormation
Rob Linton
 
Cloug Troubleshooting Oracle 11g Rac 101 Tips And Tricks
Scott Jenner
 
Dan Norris: Exadata security
Kyle Hailey
 
Nagios Conference 2011 - Mike Weber - Training: Reducing Nagios Server Load ...
Nagios
 
PGConf.ASIA 2019 Bali - Mission Critical Production High Availability Postgre...
Equnix Business Solutions
 
Ad

Viewers also liked (20)

PPTX
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Leighton Nelson
 
PPT
Configuring Oracle Enterprise Manager Cloud Control 12c for High Availability
Leighton Nelson
 
DOC
Configuring Oracle Enterprise Manager Cloud Control 12c for HA White Paper
Leighton Nelson
 
PPTX
Big data oracle_introduccion
Fran Navarro
 
PPTX
Big Data & Oracle Technologies
Oleksii Movchaniuk
 
PDF
OOW15 - Oracle Enterprise Manager Cloud Control for Managing Oracle E-Busines...
vasuballa
 
PPT
Oracle enterprise manager cloud control 12c
solarisyougood
 
PPTX
Oracle enterprise manager cloud control 12c
solarisyougood
 
PDF
Zero to Manageability in 60 Minutes: Building a Solid Foundation for Oracle E...
Courtney Llamas
 
PPTX
Data center Trends with Oracle
Fran Navarro
 
PPTX
Total cloud control with oracle enterprise manager 12c
solarisyougood
 
PPTX
Em13c New Features- One of Two
Kellyn Pot'Vin-Gorman
 
PPTX
Upgrading Em13c Collaborate 2016
Kellyn Pot'Vin-Gorman
 
PPTX
Em13c New Features- Two of Two
Kellyn Pot'Vin-Gorman
 
PDF
Oracle - Enterprise Manager 12c Overview
Fred Sim
 
PDF
Oracle Enterprise Manager Cloud Control 13c for DBAs
Gokhan Atil
 
PPTX
Oracle Enterprise Manager 12c: The Oracle Monitoring tool of choice – Why yo...
Jeff Kayser
 
PDF
Oracle Enterprise Manager
Bob Rhubart
 
PDF
Oracle Enterprise Manager Cloud Control 13c for DBAs
Gokhan Atil
 
PDF
OOW16 - Running your E-Business Suite on Oracle Cloud (IaaS + PaaS) - Why, Wh...
vasuballa
 
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Leighton Nelson
 
Configuring Oracle Enterprise Manager Cloud Control 12c for High Availability
Leighton Nelson
 
Configuring Oracle Enterprise Manager Cloud Control 12c for HA White Paper
Leighton Nelson
 
Big data oracle_introduccion
Fran Navarro
 
Big Data & Oracle Technologies
Oleksii Movchaniuk
 
OOW15 - Oracle Enterprise Manager Cloud Control for Managing Oracle E-Busines...
vasuballa
 
Oracle enterprise manager cloud control 12c
solarisyougood
 
Oracle enterprise manager cloud control 12c
solarisyougood
 
Zero to Manageability in 60 Minutes: Building a Solid Foundation for Oracle E...
Courtney Llamas
 
Data center Trends with Oracle
Fran Navarro
 
Total cloud control with oracle enterprise manager 12c
solarisyougood
 
Em13c New Features- One of Two
Kellyn Pot'Vin-Gorman
 
Upgrading Em13c Collaborate 2016
Kellyn Pot'Vin-Gorman
 
Em13c New Features- Two of Two
Kellyn Pot'Vin-Gorman
 
Oracle - Enterprise Manager 12c Overview
Fred Sim
 
Oracle Enterprise Manager Cloud Control 13c for DBAs
Gokhan Atil
 
Oracle Enterprise Manager 12c: The Oracle Monitoring tool of choice – Why yo...
Jeff Kayser
 
Oracle Enterprise Manager
Bob Rhubart
 
Oracle Enterprise Manager Cloud Control 13c for DBAs
Gokhan Atil
 
OOW16 - Running your E-Business Suite on Oracle Cloud (IaaS + PaaS) - Why, Wh...
vasuballa
 
Ad

Similar to Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware (20)

PDF
Racsig rac internals
pv_narayanan
 
PPT
les_01.ppt of the Oracle course train_1 file
YulinLiu27
 
PDF
Understanding oracle rac internals part 1 - slides
Mohamed Farouk
 
PPT
EM12C High Availability without SLB and RAC
Secure-24
 
PDF
Best practices oracle_clusterware_session355_wp
wardell henley
 
DOC
Configuring oracle enterprise manager cloud control 12 c for high availability
Son Hyojin
 
PDF
Oracle RAC 12c Best Practices Sanger OOW13 [CON8805]
Markus Michalewicz
 
PDF
UKOUG Tech15 - Deploying Oracle 12c Cloud Control in Maximum Availability Arc...
Zahid Anwar (OCM)
 
PDF
Oracle RAC 12c Best Practices with Appendices DOAG2013
Markus Michalewicz
 
PDF
Oracle RAC 12c Collaborate Best Practices - IOUG 2014 version
Markus Michalewicz
 
PDF
AIOUG-GroundBreakers-Jul 2019 - 19c RAC
Sandesh Rao
 
PDF
Presentation Template - NCOAUG Conference Presentation - 16 9
Mohamed Sadek
 
PPTX
tow nodes Oracle 12c RAC on virtualbox
justinit
 
PPT
01_Architecture_JFV14_01_Architecture_JFV14.ppt
MahmoudGad93
 
PPTX
SAOUG - Connect 2014 - Flex Cluster and Flex ASM
Alex Zaballa
 
PPSX
RAC - The Savior of DBA
Nikhil Kumar
 
PDF
Smart monitoring how does oracle rac manage resource, state ukoug19
Anil Nair
 
PDF
How to get started with Oracle Cloud Infrastructure
Simo Vilmunen
 
PDF
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Sandesh Rao
 
PPTX
Oracle virtual appliance
solarisyougood
 
Racsig rac internals
pv_narayanan
 
les_01.ppt of the Oracle course train_1 file
YulinLiu27
 
Understanding oracle rac internals part 1 - slides
Mohamed Farouk
 
EM12C High Availability without SLB and RAC
Secure-24
 
Best practices oracle_clusterware_session355_wp
wardell henley
 
Configuring oracle enterprise manager cloud control 12 c for high availability
Son Hyojin
 
Oracle RAC 12c Best Practices Sanger OOW13 [CON8805]
Markus Michalewicz
 
UKOUG Tech15 - Deploying Oracle 12c Cloud Control in Maximum Availability Arc...
Zahid Anwar (OCM)
 
Oracle RAC 12c Best Practices with Appendices DOAG2013
Markus Michalewicz
 
Oracle RAC 12c Collaborate Best Practices - IOUG 2014 version
Markus Michalewicz
 
AIOUG-GroundBreakers-Jul 2019 - 19c RAC
Sandesh Rao
 
Presentation Template - NCOAUG Conference Presentation - 16 9
Mohamed Sadek
 
tow nodes Oracle 12c RAC on virtualbox
justinit
 
01_Architecture_JFV14_01_Architecture_JFV14.ppt
MahmoudGad93
 
SAOUG - Connect 2014 - Flex Cluster and Flex ASM
Alex Zaballa
 
RAC - The Savior of DBA
Nikhil Kumar
 
Smart monitoring how does oracle rac manage resource, state ukoug19
Anil Nair
 
How to get started with Oracle Cloud Infrastructure
Simo Vilmunen
 
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Sandesh Rao
 
Oracle virtual appliance
solarisyougood
 

More from Leighton Nelson (12)

PPT
IOUG Collaborate 2015 - PDB Cloning Using SQL Commands
Leighton Nelson
 
PDF
Oracle Enteprise Manager Cloud Control 12c - Setting Up Metrics and Monitorin...
Leighton Nelson
 
PPTX
A Second Look at Oracle RAC 12c
Leighton Nelson
 
PPTX
PDB Provisioning with Oracle Multitenant Self Service Application
Leighton Nelson
 
PDF
Database-as-a-Service with Oracle Enterprise Manager Cloud Control 12c and Or...
Leighton Nelson
 
PPT
Oracle Enterprise Manager Cloud Control 12c - Top 10 Features for DBAs
Leighton Nelson
 
PPTX
SQL Developer for DBAs
Leighton Nelson
 
PDF
UPGRADING FROM ORACLE ENTERPRISE MANAGER 10G TO CLOUD CONTROL 12C WITH ZERO D...
Leighton Nelson
 
PDF
Migrating from Oracle Enterprise Manager 10g to 12c Cloud Control
Leighton Nelson
 
DOCX
Learning Oracle with Oracle VM VirtualBox Whitepaper
Leighton Nelson
 
PPT
Learning Oracle with Oracle VM VirtualBox
Leighton Nelson
 
PPTX
Oracle RAC - Standard Edition, Enterprise Edition &amp; One Node
Leighton Nelson
 
IOUG Collaborate 2015 - PDB Cloning Using SQL Commands
Leighton Nelson
 
Oracle Enteprise Manager Cloud Control 12c - Setting Up Metrics and Monitorin...
Leighton Nelson
 
A Second Look at Oracle RAC 12c
Leighton Nelson
 
PDB Provisioning with Oracle Multitenant Self Service Application
Leighton Nelson
 
Database-as-a-Service with Oracle Enterprise Manager Cloud Control 12c and Or...
Leighton Nelson
 
Oracle Enterprise Manager Cloud Control 12c - Top 10 Features for DBAs
Leighton Nelson
 
SQL Developer for DBAs
Leighton Nelson
 
UPGRADING FROM ORACLE ENTERPRISE MANAGER 10G TO CLOUD CONTROL 12C WITH ZERO D...
Leighton Nelson
 
Migrating from Oracle Enterprise Manager 10g to 12c Cloud Control
Leighton Nelson
 
Learning Oracle with Oracle VM VirtualBox Whitepaper
Leighton Nelson
 
Learning Oracle with Oracle VM VirtualBox
Leighton Nelson
 
Oracle RAC - Standard Edition, Enterprise Edition &amp; One Node
Leighton Nelson
 

Recently uploaded (20)

PDF
Software Development Methodologies in 2025
KodekX
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
PDF
BLW VOCATIONAL TRAINING SUMMER INTERNSHIP REPORT
codernjn73
 
PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PPTX
How to Build a Scalable Micro-Investing Platform in 2025 - A Founder’s Guide ...
Third Rock Techkno
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PDF
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
PDF
Software Development Company | KodekX
KodekX
 
PPT
Coupa-Kickoff-Meeting-Template presentai
annapureddyn
 
PDF
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
PDF
How-Cloud-Computing-Impacts-Businesses-in-2025-and-Beyond.pdf
Artjoker Software Development Company
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PPTX
Comunidade Salesforce SĂŁo Paulo - Desmistificando o Omnistudio (Vlocity)
Francisco Vieira JĂșnior
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PDF
Beyond Automation: The Role of IoT Sensor Integration in Next-Gen Industries
Rejig Digital
 
PDF
This slide provides an overview Technology
mineshkharadi333
 
PPTX
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
Software Development Methodologies in 2025
KodekX
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
BLW VOCATIONAL TRAINING SUMMER INTERNSHIP REPORT
codernjn73
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
How to Build a Scalable Micro-Investing Platform in 2025 - A Founder’s Guide ...
Third Rock Techkno
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
Software Development Company | KodekX
KodekX
 
Coupa-Kickoff-Meeting-Template presentai
annapureddyn
 
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
How-Cloud-Computing-Impacts-Businesses-in-2025-and-Beyond.pdf
Artjoker Software Development Company
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
Comunidade Salesforce SĂŁo Paulo - Desmistificando o Omnistudio (Vlocity)
Francisco Vieira JĂșnior
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
Beyond Automation: The Role of IoT Sensor Integration in Next-Gen Industries
Rejig Digital
 
This slide provides an overview Technology
mineshkharadi333
 
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 

Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware

  • 1. Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware Session ID#UGF9794 Leighton L. Nelson Mercy
  • 2. About Me ‱ Oracle DBA for 10+ years ‱ Oracle ACE ‱ Oracle Certified Expert: RAC and Grid Infrastructure 11gR2 ‱ Co-Author Expert Oracle Enterprise Manager Cloud Control 12c – Apress 2013 ‱ Oracle RAC SIG US Events Chair/IOUG Liaison
  • 3. Agenda ‱ OEM 12c Architecture Overview ‱ OEM High Availability ‱ Level 2 HA Configuration ‱ Oracle Clusterware Setup ‱ OEM Installation ‱ OEM Failover ‱ Management Repository Configuration
  • 5. OEM High Availability Levels Level Description Load Balancer Required Cost 1 OMS and Repository on separate hosts. No redundancy. No $ 2 OMS installed on shared storage with VIP used in active/passive failover. Repository Database using local Data Guard. No $$ 3 Multiple OMSs in active/active configuration. Repository using RAC Database with local Data Guard Yes, At primary site $$$ 4 Primary OMS in active/active configuration with RAC Repository database. Standby OMS at DR site in active/active configuration. Standby RAC database at DR site Yes. At pimary and standby sites $$$$
  • 6. Level 2 – Active/Passive HA ‱ A minimum of 2 Servers Required ‱ OMS binaries installed on shared filesystem ‱ NFS/OCFS2/DBFS/ACFS ‱ OMS can run on one node in cluster at any given time ‱ Data Guard for Management Repository
  • 7. Level 2 – Active/Passive OMS
  • 8. Level 2 – Active/Passive OMS
  • 9. Oracle Clusterware Setup ‱ Clusterware can be used to create/manage VIP ‱ 11.2+ uses appvipcfg for VIP <GRID_HOME>/bin/appvipcfg create -network=1 -ip=192.168.1.0 -vipname=omsvip -user=root ‱ VIP can be created on non-default network ‱ In Oracle 12c Flex Clusters app vips can be create on leaf nodes ‱ Allow Oracle Grid Infrastructure software owner (e.g. grid) to run the script to start the VIP. <GRID_HOME>/bin/crsctl setperm resource omsvip -u user:grid:r-x
  • 10. Oracle Clusterware Setup ‱ Start the VIP as the GI owner e.g. grid <GRID_HOME>/bin/crsctl start resource omsvip ‱ Check the status of the VIP <GRID_HOME>/bin/crsctl status resource omsvip The status of the output should be similar to the following: NAME=omsvip TYPE=app.appvip_net1.type TARGET=ONLINE STATE=ONLINE on oms1
  • 11. Oracle Clusterware Setup ‱ Check if virtual hostname and VIP are resolvable nslookup <omsvip> ‱ Also do a reverse lookup of the IP address. nslookup <virtual IP address> ‱ Verify that the IP address returned from the nslookup output is running on the OMS host. ifconfig –a | grep <virtual IP address>
  • 12. OEM Installation ‱ Create ORACLE_HOME for the OMS on the shared storage on all nodes in the cluster mkdir –p /u01/app/oms_share ‱ Create Oracle Inventory directory under ORACLE_HOME for the OMS on all nodes mkdir /u01/app/oms_share/oraInventory ‱ Create the inventory pointer in the oraInventory directory vi oraInst.loc inventory loc=/u01/app/oracle/oms_share/oraInventory inst_group=oinstall
  • 13. OEM Installation ‱ Install OEM by setting ORACLE_HOSTNAME environment variable runInstaller -invPtrloc /u01/app/oms_share/oraInst.loc ORACLE_HOSTNAME=omsvip.example.com –debug
  • 14. OEM Failover ‱ To manually relocate the VIP to another host in the cluster issue the following command. $crsctl relocate res omsvip CRS-2673: Attempting to stop 'omsvip' on 'oms1' CRS-2677: Stop of 'omsvip' on 'oms1' succeeded CRS-2672: Attempting to start 'omsvip' on 'oms2' CRS-2676: Start of 'omsvip' on 'oms2' succeeded ‱ Check if the IP address associated with the VIP is running on the relocated host. ifconfig –a|grep <vip>
  • 15. OEM Failover ‱ Establish IP on failover server (done through Clusterware) ‱ Start listener (if part of same failover group) ‱ Start database (if required) ‱ Set the ORACLE_HOSTNAME environment variable to the virtual hostname. Continuing with our example we use the command below. export ORACLE_HOSTNAME=omsvip.example.com ‱ Start the OMS on the new node $OMS_HOME/bin/emctl start oms
  • 16. Add OEM Clusterware resource ‱ OEM can be added as Clusterware resource ‱ Administrator managed (static, 2 – nodes) ‱ Policy managed (dynamic, > 2 nodes) ‱ Handled through Agent Framework ‱ C/C++ ‱ Create Action Script ‱ Store on shared storage ‱ Specify START/STOP/CHECK/ABORT routines
  • 17. Example $ crsctl add server pool oem_sp -attr "PARENT_POOLS=Generic, SERVER_NAMES=oms1 oms2” $ crsctl add resource oem -type cluster_resource -attr "ACTION_SCRIPT=/opt/cluster/scripts/oem12c.scr, PLACEMENT='restricted', SERVER_POOLS=oem_sp, CHECK_INTERVAL='30', RESTART_ATTEMPTS='2', START_DEPENDENCIES='hard(omsvip)', STOP_DEPENDENCIES='hard(omssvip)'"
  • 18. Clusterware resource ‱ Oracle 12c introduced a new generic_application resource type crsctl add resource oem -type generic_application -attr "START_PROGRAM='$OMS_HOME/bin/emctl start oms', STOP_PROGRAM='$OMS_HOME/bin/emctl stop oms', CLEAN_PROGRAM='$OMS_HOME/bin/emctl stop oms –all -force', CHECK_PROGRAM='$OMS_HOME/bin/emctl status oms'
  • 19. Management Repository ‱ Can be configured using Data Guard with Fast-Failover ‱ Also can be configured with RAC/RAC One Node ‱ Storage becomes SPOF ‱ Listeners should be reachable from all nodes in cluster ‱ Database should be started before starting OEM
  • 20. Configure OEM with Data Guard Repo Create database service for fast failover.
  • 21. Configure OEM with Data Guard Repo emctl config oms -store_repos_details -repos_conndesc '"(DESCRIPTION=(FAILOVER=ON) (ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP) (HOST=repo1)(PORT=1521)) (ADDRESS=(PROTOCOL=TCP)(HOST=repo2) (PORT=1521))) (CONNECT_DATA=(SERVICE_NAME=emrep)) (FAILOVER_MODE=(TYPE=select)(METHOD=basic)))"' -repos_user sysman
  • 22. Configure OEM with RAC/RAC One Node Repo emctl config oms -store_repos_details -repos_conndesc " (DESCRIPTION= (ADDRESS=(PROTOCOL=TCP) (HOST=emrep-scan.example.com)(PORT=1521) ) (CONNECT_DATA=(SERVER=DEDICATED) (SERVICE_NAME = emrep)))" -repos_user sysman
  • 23. References ‱ How to Configure Grid Control OMS in Active/Passive CFC Environments failover / HA (Doc ID 405642.1) ‱ How to Configure the OMS Connect String when Repository is in a Dataguard setup [ID 1328768.1] ‱ OracleÂź Clusterware Administration and Deployment Guide12c Release 1
  • 24. COLLABORATE14.IOUG.ORGCOLLABORATE14.IOUG.ORG ‱ Network with 5,000+ database and application professionals ‱ 5 days of in-depth education built by users, for users ‱ Complimentary Pre-Conference Workshops for IOUG registrants April 7 – 11, 2014 The Venetian Resort, Las Vegas, NV Attend for free! IOUG’s Call for Speakers is now open collaborate14.ioug.org/call-for-speakers
  • 25. Communities Training Close to HomeTraining Close to Home Maximum Availability Architecture with Oracle’s Larry Carpenter and Joe Meeks October 15: Milwaukee, WI October 16: Rochester, NY Performance and Internals with Craig Shallahamer November 6: Chicago, IL November 8: Atlanta, GA Get more information at www.ioug.org/masterclass or visit the IOUG kiosk in Moscone West, 2nd floor IOUG Master Class Series Returns Coming soon to a city near you! One Day Interactive Training Events to meet your educational needs
  • 26. Come See IOUG at the User Group PavilionCome See IOUG at the User Group Pavilion Win a Free Registration to COLLABORATE 14! Stop by the IOUG kiosk in the User Group Pavilion in Moscone West, 2nd floor, to pick up a lucky poker chip and see if you are a winner of a free registration to COLLABORATE 14 in Las Vegas!
  • 27. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.27 Complimentary eBook Register Now www.mhprofessional.com/dbsec Use Code: db12c

Editor's Notes

  • #5: Each component within the Enterprise Manager architecture should be made highly available to enable a complete High Availability configuration. The main components to be considered are (see Figure 13-1): Enterprise Manager Agent - Communicates with and sends metrics to the OMS Management Server - the heart of the Enterprise Manager Repository -Stores persistent data from the monitored targets. Software library - Stores files for patching, provisioning and agent and plug-in deployment
  • #6: Different levels of high availability can be configured for each component with varying levels of complexity and cost. When considering your high availability requirements, there should be minimal trade-offs in cost, complexity, performance and data loss. Generally, the complexity and level of high availability are proportional to each other.
  • #7: Also called a cold-failover cluster (CFC) In order to reduce OMS downtime during planned or unplanned outage, some redundancy should be introduced into the configuration. A level 2 configuration uses a shared filesystem for the management service to achieve an active/passive or cold failover cluster solution. The filesystem is shared between two or more hosts and is only active on one host at a time. The shared filesystem for the OMS can be installed on a general-purpose cluster file system including NFS, Oracle Cluster File System (OCFS2), and Oracle Automatic Storage Management (ASM) Cluster File System (ACFS). If NFS is used as the shared storage, then ensure the correct mount options are set in /etc/fstab (/etc/filesystems on AIX) to prevent potential I/O issues. Specifically, the rsize and wsize should be set. The example below shows and entry in the /etc/fstab file on a Linux server where the NFS share is mounted on a filer named filer1 under the /vol1/oms_share directory. filer:/vol1/oms_share /u01/app/oms_share nfs rw,bg,rsize=32768,wsize=32768,hard,nointr,tcp,noac,vers=3,timeo=600 0 0 Binaries for the OMS along with the inventory should be installed on the shared filesystem. Setup the virtual hostname and IP address (VIP) using Oracle Clusterware or third-party software and hardware. Failover is achieved by using the virtual hostname for the OMS along with a unique IP address which resolves to the hostname.
  • #8: Also called a cold-failover cluster (CFC) In order to reduce OMS downtime during planned or unplanned outage, some redundancy should be introduced into the configuration. A level 2 configuration uses a shared filesystem for the management service to achieve an active/passive or cold failover cluster solution. The filesystem is shared between two or more hosts and is only active on one host at a time. The shared filesystem for the OMS can be installed on a general-purpose cluster file system including NFS, Oracle Cluster File System (OCFS2), and Oracle Automatic Storage Management (ASM) Cluster File System (ACFS). If NFS is used as the shared storage, then ensure the correct mount options are set in /etc/fstab (/etc/filesystems on AIX) to prevent potential I/O issues. Specifically, the rsize and wsize should be set. The example below shows and entry in the /etc/fstab file on a Linux server where the NFS share is mounted on a filer named filer1 under the /vol1/oms_share directory. filer:/vol1/oms_share /u01/app/oms_share nfs rw,bg,rsize=32768,wsize=32768,hard,nointr,tcp,noac,vers=3,timeo=600 0 0 Binaries for the OMS along with the inventory should be installed on the shared filesystem. Setup the virtual hostname and IP address (VIP) using Oracle Clusterware or third-party software and hardware. Failover is achieved by using the virtual hostname for the OMS along with a unique IP address which resolves to the hostname.
  • #9: Also called a cold-failover cluster (CFC) In order to reduce OMS downtime during planned or unplanned outage, some redundancy should be introduced into the configuration. A level 2 configuration uses a shared filesystem for the management service to achieve an active/passive or cold failover cluster solution. The filesystem is shared between two or more hosts and is only active on one host at a time. The shared filesystem for the OMS can be installed on a general-purpose cluster file system including NFS, Oracle Cluster File System (OCFS2), and Oracle Automatic Storage Management (ASM) Cluster File System (ACFS). If NFS is used as the shared storage, then ensure the correct mount options are set in /etc/fstab (/etc/filesystems on AIX) to prevent potential I/O issues. Specifically, the rsize and wsize should be set. The example below shows and entry in the /etc/fstab file on a Linux server where the NFS share is mounted on a filer named filer1 under the /vol1/oms_share directory. filer:/vol1/oms_share /u01/app/oms_share nfs rw,bg,rsize=32768,wsize=32768,hard,nointr,tcp,noac,vers=3,timeo=600 0 0 Binaries for the OMS along with the inventory should be installed on the shared filesystem. Failover is achieved by using the virtual hostname for the OMS along with a unique IP address which resolves to the hostname.
  • #10: It’s recommended to use the appvipcfg utility in Oracle Clusterware 11gR2 to create application VIPs. The VIP is created with a set of pre-defined settings suitable for an application VIP such placement policy and the failback option. The default value of the failback is set to 0, which means that the VIP and its dependent resources will not automatically fail back to the original node once it becomes available again. VIP can be created on the non-default network (default ora.net1.network) Non-default network should be created with srvctl add network command
  • #11: A VIP can be created in the same was any other Clusterware resource. However, it is recommended to use the appvipcfg utility in Oracle Clusterware 11gR2 to create application VIPs. The VIP is created with a set of pre-defined settings suitable for an application VIP such placement policy and the failback option. The default value of the failback is set to 0, which means that the VIP and its dependent resources will not automatically fail back to the original node once it becomes available again.
  • #12: The   virtual hostname is defined in DNS, and should resolve to the application VIP address created using the steps above. Check if the virtual hostname and VIP are resolvable using nslookup or the dig command. $ nslookup omsvip This should resolve to a unique IP address of the virtual hostname on every node in the cluster. Also do a reverse lookup of the IP address. $nslookup &lt;virtual IP address&gt; Verify that the IP address returned from the nslookup output is running on the OMS host. ifconfig –a|grep &lt;virtual IP address&gt;
  • #13: Install the OMS on the first host by following the installation steps as described in the Oracle Enterprise Manager Cloud Control 12c Basic Installation Guide. You only need to complete the installation once. Since the location is shared, the binaries will be accessible from another host that shares the filesystem.
  • #14: The ORACLE_HOSTNAME should be also set when starting the OEM on each node in the cluster. This should be the same as the Virtual Hostname defined in DNS for the VIP.
  • #15: Once the OMS has been successfully installed and is up and running, if the host were to go down then the VIP will be automatically relocated to another node. The management service can then be manually started on any remaining node in the cluster on which the VIP is running.
  • #16: Oracle Clusterware can be configured to fully manage the OMS by creating start, check, stop, clean and abort routines that tell it how to operate on the OMS.
  • #17: You must decide whether to use administrator or policy management for the application. Use administrator management for smaller, two-node configurations, where your cluster configuration is not likely to change. Use policy management for more dynamic configurations when your cluster consists of more than two nodes. For example, if a resource only runs on node 1 and node 2 because only those nodes have the necessary files, then administrator management is probably more appropriate. An action script is a shell script (a batch script in Windows) that a generic script agent provided by Oracle Clusterware calls. An application-specific agent is usually a C or C++ program that calls Oracle Clusterware-provided APIs directly.
  • #18: To add the OEM server as a resource that uses a named server deployment, assume that you add the resource to a server pool that is, by definition, a sub-pool of the Generic server pool. You create server pools that are sub-pools of Generic using the crsctl add serverpool command. These server pools define the Generic server pool as their parent in the server pool attribute PARENT_POOLS. In addition, they include a list of server names in the SERVER_NAMES parameter to specify the servers that should be assigned to the respective pool.
  • #19: generic_application cluster type can model any application requiring high availability without specifying action scripts
  • #25: If you like what you heard today, you should come see me speak at COLLABORATE 14 – IOUG Forum 1,000 customer sessions, very similar to what you see on User Group Sunday at OpenWorld Includes complimentary hands on labs and pre-conference workshops for IOUG attendees COLLABORATE 14 is April 7-11 in Las Vegas!
  • #26: IOUG Master Class brings the best content from COLLABORATE 13 to a city near you Use these one-day training events to train your entire team at an affordable price! Group discounts available, visit the IOUG kiosk for more information
  • #27: Visit IOUG in the User Group Pavilion, on the 2 nd floor of Moscone West to pick up your poker chip and win a prize Don’t forget to drop off your speaker card from this session to help me win a prize!