Oracle 12c Flex ASM & Flex Cluster

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

Oracle RAC Course Content

ORACLE RAC DBA COURSE CONTENT

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

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

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

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

Reduce Infrastructure costs with Oracle Clusterware

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

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

Oracle Database 12c Flex Clusters

What you will learn. interface clients. Learn To:

Automatic Storage Management (ASM) Best Practices OUGN Marie-Louise Lindstrøm Service Delivery Engineer Oracle Support ACS

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

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

Question No : 1 Which three types of patches and upgrades are supported for Oracle Grid Infrastructure 12c? A. in-place upgrades using the Oracle Univ

See the disks inside ASM ASM> select name,label,path,header_status,os_mb,free_mb from v$asm_disk order by 2;

1Z0-593 Exam Questions Demo Oracle. Exam Questions 1Z0-593

Oracle Clustering: Oracle 11g Real Application Clusters for Administrators

Oracle 1Z Oracle Real Application Clusters 12c Essentials.

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

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

MIGRATION FROM RAW DEVICES TO ASMLib, STEP BY STEP EXAMPLE

Author A.Kishore Convert 11gR2 non-rac database to RAC database using rconfig

Configuring OGG with OGI Bundled Agents (XAG) for HA

An Oracle White Paper November Oracle RAC One Node 11g Release 2 User Guide

Oracle Real Application Clusters Handbook

1Z Oracle. Oracle Real Application Clusters 11g Release 2 and Grid Infrastructure Administration

A Deep Dive into ASM Redundancy in Exadata

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

Oracle Database 12c: Clusterware & ASM Admin Accelerated Ed 1

Oracle 1Z Number: 1Z0-058 Passing Score: 800 Time Limit: 120 min File Version: 1.0

Oracle Database 11g: RAC Administration Release 2 NEW

Oracle RAC Database 11g Documentation

This presentation is for informational purposes only and may not be incorporated into a contract or agreement.

ASM New Features for Release 12.2

Planning & Installing a RAC Database

Oracle Database 12c: Clusterware & RAC Admin Accelerated Ed 1

Oracle Real Application Clusters One Node

Focus On: Oracle Database 11g Release 2

Leveraging Oracle ASM Cluster File System for Private Cloud Storage. Kai Yu Oracle Solutions Engineering Dell Inc

Oracle Rac One Node 11gR2 DOAG November Bernhard de Cock Buning

<Insert Picture Here> Oracle MAA und RAC Best Practices und Engineered Systems

Oracle Database. 2 Day + Real Application Clusters Guide 11g Release 2 (11.2) E

Oracle DB 11gR2 - što je novo? Antun Vukšić, Principal Consultant Oracle Hrvatska

Database Services at CERN with Oracle 10g RAC and ASM on Commodity HW

Oracle Grid Infrastructure 11g: Manage Clusterware and ASM Student Guide - Volume I

2 Day + Real Application Clusters Guide 12c Release 1 (12.1)

Arup Nanda Longtime Oracle DBA (and now DMA)

Exadata for Oracle DBAs. Arup Nanda Longtime Oracle DBA (and now DMA)

Disaster Recovery Strategies for RAC on Oracle SE Arjen Visser Dbvisit Software Limited

FlashGrid Provisioning and Maintenance Guide for Oracle RAC in Azure Cloud

RAC Database on Oracle Ravello Cloud Service O R A C L E W H I T E P A P E R A U G U S T 2017

Andy Mendelsohn, Oracle Corporation

Oracle Database 11g Release 1 and 10g Release 2 Automatic Storage Management Overview and Technical Best Practices

Oracle Grid Infrastructure 11g: Manage Clusterware and ASM

Oracle Real Application Clusters (RAC) 12c Best Practices

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

Oracle Application Express: Administration 1-2

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

High Availability Infrastructure for Cloud Computing

1z0-058.exam.75q. 1z Oracle Real Application Clusters 11g Release 2 and Grid Infrastructure Administration

FlashGrid Provisioning and Maintenance Guide for Oracle RAC in Azure Cloud

Oracle Database Appliance Kit for WebLogic Server

11i on RAC: Sweating the Details. Practical overview of Technical Details of Implementing RAC for 11i E-Business Suite

What s New with Oracle Database 12c on Windows: On-Premises and in the Cloud


es T tpassport 㗴㓸 ఝ Ȉ ʼ ȋ ȿ Ⱥ ɺ ɖ ȳ ఝ Ȉ ʼ ȋ Ʌ ɣ ɉ ᐕ䬶ήᢱㅴ 䬨䭚䬢䬷䬺ឭଏ䬨䭚 *VVR YYY VGUVRCUURQTV LR

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

Presented By Chad Dimatulac Principal Database Architect United Airlines October 24, 2011

Maximum Availability Architecture: Overview. An Oracle White Paper July 2002

for RAC migrations WLCG Service Reliability Workshop CERN, November 30 th, 2007 Jacek Wojcieszuk, CERN IT LCG

Vendor: Oracle. Exam Code: 1Z Exam Name: Oracle Database 10g R2: Administering RAC. Version: Demo

Cross-Platform Database Migration with Oracle Data Guard

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

Accelerate Oracle Database 10g Creation and Deployment Using VMware Infrastructure and EMC Celerra Writeable Checkpoints

12 Cool Features in Oracle RAC

Demystifying ASM REQUIRED_MIRROR_FREE_MB and USABLE_FILE_MB

Configuring an Application as a Clustered Resource

Oracle Database 12c: High Availability New Features

ASM Internals. By Riyaj Shamsudeen. OraInternals Riyaj Shamsudeen

Maximum Availability Architecture. Oracle Best Practices for High Availability

Databases Clone using ACFS. Infrastructure at your Service.

Database Level 100. Rohit Rahi November Copyright 2018, Oracle and/or its affiliates. All rights reserved.

Load Balancing in Oracle Database Real Application Cluster

Oracle Real Application Clusters One Node

ENTERPRISE HYBRID CLOUD 4.0

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

Eliminate Idle Redundancy with Oracle Active Data Guard

1 P a g e Ensure HA in Database Cloud with Oracle Database 12c: What to Do and How to Do It.

<Insert Picture Here> Enterprise Data Management using Grid Technology

Oracle 10g and IPv6 IPv6 Summit 11 December 2003

Experience the GRID Today with Oracle9i RAC

Oracle Grid Infrastructure

You Probably DO Need RAC

White Paper. Dell Reference Configuration

Oracle Database 12c: OCM Exam Preparation Workshop Ed 1

Setting Up Oracle for Prime Fulfillment

ORACLE 11g R2 New Features

Oracle Real Application Clusters in Oracle VM Environments. An Oracle Technical White Paper March 2012

Transcription:

Oracle 12c Flex ASM & Flex Cluster PRESENTER Yenugula Venkata Ravikumar OCM, Head-Database Practice, 8th NOVEMBER 2014 BENGALURU, INDIA 1

2 ABOUT ME

AGENDA The History of ASM Benefits Of ASM Automatic Storage Management (ASM) Overview Flex ASM Flex Cluster Oracle 10g R2 Functionality Oracle 11g R2 Functionality Oracle 12c R1 Functionality ASM Cluster ASM Network ASM Remote Access Deploying the Flex ASM 3

HISTORY OF ASM Before Oracle 10g, Storage Management was provided by 3rd parties CUSTOMER CHALLENGES Large databases required considerable storage management THE SIMPLE Best IDEA performance OF ASM required raw storage Integrated NFS solutions, volume manager while simple, and file did system not perform as well as raw Stripe For and RAC, mirror cluster files file across systems disks were in a ASM not available Disk Group Automatic Rebalance Built With on Oracle the 10g, Oracle ASM instance provided architecture Manage Simplicity storage of as management, a global cluster even Shared better Disk than Groups NFS solutions Performance equal to raw disks Support for RAC clusters 4

BENEFITS OF ASM (1 of 2) I/O is spread evenly across all available disk drives to prevent hot spots and maximize performance Inherent large file supports Performs automatic online redistribution after the incremental addition or removal of storage capacity Maintains redundant copies of data to provide high availability or leverage 3rd party RAID functionality Supports Oracle Database as well as Oracle Real Application Clusters (RAC) 5

BENEFITS OF ASM (2 of 2) For simplicity and easier migration to ASM, an Oracle Database can contain ASM and non-asm files. Any new files can be created as ASM files whilst existing files can also be migrated to ASM RMAN commands enable non-asm managed files to be relocated to an ASM disk group Oracle Enterprise Manager can be used to manage ASM disk and file management activities ASM reduces Oracle Database cost and complexity without compromising performance or availability 6

ARCHITECTURE OF ASM ORACLE DATABASE File System Logical Volume Manager OPERATING SYSTEM HARDWARE Oracle Database ASM File System & Volume Management OPERATING SYSTEM HARDWARE 7

Oracle RAC 10gR2 CONFIGURATION 8

Oracle RAC 11gR2 CONFIGURATION 9

CAPABILITIES OF ASM 1-1 ASM to SERVER SHARED DISK GROUPS WIDE FILE STRIPING 10

AUTOMATIC STORAGE MANAGEMENT (ASM) OVERVIEW Current State RAC CLUSTER ONE TO ONE MAPPING OF ASM INSTANCES TO SERVERS Database Instance DB A DB A DB B DB B DB B DB C ASM Instance ASM Instance Node1 ASM Node2 ASM Node3 ASM Node4 ASM Node5 ASM SHARED DISK GROUPS ASM Cluster Pool of Storage Disk Group A Disk Group B ASM Disk WIDE FILE STRIPING 11

Oracle RAC 11gR2 CONFIGURATION Current Challenge Oracle RAC 11gR2 CLIENTS Loss of Service If ASM on any node fails Database service is down WAN TRAFFIC +ASM1 +ASM2 +ASM3 +ASM4 4 Node Primary Site 12

Oracle Database 11gR2 with ASM login as: oracle oracle@192.168.xx.xx s password: ******** Last login: Fri Sep 27 06:05:44 2013 [oracle@rac1 ~]$ ps -ef grep pmon oracle 3053 1 0 05:56? 00:00:00 asm_pmon_+asm1 oracle 3849 1 0 05:57? 00:00:00 ora_pmon_flavia1 [oracle@rac1 ~]$ srvctl status asm ASM is running on rac2,rac1 [oracle@rac1 ~]$ crsctl check cluster CRS-4537: Cluster Ready Services is online CRS-4529: Cluster Synchronization Services is online CRS-4533: Event Manager is online [oracle@rac1 ~]$ srvctl stop asm -n rac1 -o abort -f LOG INTO RAC DATABASE INSTANCE (RAC1) CHECK STATUS OF ASM & RAC DATABASE INSTANCES CHECK STATUS OF ASM INSTANCE IN RAC DATABASE INSTANCES1 (RAC1) CHECK STATUS OF CLUSTER IN RAC DATABASE INSTANCES1 (RAC1) STOP THE ASM INSTANCE IN RAC DATABASE INSTANCE1 (RAC1) 13

Oracle Database 11gR2 with ASM [oracle@rac1 ~]$ srvctl stop asm -n rac1 -o abort -f [oracle@rac1 ~]$ srvctl status asm CHECK THE STATUS OF ASM INSTANCE IN RAC DATABASE INSTANCE1 (RAC1) 14

Oracle Database 11gR2 with ASM [oracle@rac1 ~]$ srvctl stop asm -n rac1 -o abort -f [oracle@rac1 ~]$ srvctl status asm ASM is running on rac2 15

Oracle Database 11gR2 with ASM [oracle@rac1 ~]$ srvctl stop asm -n rac1 -o abort CHECK -f THE STATUS OF ASM & RAC [oracle@rac1 ~]$ srvctl status asm DATABASE INSTANCE (RAC1) ASM is running on rac2 [oracle@rac1 ~]$ ps -ef grep pmon 16

Oracle Database 11gR2 with ASM SUMMARY The database instance is strongly linked to the ASM instance If an ASM instance fails so will the database instance on the same node [oracle@rac1 ~]$ srvctl stop asm -n rac1 -o abort -f [oracle@rac1 ~]$ srvctl status asm ASM is running on rac2 [oracle@rac1 ~]$ ps -ef grep pmon oracle 7885 5795 0 06:20 pts/0 00:00:00 grep pmon 17

FLEX ASM: ELIMINATE 1:1 SERVER MAPPING New: ASM Storage Consolidation in Oracle Database 12c DATABASES SHARE ASM INSTANCES SHARED DISK GROUPS WIDE FILE STRIPING RAC Cluster Database Instance DB A DB A DB B DB B DB B DB C ASM Instance Node1 ASM Instance Node2 Node1 Node2 runs as runs as ASM Client ASM Client to Node4 Node2 to Node3 ASM Cluster Pool of Storage Disk Group A ASM Node3 ASM Node4 ASM Disk Group B Node5 ASM Disk Node5 runs as ASM Client to Node4 18

Oracle Database 12cR1 with FLEX ASM [oracle@oel6-112-rac1 Desktop]$ hostname LOG INTO RAC DATABASE oel6-112-rac1.localdomain INSTANCE 1 (RAC1) [oracle@oel6-112-rac1 Desktop]$ ps -ef grep pmon oracle 3325 1 0 17:39? 00:00:00 asm_pmon_+asm1 oracle 3813 1 0 17:40? 00:00:00 mdb_pmon_-mgmtdb CHECK THE STATUS OF ASM & RAC oracle 5806 1 0 17:42? 00:00:00 ora_pmon_orcl1 DATABASE INSTANCES oracle 6193 1 0 17:42? 00:00:00 apx_pmon_+apx1 [oracle@oel6-112-rac1 Desktop]$ srvctl status asm CHECK THE STATUS OF ASM INSTANCE IN ASM is running on oel6-112-rac2,oel6-112-rac1 RAC DATABASE INSTANCE FROM INSTANCE 1 (RAC 1) [oracle@oel6-112-rac1 Desktop]$ crsctl check cluster CRS-4537: Cluster Ready Services is online CRS-4529: Cluster Synchronization Services is online CRS-4533: Event Manager is online [oracle@oel6-112-rac1 Desktop]$ asmcmd ASMCMD> showclustermode CHECK THE STATUS OF CLUSTER IN INSTANCE 1 (RAC 1) CHECK IF ORACLE FLEX ASM IS ENABLED OR NOT (RAC1) 19

Oracle Database 12cR1 with FLEX ASM [oracle@oel6-112-rac1 Desktop]$ asmcmd ASMCMD> showclustermode ASM cluster : Flex mode enabled ASMCMD> showclusterstate 20

Oracle Database 12cR1 with FLEX ASM [oracle@oel6-112-rac1 Desktop]$ asmcmd ASMCMD> showclustermode ASM cluster : Flex mode enabled ASMCMD> showclusterstate Normal ASMCMD> exit 21

Oracle Database 12cR1 with FLEX ASM [oracle@oel6-112-rac1 Desktop]$ asmcmd ASMCMD> showclustermode ASM cluster : Flex mode enabled ASMCMD> showclusterstate Normal ASMCMD> exit [oracle@oel6-112-rac1 Desktop]$ srvctl config asm -detail 22

Oracle Database 12cR1 with FLEX ASM [oracle@oel6-112-rac1 Desktop]$ asmcmd ASMCMD> showclustermode ASM cluster : Flex mode enabled ASMCMD> showclusterstate Normal ASMCMD> exit [oracle@oel6-112-rac1 Desktop]$ srvctl status asm -detail ASM is running on oel6-112-rac2,oel6-112-rac1 ASM is enabled. [oracle@oel6-112-rac1 Desktop]$ srvctl config asm -detail ASM home: /u01/app/12.1.0/grid Password file: +DATA/orapwASM ASM listener: LISTENER ASM is enabled. ASM instance count: 3 Cluster ASM listener: ASMNET1LSNR_ASM [oracle@oel6-112-rac2 Desktop]$ asmcmd CHECK IF ORACLE FLEX ASM IS ENABLED OR NOT (RAC2) 23

Oracle Database 12cR1 with FLEX ASM [oracle@oel6-112-rac1 Desktop]$ asmcmd ASMCMD> showclustermode ASM cluster : Flex mode enabled ASMCMD> showclusterstate Normal ASMCMD> exit [oracle@oel6-112-rac1 Desktop]$ srvctl status asm -detail ASM is running on oel6-112-rac2,oel6-112-rac1 ASM is enabled. [oracle@oel6-112-rac1 Desktop]$ srvctl config asm -detail ASM home: /u01/app/12.1.0/grid Password file: +DATA/orapwASM ASM listener: LISTENER ASM is enabled. ASM instance count: 3 Cluster ASM listener: ASMNET1LSNR_ASM [oracle@oel6-112-rac2 Desktop]$ asmcmd ASMCMD> showclustermode ASM cluster : Flex mode enabled ASMCMD> showclusterstate 24

Oracle Database 12cR1 with FLEX ASM Normal ASMCMD> exit 25

Oracle Database 12cR1 with FLEX ASM CHANGE CARDINALITY OF THE ASM (RAC 2) Normal ASMCMD> exit [oracle@oel6-112-rac2 Desktop]$ srvctl config asm -detail 26

Oracle Database 12cR1 with FLEX ASM Normal ASMCMD> exit [oracle@oel6-112-rac2 Desktop]$ srvctl config asm -detail ASM home: /u01/app/12.1.0/grid Password file: +DATA/orapwASM ASM listener: LISTENER ASM is enabled. ASM instance count: 3 Cluster ASM listener: ASMNET1LSNR_ASM [oracle@oel6-112-rac2 Desktop]$ 27

Oracle Database 12cR1 with FLEX ASM Normal ASMCMD> exit [oracle@oel6-112-rac2 Desktop]$ srvctl config asm -detail ASM home: /u01/app/12.1.0/grid Password file: +DATA/orapwASM ASM listener: LISTENER ASM is enabled. ASM instance count: 3 Cluster ASM listener: ASMNET1LSNR_ASM BRING DOWN THE ASM INSTANCE IN RAC DATABASE INSTANCE 1 (RAC 1) CHECK STATUS OF ASM INSTANCE IN RAC DATABASE INSTANCE1 (RAC1) CHECK STATUS OF CLUSTER SERVICES IN [oracle@oel6-112-rac1 Desktop]$ srvctl stop asm -node oel6-112-rac1 RAC DATABASE -stopoption INSTANCE1 abort (RAC1) -force [oracle@oel6-112-rac1 Desktop]$ srvctl status asm PRCR-1070 : Failed to check if resource ora.asm is registered Cannot communicate with crsd [oracle@oel6-112-rac1 Desktop]$ crsctl check cluster 28

Oracle Database 12cR1 with FLEX ASM Normal ASMCMD> exit [oracle@oel6-112-rac2 Desktop]$ srvctl config asm -detail ASM home: /u01/app/12.1.0/grid Password file: +DATA/orapwASM ASM listener: LISTENER ASM is enabled. ASM instance count: 3 Cluster ASM listener: ASMNET1LSNR_ASM [oracle@oel6-112-rac1 Desktop]$ srvctl stop asm -node oel6-112-rac1 -stopoption abort -force [oracle@oel6-112-rac1 Desktop]$ srvctl status asm PRCR-1070 : Failed to check if resource ora.asm is registered Cannot communicate with crsd [oracle@oel6-112-rac1 Desktop]$ crsctl check cluster CRS-4535: Cannot communicate with Cluster Ready Services CRS-4529: Cluster Synchronization Services is online CRS-4533: Event Manager is online 29

Oracle Database 12cR1 with FLEX ASM Normal ASMCMD> exit [oracle@oel6-112-rac2 Desktop]$ srvctl config asm -detail ASM home: /u01/app/12.1.0/grid Password file: +DATA/orapwASM ASM listener: LISTENER ASM is enabled. ASM instance count: 3 Cluster ASM listener: ASMNET1LSNR_ASM [oracle@oel6-112-rac1 Desktop]$ srvctl stop asm -node oel6-112-rac1 -stopoption abort -force [oracle@oel6-112-rac1 Desktop]$ srvctl status asm PRCR-1070 : Failed to check if resource ora.asm is registered Cannot communicate with crsd [oracle@oel6-112-rac1 Desktop]$ crsctl check cluster CRS-4535: Cannot communicate with Cluster Ready Services CHECK STATUS OF ASM & RAC DATABASE CRS-4529: Cluster Synchronization Services is online IN INSTANCE1 (RAC 1) CRS-4533: Event Manager is online [oracle@oel6-112-rac1 Desktop]$ ps -ef grep pmon 30

Oracle Database 12cR1 with FLEX ASM [oracle@oel6-112-rac2 Desktop]$ srvctl config asm -detail ASM home: /u01/app/12.1.0/grid Password file: +DATA/orapwASM ASM listener: LISTENER ASM is enabled. ASM instance count: 3 Cluster ASM listener: ASMNET1LSNR_ASM [oracle@oel6-112-rac1 Desktop]$ [oracle@oel6-112-rac1 Desktop]$ srvctl status asm NOTE [oracle@oel6-112-rac1 Desktop]$ crsctl check cluster CRS-4535: Cannot communicate with Cluster Ready Services CRS-4529: Cluster Synchronization Services is online CRS-4533: Event Manager is online [oracle@oel6-112-rac1 Desktop]$ ps -ef grep pmon oracle 3813 1 0 17:40? 00:00:00 mdb_pmon_-mgmtdb oracle 5806 same cluster. 1 0 17:42? 00:00:00 ora_pmon_orcl1 oracle 6193 1 0 17:42? 00:00:00 apx_pmon_+apx1 [oracle@oel6-112-rac1 Desktop]$ srvctl stop asm -node oel6-112-rac1 -stopoption abort -force PRCR-1070 : Failed to check if resource ora.asm is registered Cannot communicate with crsd Here a database instance is associated with the specific ASM instance running in the specific node. If in case due to some reason if the ASM instance was unable to be brought up/services goes down, still the database instance can be brought up as the database instance will look for ASM instance running in the 31

Oracle Database 12cR1 with FLEX ASM [oracle@oel6-112-rac2 Desktop]$. oraenv ORACLE_SID = [orcl1]? orcl1 ORACLE_HOME = [/home/oracle]? /u01/app/oracle/product/12.1.0/db_1 The Oracle base remains unchanged with value /u01/app/oracle CHECK STATUS OF RAC DATABASE INSTANCE RUNNING WITHOUT ASM INTANCE IN RAC DATABASE INSTANCE1 (RAC1) 32

Oracle Database 12cR1 with FLEX ASM LOG INTO DATABASE INSTANCE FROM [oracle@oel6-112-rac1 Desktop]$ sqlplus /nolog RAC DATABASE INSTANCE (RAC1) SQL> connect sys/oracle@orcl as sysdba Connected. SQL> select instance_name, instance_number from gv$instance; INSTANCE_NAME INSTANCE_NUMBER ------------------------------------------- orcl2 2 orcl1 1 SQL> select instance_name, instance_number from v$instance; INSTANCE_NAME INSTANCE_NUMBER ------------------------------------------- orcl2 2 SQL> connect sys/oracle@orcl as sysdba Connected. SQL> SQL*Plus: Release 12.1.0.1.0 Production on Wed Sep 25 18:24:36 2013 Copyright (c) 1982, 2013, Oracle. All rights reserved. 33

Oracle Database 12cR1 with FLEX ASM SQL> select instance_name, instance_number from gv$instance; INSTANCE_NAME INSTANCE_NUMBER ------------------------------------------- orcl1 1 [oracle@oel6-112-rac1 Desktop]$. oraenv ORACLE_SID = [orcl1]? +ASM2 ORACLE_HOME = [/home/oracle]? /u01/app/12.1.0/grid CONNECTING TO ASM INSTANCE OF RAC DATABASE INSTANCE2 (RAC2) FROM RAC DATABASE INSTANCE1 (RAC1) The Oracle base remains unchanged with value /u01/app/oracle [oracle@oel6-112-rac1 Desktop]$ asmcmd --privilege sysasm --inst +ASM2 34

Oracle Database 12cR1 with FLEX ASM ASMCMD> lsdg State Type Rebal Sector Block AU Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Voting_files Name MOUNTED EXTERN N 512 4096 1048576 15342 4782 0 4782 0 Y DATA/ ASMCMD> SUMMARY The database instance was using a dedicated ASM instance and that ASM instance was forced to stop working simulating a failure, so the database instance reconnected to an existent ASM instance on another node, for this example node 2 (rac2). 35

FLEX ASM: SUPPORTING ORACLE DATABASE 11g Previous Database versions will host Local ASM Instance RAC CLUSTER DATABASES SHARE ASM INSTANCES Database Instance ASM Instance 11.2 DB DB A DB A DB B DB B DB B DB C ASM Node1 Node2 ASM Node3 ASM Node4 ASM 11.2 DB Node5 ASM SHARED DISK GROUPS ASM Cluster Pool of Storage Disk Group A Disk Group B ASM Disk WIDE FILE STRIPING 36

Oracle FLEX CLUSTER Comprises of a Hub and Leaf architecture where in only the Hub nodes will only have direct access to Oracle Cluster Registry (OCR) and Voting Disk (VD) However application can access the database via Leaf nodes without ASM instance NOT running on Leaf nodes The connection to the database is through Hub making it transparent for the application Depicts a typical Oracle flex cluster with four Leaf nodes and two Hub nodes. In a nutshell Oracle Flex Cluster requires Oracle Flex ASM. 37

HUB NODES & LEAF NODES Hub Nodes They are connected among them via private network and have direct access to the shared storage just like previous versions. These nodes are the ones that access the Oracle Cluster Registry (OCR) and Voting Disk (VD) directly. Leaf Nodes These nodes are lighter and are not connected among them, neither access the shared storage like the Hub Nodes. Each Leaf Node communicates with the Hub Node that is attached to, and its connected to the cluster via the Hub Node that is linked to. 38

FLEX ASM & FLEX CLUSTER Flex ASM Higher Availability (DB instances can use remote ASM instances) Planned or Unplanned downtime Reduces per-node ASM instance overhead ASM only needs to run on 3 nodes in the cluster Facilitates DB, Cluster & server consolidation Multiple DB s & applications in a cluster Flex CLUSTER Less complex configuration and management for non-database nodes Less complex configuration for Non-Database nodes, such as Processing Nodes, Application / Web Server Nodes etc. 39

PREVIOUS ASM CLUSTER ASM architecture utilized an ASM instance on every server Database instances dependent on node-specific ASM instance ASM overhead scaled with size of cluster 40

NEW ASM CLUSTER Eliminates requirement for an ASM instance on every cluster server Database instances connects to any ASM instance in the cluster Database instances can failover to a secondary ASM instance Administrators specify the cardinality of ASM instances (default is 3) Clusterware ensures ASM cardinality is maintained 41

FLEX ASM NETWORK Flex ASM adds the ASM network, which is used for communication between ASM and its clients Oracle 12c, you can now create a separate network dedicated for ASM communication. Need to mention the network address during the installation This dedicated ASM network is completely optional. The default is the pre-12c behavior of using the Clusterware interconnect for ASM communication 42

DEPLOYING FLEX ASM Managing Flex ASM Flex ASM requires minimal monitoring and ongoing management Primary objective is that instances are up and running SRVCTL Command for: Checking ASM instance status Setting cardinality Starting Stopping - and - Relocating ASM instances No Flex ASM-specific instance parameters are required Default settings will effectively support most situations ASM server instances use automatic memory management Flex ASM is managed by ASMCA, CRSCTL, SQL*Plus and SRVCTL 43

NEW FLEX ASM Flex Features Increase maximum number of Disk Groups to 511 (Previous limit was 63) Command for renaming ASM Disk ASM Relocate Command Clients are automatically relocated to another instance if an Oracle ASM instance fails When necessary, Clients can be manually relocated using the ALTER SYSTEM RELOCATE CLIENT command 44

New Option in Grid Infrastructure Oracle ASM Deployment Model can be chosen during the installation of Oracle Grid Infrastructure Oracle ASM Configuration Assistant (ASMCA) can be used to enable Oracle Flex ASM after the installation / upgrade is performed The functionality is available only in an Oracle Grid Infrastructure Configuration 45

Conversion of Standard Cluster to Oracle Flex ASM Cluster 46

47

CHECK CLUSTER MODE AND CLUSTER STATE AFTER LOGGING INTO ASMCMD PROMPT [oracle@racnroll1 ~]$ asmcmd ASMCMD> showversion ASM version : 12.1.0.1.0 ASMCMD> showclusterstate Normal ASMCMD> showclustermode ASM cluster : Flex mode enabled 48

Thanks for your time! Q&A Session yenugulavenkata.ravikumar ravikumar.yv@patterns-sdi.com @yvrk1973 http://yvrk1973.blogspot.in Refer for additional information http://docs.oracle.com/ http://www.oracle.com/technetwork/es/articles/index.html http://in.linkedin.com/pub/yv-ravikumar-oracle-certified-master-ocm/14/13/a50 49