Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware Session ID#UGF9794 Leighton L. Nelson Mercy.

Slides:



Advertisements
Similar presentations
SOM Sponsors: RAC, GRID, CLOUD OR ON THE WAY TO ORACLE CLOUD 11GR2 RAC FEATURES REVIEW By: Ahmed Baraka (Independent) Yury Velikanov (Pythian) & All of.
Advertisements

ITEC474 INTRODUCTION.
2 Copyright © 2005, Oracle. All rights reserved. Installing the Oracle Database Software.
INTRODUCTION TO ORACLE Lynnwood Brown System Managers LLC Oracle High Availability Solutions RAC and Standby Database Copyright System Managers LLC 2008.
Decision Flowchart for OracleAS 10g (9.0.4)Infrastructure Highly Available Architectures  This “ animated guide ” is intended to provide System architects.
Introduction to DBA.
© 2015 Dbvisit Software Limited | dbvisit.com An Introduction to Dbvisit Standby.
1 Week #1 Objectives Review clients, servers, and Windows network models Differentiate among the editions of Server 2008 Discuss the new Windows Server.
1 Week #1 Objectives Review clients, servers, and Windows network models Differentiate among the editions of Server 2008 Discuss the new Windows Server.
2 Copyright © 2009, Oracle. All rights reserved. Installing your Oracle Software.
Denny Cherry twitter.com/mrdenny.
1© Copyright 2012 EMC Corporation. All rights reserved. November 2013 Oracle Continuous Availability – Technical Overview.
11 SERVER CLUSTERING Chapter 6. Chapter 6: SERVER CLUSTERING2 OVERVIEW  List the types of server clusters.  Determine which type of cluster to use for.
(ITI310) By Eng. BASSEM ALSAID SESSIONS 8: Network Load Balancing (NLB)
VMware vCenter Server Module 4.
1 © 2005 Julian Dyke Oracle 10.2 RAC New Features Julian Dyke Independent Consultant Web Version juliandyke.com.
1 © Talend 2014 Service Locator Talend ESB Training 2014 Jan Bernhardt Zsolt Beothy-Elo
Delivered by: Matthew Zito, Chief Scientist 156 5th Avenue Penthouse New York, NY P: Strategies & Tools for Centralizing.
System Center 2012 Setup The components of system center App Controller Data Protection Manager Operations Manager Orchestrator Service.
Monitoring Scale-Out with the MySQL Enterprise Monitor Andy Bang Lead Software Engineer MySQL-Sun, Enterprise Tools Team Wednesday, April 16, :15.
5 Copyright © 2008, Oracle. All rights reserved. Configuring the Oracle Network Environment.
5 Copyright © 2007, Oracle. All rights reserved. Configuring the Oracle Network Environment.
Building service testbeds on FIRE D5.2.5 Virtual Cluster on Federated Cloud Demonstration Kit August 2012 Version 1.0 Copyright © 2012 CESGA. All rights.
Recovery Manager Overview Target Database Recovery Catalog Database Enterprise Manager Recovery Manager (RMAN) Media Options Server Session.
11 Copyright © 2005, Oracle. All rights reserved. Configuring the Oracle Network Environment.
Global Customer Partnership Council Forum | 2008 | November 18 1IBM - GCPC MeetingIBM - GCPC Meeting IBM Lotus® Sametime® Meeting Server Deployment and.
Oracle10g RAC Service Architecture Overview of Real Application Cluster Ready Services, Nodeapps, and User Defined Services.
11 Copyright © 2005, Oracle. All rights reserved. Configuring the Oracle Network Environment.
Clustering  Types of Clustering. Objectives At the end of this module the student will understand the following tasks and concepts. What clustering is.
INSTALLING MICROSOFT EXCHANGE SERVER 2003 CLUSTERS AND FRONT-END AND BACK ‑ END SERVERS Chapter 4.
Installing Oracle Database 11gR2 Software on Red Hat Enterprise Linux 5 (RAC)
© 2005 Mt Xia Technical Consulting Group - All Rights Reserved. HACMP – High Availability Introduction Presentation November, 2005.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 6: Name Resolution.
IM-B391 Agenda Getting Metrics Out From Database Servers.
6 Copyright © 2009, Oracle. All rights reserved. Configuring the Oracle Network Environment.
B Copyright © 2009, Oracle. All rights reserved. Configuring Warehouse Builder in RAC Environments.
Module 10: Maintaining High-Availability. Overview Introduction to Availability Increasing Availability Using Failover Clustering Standby Servers and.
Oracle 10g Database Administrator: Implementation and Administration Chapter 2 Tools and Architecture.
Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)
Presentation Overview 1.Creating VMware Virtual Machine 2. Installing Red Hat Enterprise Linux 5 on VMvare 3. Configuring Linux for Oracle 11gR2 installation.
Denny Cherry Senior Database Administrator / Architect Awareness Technologies Quest Software SQL Server MVP MCSA, MCDBA, MCTS,
Oracle Data Integrator Agents. 8-2 Understanding Agents.
Weekly Report By: Devin Trejo Week of June 14, 2015-> June 20, 2015.
Mark E. Fuller Senior Principal Instructor Oracle University Oracle Corporation.
Oracle 10g Clusterware (CRS) Overview 18 Aug 2005 John Sheaffer Platform Solution Specialist
Donna C. Hamby Sr. Principal Instructor Oracle University Oracle Corporation.
Alwayson Availability Groups
Portable, Virtualized Oracle Environments on Solaris Sam Brunacini, ServerWare Session #127.
Copy to Tape TOI. 2 Copy to Tape TOI Agenda Overview1 Technical Feature Implementation2 Q&A3.
Linux Operations and Administration
Michelle Malcher PepsiCo Session # For the DBA Manager – Understanding Oracle and DBAs.
5 Copyright © Oracle Corporation, All rights reserved. Usage and Configuration of the Oracle Shared Server.
1 Chapter Overview Using Standby Servers Using Failover Clustering.
1 Murthy Esakonu June 3rd, 2009 Shenzhen China OpenSAF Developer Days 2009 Writing First OpenSAF Application Session OpenSAF.
Improved Integration Agility with Oracle SOA Suite and the Event Delivery Network Brad Bukacek Jr | Team Lead.
3 Copyright © 2006, Oracle. All rights reserved. Installation and Administration Basics.
6 Copyright © 2006, Oracle. All rights reserved. Monitoring Grid Control.
REMINDER Check in on the COLLABORATE mobile app Oracle Performance Management with vCenter Operations Manager and Oracle Enterprise Manager (OEM) Adapter.
6 Copyright © 2006, Oracle. All rights reserved. Oracle Clusterware.
9 Copyright © 2007, Oracle. All rights reserved. Oracle Clusterware Administration.
Manage large RAC Clusters Session# 851 Tom S. Reddy Database Administration, Inc.
Geant4 GRID production Sangwan Kim, Vu Trong Hieu, AD At KISTI.
1 Patterns PRESENTER Y V RaviKumar Oracle ACE & Oracle Certified Master (OCM) PRESENTER Y V RaviKumar Oracle ACE & Oracle Certified Master (OCM)
Architecting Enterprise Workloads on AWS Mike Pfeiffer.
Displaying ECM Content In WebCenter Sites
High Availability Linux (HA Linux)
Provisioning of CRS / ASM / RAC with Enterprise Manager
Provisioning of RAC Database on configured Stack
Oracle10g RAC Service Architecture
Overview Multimedia: The Role of WINS in the Network Infrastructure
Presentation transcript:

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 LevelDescriptionLoad Balancer RequiredCost 1OMS and Repository on separate hosts. No redundancy. No$ 2OMS installed on shared storage with VIP used in active/passive failover. Repository Database using local Data Guard. No$$ 3Multiple OMSs in active/active configuration. Repository using RAC Database with local Data Guard Yes, At primary site$$$ 4Primary 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

Setup virtual hostname and IP address (VIP) Clusterware VIP Virtual hostname should resolve to unique IP Install OMS on shared disk Create Clusterware resource for OMS Failover

Oracle Clusterware Setup Clusterware can be used to create/manage VIP uses appvipcfg for VIP /bin/appvipcfg create -network=1 \ -ip= \ -vipname=omsvip \ -user=root VIP can be created on non-default network In Oracle 12c Flex Clusters app vips can be created on leaf nodes Allow Oracle Grid Infrastructure software owner (e.g. grid) to run the script to start the VIP. /bin/crsctl setperm resource omsvip -u user:grid:r-x

Oracle Clusterware Setup Start the VIP as the GI owner e.g. grid /bin/crsctl start resource omsvip Check the status of the VIP /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 Also do a reverse lookup of the IP address. nslookup Verify that the IP address returned from the nslookup output is running on the OMS host. ifconfig –a | grep

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

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=(A DDRESS=(PROTOCOL=TCP)(HOST=repo1)(PORT=15 21))(ADDRESS=(PROTOCOL=TCP)(HOST=repo2)(POR T=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 ) How to Configure the OMS Connect String when Repository is in a Dataguard setup [ID ] Oracle® Clusterware Administration and Deployment Guide12c Release 1

COLLABORATE14.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 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 or visit the IOUG kiosk in Moscone West, 2 nd 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 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 Use Code: db12c

THANK YOU