Domain Services Clusters Centralized Management & Storage for an Oracle Cluster Environment Markus Flechtner

Similar documents
Application Containers an Introduction

Application Containers an Introduction

Application Containers an Introduction

The three investigators

Cloud Acceleration. Performance comparison of Cloud vendors. Tobias Deml DOAG2017

Backup Methods from Practice

Empfehlungen vom BigData Admin

Online Operations in Oracle 12.2

Database Sharding with Oracle RDBMS

Taming the Pluggable Database Resource Management & Lockdown Profiles in Oracle 12.2 Markus Flechtner

WELCOME. Unterstützung von Tuning- Maßnahmen mit Hilfe von Capacity Management. DOAG SIG Database

Data Vault Partitioning Strategies. Dani Schnider, Trivadis AG DOAG Conference, 23 November 2017

Analytic Views: Use Cases in Data Warehouse. Dani Schnider, Trivadis AG DOAG Conference, 21 November 2017

Oracle 12c Grid Infrastructure Management Repository Everything You Wanted To Know

Identifying Performance Problems in a Multitenant Environment

Oracle Grid Infrastructure Cluster Domains O R A C L E W H I T E P A P E R F E B R U A R Y

Oracle Database Failover Cluster with Grid Infrastructure 11g Release 2

Oracle Grid Infrastructure 12c Release 2 Cluster Domains O R A C L E W H I T E P A P E R N O V E M B E R

Database Rolling Upgrade with Transient Logical Standby Database DOAG Day High Availability Robert Bialek Principal Consultant

REALTIME WEB APPLICATIONS WITH ORACLE APEX

Data Replication With Oracle GoldenGate Looking Behind The Scenes Robert Bialek Principal Consultant Partner

Integration of Oracle VM 3 in Enterprise Manager 12c

Designing for Performance: Database Related Worst Practices ITOUG Tech Day, 11 November 2016, Milano (I) Christian Antognini

Exadata Database Machine Resource Management teile und herrsche!

Recovery without Backup. All Data Lost?

Oracle Database Service High Availability with Data Guard?

Oracle Database 18c New Performance Features

Oracle Audit in a Nutshell - Database Audit but how?

MythBusters Globalization Support

Oracle 11g: RAC and Grid Infrastructure Administration Accelerated Release 2

WELCOME. Oracle Almost Maximum Availability. Martin Schmitter 28th Sep 2011

Query Optimizer MySQL vs. PostgreSQL

Oracle 11g: RAC and Grid Infrastructure Administration Accelerated Release 2

Query Optimizer MySQL vs. PostgreSQL

ORACLE RAC DBA COURSE CONTENT

Oracle 11g: RAC and Grid Infrastructure Administration Accelerated Release 2 NEW

Bloom Filters DOAG Webinar, 12 August 2016 Christian Antognini Senior Principal Consultant

Oracle 11g: RAC and Grid Infrastructure Administration Accelerated Release 2

Microservices with Kafka Ecosystem. Guido Schmutz

Adaptive

Page 1 نشانی: تهران خیابان شهید بهشتی نرسیده به قائم مقام فراهانی پالک طبقه تلفن: فکس:

Die Wundertüte DBMS_STATS: Überraschungen in der Praxis

Oracle Database 11g: RAC Administration Release 2 NEW

Pitfalls & Surprises with DBMS_STATS: How to Solve Them

Oracle 11g: RAC and Grid Infrastructure Administration Accelerated Release 2

Oracle In-Memory & Data Warehouse: The Perfect Combination?

A Technical Overview of New Features for Automatic Storage Management in Oracle Database 18c ORACLE WHITE PAPER FEBRUARY 2018

Best Practices for Testing SOA Suite 11g based systems

1Z Oracle Real Application Clusters 12c Essentials Exam Summary Syllabus Questions

Big Data Big Mess? Ein Versuch einer Positionierung

Oracle Clusterware 18c Technical Overview O R A C L E W H I T E P A P E R F E B R U A R Y

What you will learn. interface clients. Learn To:

Oracle 11g Release 2 RAC & Grid Infrastructure Administration Course Overview

Oracle Real Application Clusters (RAC) 12c Best Practices

Oracle Database Failover Cluster with

Migrating to 12c: 300 DBs in 300 days.

Oracle Database 12c Rel. 2 Cluster Health Advisor - How it Works & How to Use it

You'll even like your Data Guard more with Flashback

OEM Provisioning An Introduction

PostgreSQL Introduction for Oracle DBAs

Oracle Database 11g: New Features for Administrators DBA Release 2

Oracle Multitenant What s new in Oracle Database 12c Release ?

PracticeTorrent. Latest study torrent with verified answers will facilitate your actual test

Pimping up Industry Devices with Rasperry Pi, Vert.x und Java 8

Oracle Real Application Clusters (RAC) Your way to the Cloud


Databases Clone using ACFS. Infrastructure at your Service.

Oracle Real Application Clusters (RAC) 12c Release 2 What s Next?

Provisioning Oracle RAC in a Virtualized Environment, Using Oracle Enterprise Manager

Oracle RAC Course Content

IaaS/PaaS with Oracle Private Cloud Appliance in practice. Konrad HÄFELI Senior Solution Manager Infrastructure Engineering

Oracle 1Z Oracle Real Application Clusters 12c Essentials.

ORACLE 11g R2 New Features

Oracle 12c Flex ASM & Flex Cluster

What s Next with Oracle RAC?

Oracle EXAM - 1Z Oracle Real Application Clusters 11g Essentials. Buy Full Product.

Non-Production Databases. Oracle Recovery Manager. Presented By: Jeff Branan - Database Architect

Oracle Database 12c Flex Clusters

Get Groovy with ODI Trivadis

Virtualizing Oracle 11g/R2 RAC Database on Oracle VM: Methods/Tips

Accenture Enkitec Group PATCHING ORACLE MARTIN BACH #DOAGDB17

Edition-Based Redefinition

Machine Learning Diagnostics Using Oracle Autonomous Health Framework

Object-Relational Mapping Tools let s talk to each other!

Steps Create Physical Standby Database Oracle 9i

Oracle Database New Performance Features

Focus On: Oracle Database 11g Release 2

FLASHBACK RAC DATABASE TO RESTORE POINT Y. MORAN

PDBs in der Praxis Experiences Using PDBs. Ernst Leber Nürnberg 15. November 2016

Oracle Database 11g: New Features for Administrators Release 2

Oracle Clustering: Oracle 11g Real Application Clusters for Administrators

Oracle Enterprise Manager Grid Control

Exadata with In-Memory Option the best of all?!?

Welcome to the OWASP TOP 10

Oracle EXAM - 1Z Oracle Real Application Clusters 11g Release 2 and Grid Infrastructure Administration. Buy Full Product

RACifying Multitenant

Help Us Help You - TFA Collector and the Support Tools Bundle

Rapid Home Provisioning and Maintenance Gold Image Database Maintenance O R A C L E W H I T E P A P E R M A R C H

HOW TO PERFORM AN EBS DATABASE HEALTH CHECK BEFORE GOING TO THE CLOUD DIMAS CHBANE ACCENTURE ENKITEC GROUP

Oracle 10g on Solaris to Oracle RAC 11gR2 on Linux Upgrade

Transcription:

s Centralized Management & Storage for an Oracle Cluster Environment Markus Flechtner BASLE BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE MUNICH STUTTGART VIENNA ZURICH

Our company. Trivadis is a market leader in IT consulting, system integration, solution engineering and the provision of IT services focusing on and technologies in Switzerland, Germany, Austria and Denmark. We offer our services in the following strategic business fields: O P E R A T I O N Trivadis Services takes over the interactive operation of your IT systems. 5 07.03.18

With over 600 specialists and IT experts in your region. COPENHAGEN HAMBURG 14 Trivadis branches and more than 600 employees 200 Service Level Agreements Over 4,000 training participants DÜSSELDORF Research and development budget: CHF 5.0 / EUR 4 million FRANKFURT Financially self-supporting and sustainably profitable BRUGG FREIBURG STUTTGART MUNICH VIENNA Experience from more than 1,900 projects per year at over 800 customers BASLE ZURICH GENEVA BERN LAUSANNE 6 07.03.18

About Markus Flechtner Principal Consultant, Trivadis, Duesseldorf/Germany, since April 2008 Discipline Manager Infrastructure Database @Trivadis Working with Oracle since the 1990 s Development (Forms, Reports, PL/SQL) Support Database Administration Focus Oracle Real Application Clusters Database Upgrade & Migration Projects Blog: https://markusdba.net/ @markusdba Teacher O-RAC Oracle Real Application Clusters O-NF12CDBA Oracle 12c New Features for the DBA 7 07.03.18

Agenda 1. Cluster Domain Architecture 2. Installing a 3. Installing Member Clusters 4. Cluster Domain Services Centralized GIMR Centralized TFA Storage Service Rapid Home Provisioning 5. Summary & Outlook 8 07.03.18

Cluster Domain Architecture 9 07.03.18

Cluster Domain Architecture Source: Oracle Grid Infrastructure Installation and Upgrade Guide 10 07.03.18

Provides centralized services for the member clusters (Domain Services) Standard Services Grid Infrastructure Management Repository (GIMR) Trace File Analyzer Collector (TFA) Optional: Rapid Home Provisioning (RHP) Optional: Storage Services ASM Service (direct access to centralized storage) IO-Service (indirect access to centralized storage) 11 07.03.18

Member Cluster Types Member Cluster for Applications Lightweight cluster stack (DB specific services were removed) Member Cluster for Databases With local storage (= local ASM instance) Without local storage / access to storage via DSC ASM service Without local storage / access to storage via DSC IO service In Oracle 12.2 it is not possible to convert an existing cluster into a member cluster 12 07.03.18

Benefits Centralized Management Less overhead on the member clusters Sharing storage between clusters 13 07.03.18

Installing a 14 07.03.18

Installing a (1) It's an option when installing a Cluster (gridsetup.sh) 15 07.03.18

Installing a (2) No major difference to installing a "standard standalone cluster" Diskspace requirements Ca. 300 GB ASM storage (with RHP) Ca. 100 GB in Oracle-Base RHP as an optional service has to selected during installation 16 07.03.18

Installing a (3) "Additional" non-standard services after installation (with RHP) [grid@dsc-node1 ~]$ crsctl stat res -t Local Resources -------------------------------------------------------------------------------- ora.helper ONLINE ONLINE dsc-node1 STABLE ONLINE ONLINE dsc-node2 IDLE,STABLE ora.mgmt.ghchkpt.acfs ONLINE ONLINE dsc-node1 mounted on /mnt/oracle/rhpimages/chkbase,stable ONLINE ONLINE dsc-node2 mounted on /mnt/oracle/rhpimages/chkbase,stable Cluster Resources -------------------------------------------------------------------------------- ora.ioserver 1 OFFLINE OFFLINE STABLE 2 OFFLINE OFFLINE STABLE 3 OFFLINE OFFLINE STABLE ora.rhpserver 1 ONLINE ONLINE dsc-node2 STABLE 17 07.03.18

Installing Member Clusters 18 07.03.18

Installing a Member Cluster (1) Manifest File Before you install a member cluster, you have to create a Member Cluster Manifest File [grid@dsc-node1 ~]$ crsctl create member_cluster_configuration -help crsctl create member_cluster_configuration <member_cluster_name> -file <cluster_manifest_file> -member_type <database application> [-version <member_cluster_version>] [-domain_services [asm_storage <local direct indirect>][<rhp>]] where member_cluster_name name of the new Member Cluster -file path of the Cluster Manifest File -member_type type of member cluster to be created (database application) -version 5 digit version of GI, if different from DSC -domain_services services to be configured (asm_storage with local, direct, or indirect access paths, and rhp) asm_storage indicates the storage access path for database member clusters local : storage is local to the cluster direct or indirect : direct or indirect access to storage rhp generate credentials and configuration for an RHP client 19 07.03.18

Installing a Member Cluster (2) Manifest File Example [grid@dsc-node1 ~]$ crsctl create member_cluster_configuration dbcluster\ -file /home/grid/dbcluster.xml \ -member_type database -domain_services asm_storage local -------------------------------------------------------------------------------- ASM GIMR TFA ACFS RHP GNS ================================================================================ NO YES NO NO NO NO ================================================================================ [grid@dsc-node1 ~]$ crsctl query member_cluster_configuration dbcluster dbcluster 12.2.0.1.0 4a34243b9a4f7fdeff42e66c983b79dd GIMR Copy the manifest file to the new cluster afterwards 20 07.03.18

Installing a Database Member Cluster In this case the database member cluster uses local storage (local ASM instance) 21 07.03.18

Installing an Application Member Cluster Small differences compared to installing a database member cluster Virtual hostname can be defined for client access Application Member Clusters store the OCR on the DSC (via ASM Service) 22 07.03.18

Cluster Domain Services 23 07.03.18

Available Cluster Domain Services Centralized GIMR Centralized TFA Storage Service Rapid Home Provisioning 24 07.03.18

Centralized GIMR There's a PDB for every member cluster in the GIMR (-MGMTDB): [grid@dsc-node1 ~]$ sqlplus / as sysdba SQL*Plus: Release 12.2.0.1.0 Production on Mon Mar 5 21:19:07 2018 Copyright (c) 1982, 2016, Oracle. All rights reserved. Connected to: Oracle Database 12c Enterprise Edition Release 12.2.0.1.0-64bit Production SQL> show pdbs CON_ID CON_NAME OPEN MODE RESTRICTED --------- ------------- ------------------- ---------- 2 PDB$SEED READ ONLY NO 3 GIMR_DSCREP_10 READ WRITE NO 4 GIMR_CLUREP_20 READ WRITE NO 5 GIMR_CLUREP_30 READ WRITE NO SQL> exit If the DSC is not available, GIMR data is temporarily stored locally and transferred later 25 07.03.18

Centralized Trace File Analyzer Collector (TFA) TFA Daemon, independent on the Grid Infrastructure Why isn't that writen somewhere in the documentation? Collects trace and log files and system information from all nodes into a cluster with a single command initiated on one cluster node Does not work in (my) DSC configuration TFA service not "included" in member cluster manifest file No information in documentation how to enable it.. I created a Service Request 26 07.03.18

Centralized Trace File Analyzer Collector (TFA) Result of the Service Request Why isn't that written somewhere in the documentation? 27 07.03.18

Storage Service (ASM service) Member cluster has a connection to the storage The ASM service manages the disk groups Member cluster retrieves storage information from DSC (via ASM network) and retrieves data from the ASM disks From Oracle Grid Infrastructure Installation and Upgrade Guide [grid@dsc-node1 ~]$ srvctl status asm -verbose -detail ASM is running on dsc-node2,dsc-node1 ASM is enabled. ASM instance +ASM1 is running on node dsc-node1 Number of connected clients: 4 Client names: +APX1:+APX:dsc +IOS1:+IOS:dsc -MGMTDB:_mgmtdb:dsc dscnode1.markusdba.net:_ocr:dsc [..] Detailed state on node dsc-node1: Started [..] 28 07.03.18

Storage Service (IO Service) The I/O server provides network-based connectivity to ASM file for database instances on nodes that do not have direct access to ASM managed disks On the storage cluster, an I/O server instance opens up network ports to which clients send their I/O From Oracle Grid Infrastructure Installation and Upgrade Guide The I/O server instance receives data packets from the client and performs the appropriate IO to ASM disks [grid@dsc-node1 ~]$ srvctl status ioserver -verbose -detail ASM I/O Server is running on dsc-node2,dsc-node1 ASM I/O Server is enabled. ASM I/O server instance +IOS1 running on node dsc-node1 is connected to ASM instance Number of connected clients: 1 Client names: RAC1:RAC_SITE1:a38f8b271ff9efbcbf367068f36c0c0e ASM I/O server instance +IOS2 running on node dsc-node2 is connected to ASM instance Number of connected clients: 1 Client names: RAC2:RAC_SITE1:a38f8b271ff9efbcbf367068f36c0c0e 29 07.03.18

Rapid Home Provisioning Service The DSC can be configured as a Rapid Home Provisioning (RHP) server Features: Provisioning Oracle Software (GI + RDBMS) for member clusters Patching Oracle Software on member clusters Upgrading Oracle databases on member clusters Licence: "Lifecycle Management Pack" on targets required Source: Oracle-Whitepaper on RHP 18c 30 07.03.18

Summary & Outlook 31 07.03.18

Summary J Centralized Management for a group of clusters (> 8) J Storage Optimization when using shared storage K Install Enterprise Manager Cloud Control on the DSC and you'll get the "one cluster to rule them all" L L L L TFA not working, poorly documented Not very much documentation available The documentation is partly misleading Oracle 12.2: Existing Clusters cannot be converted into member clusters 32 07.03.18

New Features in Oracle 18c According to the docs J Conversion of a standalone cluster to a member cluster is possible Storage Conversion for member clusters (e.g. from direct ASM to indirect ASM) ACFS remote service 33 07.03.18

Further Information & References Oracle 12.2 - Grid Infrastructure - Installation + Upgrade (Chapter 8.5, 9.3) https://docs.oracle.com/en/database/oracle/oracle-database/12.2/cwlin/index.html Oracle Whitepaper "Oracle Grid Infrastructure Cluster Domains" http://www.oracle.com/ocom/groups/public/@otn/documents/webcontent/3633615.pdf http://www.hhutzler.de/blog/install-12-2-oracle-domain-cluster/ 34 07.03.18

Questions and Answers Markus Flechtner Principal Consultant Phone +49 211 5866 64725 Markus.Flechtner@Trivadis.com @markusdba https://markusdba.net Download the slides from http://www.slideshare.net/markusdba Please don t forget the session evaluation Thank you! 35 07.03.18