SlideShare a Scribd company logo
12c ASM: Moving the Existing Cluster Mode to Flex Cluster
In Oracle Flex ASM architecture, Oracle ASM instances can run only a small
number of cluster nodes. These ASM instances are connected by all the
database instances on the cluster to provide storage access for all these
database instances. When an ASM instance fails, the database instances
reconnect to other ASM instances for the failed ASM instance. This features
supports the platform for variety of application which includes RAC with large
number of nodes. There is a new type of network, ASM network with Flex ASM
which is used for communication between ASM and its clients. ASM network is
accessible from all nodes. In oracle Flex Cluster, the nodes are arranged in two
ways i.e. Hub Node and Leaf Node.
Hub Nodes: tightly connected with each other like standard configuration and
have direct access to the shared storage. The maximum 64 hub nodes will be
configured in a cluster.
Leaf nodes: Leaf nodes can be added as many as more and can host different
applications other than hub nodes. This type of nodes doesn't require direct
access to shared storage instead they can request data from Hub nodes.
The Hub nodes can be run or configured as member of cluster without any leaf
nodes but leaf nodes must have Hub node to become member of cluster.
Check current ASM Status
[oracle@rac1 bin]$ ./crsctl get cluster mode status
Cluster is running in "standard" mode
[oracle@rac1 bin]$ ./srvctl status asm -detail
ASM is running on rac1,rac2
ASM is enabled.
[oracle@rac1 bin]$ ./srvctl config asm
ASM home: /u01/app/12.1.0/grid
Password file: +DATA/orapwASM
ASM listener: LISTENER
[oracle@rac1 bin]$ asmcmd showclustermode
ASM cluster : Flex mode disabled

1

Tested By - Monowar Mukul, OCM 11g DBA
12c ASM: Moving the Existing Cluster Mode to Flex Cluster
oracle@rac1 bin]$ asmca

Select ASM Instance tab

2

Tested By - Monowar Mukul, OCM 11g DBA
12c ASM: Moving the Existing Cluster Mode to Flex Cluster
click Convert to Oracle Flex ASM

click OK

3

Tested By - Monowar Mukul, OCM 11g DBA
12c ASM: Moving the Existing Cluster Mode to Flex Cluster

4

Tested By - Monowar Mukul, OCM 11g DBA
12c ASM: Moving the Existing Cluster Mode to Flex Cluster
Run the script on local node as a root user :
/u01/app/oracle/cfgtoollogs/asmca/scripts/converttoFlexASM.sh
Output:
[root@rac1 ~]# /u01/app/oracle/cfgtoollogs/asmca/scripts/converttoFlexASM.sh
PRCR-1086 : resource ora.proxy_advm is already registered
CRS-2673: Attempting to stop 'ora.crsd' on 'rac1'
:
:
CRS-2677: Stop of 'ora.asm' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'rac1'
CRS-2677: Stop of 'ora.ctssd' on 'rac1' succeeded
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'rac1'
CRS-2677: Stop of 'ora.cssd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.evmd' on 'rac1'
CRS-2676: Start of 'ora.evmd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rac1'
CRS-2676: Start of 'ora.cssdmonitor' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'rac1'
CRS-2672: Attempting to start 'ora.diskmon' on 'rac1'
CRS-2676: Start of 'ora.diskmon' on 'rac1' succeeded
CRS-2676: Start of 'ora.cssd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'rac1'
CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'rac1'
CRS-2676: Start of 'ora.ctssd' on 'rac1' succeeded
CRS-2676: Start of 'ora.cluster_interconnect.haip' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'rac1'
CRS-2676: Start of 'ora.asm' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.storage' on 'rac1'
CRS-2676: Start of 'ora.storage' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'rac1'
CRS-2676: Start of 'ora.crsd' on 'rac1' succeeded
Cluster bounced in node rac1
CRS-2673: Attempting to stop 'ora.crsd' on 'rac2'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'rac2'
CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'rac2'
CRS-2673: Attempting to stop 'ora.cvu' on 'rac2'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN3.lsnr' on 'rac2'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN2.lsnr' on 'rac2'
CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'rac2' succeeded
CRS-2673: Attempting to stop 'ora.rac2.vip' on 'rac2'
CRS-2677: Stop of 'ora.LISTENER_SCAN3.lsnr' on 'rac2' succeeded
CRS-2673: Attempting to stop 'ora.scan3.vip' on 'rac2'
CRS-2677: Stop of 'ora.LISTENER_SCAN2.lsnr' on 'rac2' succeeded
CRS-2673: Attempting to stop 'ora.scan2.vip' on 'rac2'
CRS-2677: Stop of 'ora.cvu' on 'rac2' succeeded
CRS-2672: Attempting to start 'ora.cvu' on 'rac1'
CRS-2676: Start of 'ora.cvu' on 'rac1' succeeded
CRS-2677: Stop of 'ora.rac2.vip' on 'rac2' succeeded
CRS-2672: Attempting to start 'ora.rac2.vip' on 'rac1'
CRS-2677: Stop of 'ora.scan2.vip' on 'rac2' succeeded
CRS-2672: Attempting to start 'ora.scan2.vip' on 'rac1'
CRS-2676: Start of 'ora.rac2.vip' on 'rac1' succeeded
CRS-2677: Stop of 'ora.scan3.vip' on 'rac2' succeeded
CRS-2672: Attempting to start 'ora.scan3.vip' on 'rac1'
CRS-2676: Start of 'ora.scan2.vip' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.LISTENER_SCAN2.lsnr' on 'rac1'
CRS-2676: Start of 'ora.scan3.vip' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.LISTENER_SCAN3.lsnr' on 'rac1'
CRS-2676: Start of 'ora.LISTENER_SCAN2.lsnr' on 'rac1' succeeded
CRS-2676: Start of 'ora.LISTENER_SCAN3.lsnr' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.DATA.dg' on 'rac2'
CRS-2673: Attempting to stop 'ora.FRA.dg' on 'rac2'
CRS-2677: Stop of 'ora.DATA.dg' on 'rac2' succeeded

5

Tested By - Monowar Mukul, OCM 11g DBA
12c ASM: Moving the Existing Cluster Mode to Flex Cluster
CRS-2677: Stop of 'ora.FRA.dg' on 'rac2' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'rac2'
CRS-2677: Stop of 'ora.asm' on 'rac2' succeeded
CRS-2673: Attempting to stop 'ora.ASMNET1LSNR_ASM.lsnr' on 'rac2'
CRS-2677: Stop of 'ora.ASMNET1LSNR_ASM.lsnr' on 'rac2' succeeded
CRS-2673: Attempting to stop 'ora.ons' on 'rac2'
CRS-2677: Stop of 'ora.ons' on 'rac2' succeeded
CRS-2673: Attempting to stop 'ora.net1.network' on 'rac2'
:
:
CRS-2676: Start of 'ora.cssd' on 'rac2' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'rac2'
CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'rac2'
CRS-2676: Start of 'ora.ctssd' on 'rac2' succeeded
CRS-2676: Start of 'ora.cluster_interconnect.haip' on 'rac2' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'rac2'
CRS-2676: Start of 'ora.asm' on 'rac2' succeeded
CRS-2672: Attempting to start 'ora.storage' on 'rac2'
CRS-2676: Start of 'ora.storage' on 'rac2' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'rac2'
CRS-2676: Start of 'ora.crsd' on 'rac2' succeeded
Cluster bounced in node rac2
Check the mode again

--------------------------Check the clustermode again:
-------------------------------------[oracle@rac1 bin]$ asmcmd showclustermode
ASM cluster : Flex mode enabled

Check Configuration
--------------------------[oracle@rac1 bin]$ ./srvctl config asm
ASM home: /u01/app/12.1.0/grid
Password file: +DATA/orapwASM
ASM listener: LISTENER
ASM instance count: ALL
Cluster ASM listener: ASMNET1LSNR_ASM
On First Node:
[oracle@rac1 bin]$ ps -ef|grep pmon
oracle 15633
1 0 07:41 ?
00:00:00 asm_pmon_+ASM1
oracle 15985
1 0 07:42 ?
00:00:00 apx_pmon_+APX1
oracle 21959 7848 0 08:00 pts/1 00:00:00 grep pmon
Check the instance status:
[oracle@rac1 bin]$ ./srvctl status database -d orcl
Instance orcl_1 is running on node rac2
I see instance is running on second node based on server policy.
Check on Second Node:
[oracle@rac2 ~]$ ps -ef | grep pmon
oracle 14453
1 0 07:43 ?
00:00:00 asm_pmon_+ASM2

6

Tested By - Monowar Mukul, OCM 11g DBA
12c ASM: Moving the Existing Cluster Mode to Flex Cluster
oracle 17339
1 0 07:44 ?
00:00:00 apx_pmon_+APX2
oracle 20393
1 0 07:56 ?
00:00:00 ora_pmon_orcl_1
oracle 22522 22466 0 08:17 pts/1 00:00:00 grep pmon
Note: New +APX proxy instances are running on nodes for Flex ASM
Check Network status
------------------------------[oracle@rac2 ~]$ netstat -ntl | grep 1521
tcp
tcp
tcp
tcp

0
0
0
0

0
0
0
0

192.168.2.24:1521
192.168.2.12:1521
192.168.2.102:1521
192.168.0.102:1521

0.0.0.0:*
0.0.0.0:*
0.0.0.0:*
0.0.0.0:*

LISTEN
LISTEN
LISTEN
LISTEN

Now for testing I am going to kill ASM on cluster node 2
[oracle@rac2 ~]$ ps -ef | grep pmon
oracle 14453 1 0 07:43 ?
00:00:00 asm_pmon_+ASM2
oracle 17339 1 0 07:44 ?
00:00:00 apx_pmon_+APX2
oracle 19985 22466 0 08:30 pts/1 00:00:00 grep pmon
oracle 20393 1 0 07:56 ?
00:00:00 ora_pmon_orcl_1
[oracle@rac2 ~]$ kill -9 14453 17339
RAC database instance on node 2 is still running.

[oracle@rac2 ~]$ ps -ef | grep pmon
oracle 20393 1 0 07:56 ?
00:00:00 ora_pmon_orcl_1
oracle 32397 22466 0 08:31 pts/1 00:00:00 grep pmon
Check the ASM status
----------------------------[oracle@rac2 ~]$ crsctl stat res ora.asm -v
NAME=ora.asm
TYPE=ora.asm.type
LAST_SERVER=rac1
STATE=ONLINE on rac1
TARGET=ONLINE
CARDINALITY_ID=1
CREATION_SEED=223
RESTART_COUNT=0
FAILURE_COUNT=0
FAILURE_HISTORY=
ID=ora.asm 1 1
INCARNATION=1
LAST_RESTART=11/16/2013 07:38:40
LAST_STATE_CHANGE=11/16/2013 07:42:54
STATE_DETAILS=
INTERNAL_STATE=STABLE
INSTANCE_COUNT=2
LAST_SERVER=rac2
STATE=OFFLINE
TARGET=ONLINE
CARDINALITY_ID=2
CREATION_SEED=223
RESTART_COUNT=1
FAILURE_COUNT=0
FAILURE_HISTORY=

7

Tested By - Monowar Mukul, OCM 11g DBA
12c ASM: Moving the Existing Cluster Mode to Flex Cluster
ID=ora.asm 2 1
INCARNATION=1
LAST_RESTART=NEVER
LAST_STATE_CHANGE=11/16/2013 08:31:03
STATE_DETAILS=
INTERNAL_STATE=STARTING
INSTANCE_COUNT=2

Check again
-------------------[oracle@rac2 ~]$ ps -ef | grep pmon
oracle 927 1 0 08:31 ?
00:00:00 asm_pmon_+ASM2
oracle 1842 1 0 08:31 ?
00:00:00 apx_pmon_+APX2
oracle 2783 22466 0 08:35 pts/1 00:00:00 grep pmon
oracle 20393 1 0 07:56 ?
00:00:00 ora_pmon_orcl_1
So ASM has restarted and the database instance has remained stable.
Flex Cluster Role Management
------------------------------------------

[root@rac1 bin]# ./crsctl status server rac1 -f
NAME=rac1
MEMORY_SIZE=3854
CPU_COUNT=1
CPU_CLOCK_RATE=2
CPU_HYPERTHREADING=0
CPU_EQUIVALENCY=1000
DEPLOYMENT=other
CONFIGURED_CSS_ROLE=hub
RESOURCE_USE_ENABLED=1
SERVER_LABEL=
PHYSICAL_HOSTNAME=
STATE=ONLINE
ACTIVE_POOLS=Generic ora.TESTP
STATE_DETAILS=
ACTIVE_CSS_ROLE=hub

I am going to change the 1st node as a leaf node:
[root@rac1 bin]# crsctl set node role leaf [or hub]
CRS-4408: Node 'rac1' configured role successfully changed; restart Oracle High Availability Services for new role to
take effect.
# crsctl stop crs
# crsctl start crs
Then check again
----------------------

./crsctl status server rac1 -f
NAME=rac1
MEMORY_SIZE=3854
CPU_COUNT=1
CPU_CLOCK_RATE=2
CPU_HYPERTHREADING=0
CPU_EQUIVALENCY=1000
DEPLOYMENT=other
CONFIGURED_CSS_ROLE=leaf
RESOURCE_USE_ENABLED=1
SERVER_LABEL=
PHYSICAL_HOSTNAME=
STATE=ONLINE
ACTIVE_POOLS=Generic ora.TESTP

8

Tested By - Monowar Mukul, OCM 11g DBA
12c ASM: Moving the Existing Cluster Mode to Flex Cluster
STATE_DETAILS=
ACTIVE_CSS_ROLE=leaf

9

Tested By - Monowar Mukul, OCM 11g DBA

More Related Content

What's hot (19)

PDF
Percona XtraDB 集群内部
YUCHENG HU
 
PDF
Riyaj real world performance issues rac focus
Riyaj Shamsudeen
 
PDF
2014 OSDC Talk: Introduction to Percona XtraDB Cluster and HAProxy
Bo-Yi Wu
 
PDF
Percona XtraDB Cluster
Kenny Gryp
 
PDF
Trivadis TechEvent 2017 With the CLI through the Oracle Cloud Martin Berger
Trivadis
 
PDF
Install Solaris 11.1 on a Virtualbox VM
Laurent Leturgez
 
PPT
Cloug Troubleshooting Oracle 11g Rac 101 Tips And Tricks
Scott Jenner
 
PDF
Oracle 12c r1 installation on solaris 11.1
Laurent Leturgez
 
PDF
MySQL as a Document Store
Dave Stokes
 
PDF
MySQL Replication Update -- Zendcon 2016
Dave Stokes
 
PDF
MySQL Replication Basics -Ohio Linux Fest 2016
Dave Stokes
 
PPTX
Troubleshooting containerized triple o deployment
Sadique Puthen
 
PDF
OpenStack networking-sfc flow 분석
Yongyoon Shin
 
PPTX
How to Troubleshoot OpenStack Without Losing Sleep
Sadique Puthen
 
PPTX
Oracle Clusterware and Private Network Considerations - Practical Performance...
Guenadi JILEVSKI
 
PPTX
Percona XtraDB Cluster SF Meetup
Vadim Tkachenko
 
DOCX
TESTING - Drop 12c RAC Database, Database Software and GI
Monowar Mukul
 
PDF
Anatomy of neutron from the eagle eyes of troubelshoorters
Sadique Puthen
 
Percona XtraDB 集群内部
YUCHENG HU
 
Riyaj real world performance issues rac focus
Riyaj Shamsudeen
 
2014 OSDC Talk: Introduction to Percona XtraDB Cluster and HAProxy
Bo-Yi Wu
 
Percona XtraDB Cluster
Kenny Gryp
 
Trivadis TechEvent 2017 With the CLI through the Oracle Cloud Martin Berger
Trivadis
 
Install Solaris 11.1 on a Virtualbox VM
Laurent Leturgez
 
Cloug Troubleshooting Oracle 11g Rac 101 Tips And Tricks
Scott Jenner
 
Oracle 12c r1 installation on solaris 11.1
Laurent Leturgez
 
MySQL as a Document Store
Dave Stokes
 
MySQL Replication Update -- Zendcon 2016
Dave Stokes
 
MySQL Replication Basics -Ohio Linux Fest 2016
Dave Stokes
 
Troubleshooting containerized triple o deployment
Sadique Puthen
 
OpenStack networking-sfc flow 분석
Yongyoon Shin
 
How to Troubleshoot OpenStack Without Losing Sleep
Sadique Puthen
 
Oracle Clusterware and Private Network Considerations - Practical Performance...
Guenadi JILEVSKI
 
Percona XtraDB Cluster SF Meetup
Vadim Tkachenko
 
TESTING - Drop 12c RAC Database, Database Software and GI
Monowar Mukul
 
Anatomy of neutron from the eagle eyes of troubelshoorters
Sadique Puthen
 

Viewers also liked (20)

DOCX
SOA Fusion Middleware installation
Monowar Mukul
 
DOCX
Oracle 12c far sync standby instance
Monowar Mukul
 
PPTX
Edtc6341 63 esther_sauceda_practice_test5
esauceda12
 
DOCX
Exadata Cell metrics
Monowar Mukul
 
DOCX
TimesTen in memory database Creation
Monowar Mukul
 
PDF
Oracle 12c RAC (Advanced installation - Flex ASM)
Monowar Mukul
 
DOCX
Exadata - BULK DATA LOAD Testing on Database Machine
Monowar Mukul
 
DOCX
Upgrade database using cloud_control Provisioning
Monowar Mukul
 
PPT
Copyright Crash Course 1st revised ppt 6340.64 Sonia Aldape
soniaaldape
 
PDF
1247g3hg1238 2011
Kittikul Kengkla
 
DOCX
12c database migration from ASM storage to NON-ASM storage
Monowar Mukul
 
DOCX
Advanced installation 12c rac
Monowar Mukul
 
DOCX
Moving 12c database from NON-ASM to ASM
Monowar Mukul
 
DOCX
Exadata I/O Resource Manager (Exadata IORM)
Monowar Mukul
 
DOCX
12c: Testing audit features for Data Pump (Export & Import) and RMAN jobs
Monowar Mukul
 
DOCX
Exadata - Smart Scan Testing
Monowar Mukul
 
DOC
Migration Database from SQL SERVER 2012 to Oracle12c with Pluggable Database
Monowar Mukul
 
DOCX
Oracle EM12c Edit or Create Incident rules and Setup SMS alert
Monowar Mukul
 
DOCX
Oracle Certified Master 11g database administration preparation
Monowar Mukul
 
DOCX
SMS notification setup using EM12c
Monowar Mukul
 
SOA Fusion Middleware installation
Monowar Mukul
 
Oracle 12c far sync standby instance
Monowar Mukul
 
Edtc6341 63 esther_sauceda_practice_test5
esauceda12
 
Exadata Cell metrics
Monowar Mukul
 
TimesTen in memory database Creation
Monowar Mukul
 
Oracle 12c RAC (Advanced installation - Flex ASM)
Monowar Mukul
 
Exadata - BULK DATA LOAD Testing on Database Machine
Monowar Mukul
 
Upgrade database using cloud_control Provisioning
Monowar Mukul
 
Copyright Crash Course 1st revised ppt 6340.64 Sonia Aldape
soniaaldape
 
1247g3hg1238 2011
Kittikul Kengkla
 
12c database migration from ASM storage to NON-ASM storage
Monowar Mukul
 
Advanced installation 12c rac
Monowar Mukul
 
Moving 12c database from NON-ASM to ASM
Monowar Mukul
 
Exadata I/O Resource Manager (Exadata IORM)
Monowar Mukul
 
12c: Testing audit features for Data Pump (Export & Import) and RMAN jobs
Monowar Mukul
 
Exadata - Smart Scan Testing
Monowar Mukul
 
Migration Database from SQL SERVER 2012 to Oracle12c with Pluggable Database
Monowar Mukul
 
Oracle EM12c Edit or Create Incident rules and Setup SMS alert
Monowar Mukul
 
Oracle Certified Master 11g database administration preparation
Monowar Mukul
 
SMS notification setup using EM12c
Monowar Mukul
 
Ad

Similar to 12c Flex ASM: Moving to Flex ASM (20)

PDF
RACATTACK Lab Handbook - Enable Flex Cluster and Flex ASM
Maaz Anjum
 
PPTX
How oracle 12c flexes its muscles against oracle 11g r2 final
Ajith Narayanan
 
PDF
Oracle12c flex asm_flexcluster - Y V RAVI KUMAR
pasalapudi123
 
PDF
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Markus Michalewicz
 
PPTX
SAOUG - Connect 2014 - Flex Cluster and Flex ASM
Alex Zaballa
 
PPTX
Oracle flex asm & flex cluster
Ghanshyam Khetan
 
PDF
Oracle RAC 12c New Features List OOW13
Markus Michalewicz
 
PDF
Rac&asm
Osama Mustafa
 
PDF
Flex Your Database on 12c's Flex ASM and Flex Cluster
Maaz Anjum
 
PDF
Flex your Database on 12c's Flex ASM Flex Cluster
ALI ANWAR, OCP®
 
PDF
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Sandesh Rao
 
PDF
Oracle RAC 12c Overview
Markus Michalewicz
 
PDF
Oracle RAC 12c Best Practices Sanger OOW13 [CON8805]
Markus Michalewicz
 
PDF
ORACLE RAC DBA ONLINE TRAINING
TRAINING ICON
 
PDF
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
Markus Michalewicz
 
TXT
oracle dba
uday jampani
 
PDF
AUSOUG - NZOUG-GroundBreakers-Jun 2019 - 19c RAC
Sandesh Rao
 
PPTX
Anil nair rac_internals_sangam_2016
Anil Nair
 
PDF
Oracle 12c New Features_RAC_slides
Saiful
 
PDF
les12.pdf
VAMSICHOWDARY61
 
RACATTACK Lab Handbook - Enable Flex Cluster and Flex ASM
Maaz Anjum
 
How oracle 12c flexes its muscles against oracle 11g r2 final
Ajith Narayanan
 
Oracle12c flex asm_flexcluster - Y V RAVI KUMAR
pasalapudi123
 
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Markus Michalewicz
 
SAOUG - Connect 2014 - Flex Cluster and Flex ASM
Alex Zaballa
 
Oracle flex asm & flex cluster
Ghanshyam Khetan
 
Oracle RAC 12c New Features List OOW13
Markus Michalewicz
 
Rac&asm
Osama Mustafa
 
Flex Your Database on 12c's Flex ASM and Flex Cluster
Maaz Anjum
 
Flex your Database on 12c's Flex ASM Flex Cluster
ALI ANWAR, OCP®
 
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Sandesh Rao
 
Oracle RAC 12c Overview
Markus Michalewicz
 
Oracle RAC 12c Best Practices Sanger OOW13 [CON8805]
Markus Michalewicz
 
ORACLE RAC DBA ONLINE TRAINING
TRAINING ICON
 
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
Markus Michalewicz
 
oracle dba
uday jampani
 
AUSOUG - NZOUG-GroundBreakers-Jun 2019 - 19c RAC
Sandesh Rao
 
Anil nair rac_internals_sangam_2016
Anil Nair
 
Oracle 12c New Features_RAC_slides
Saiful
 
les12.pdf
VAMSICHOWDARY61
 
Ad

Recently uploaded (20)

DOCX
Unit 5: Speech-language and swallowing disorders
JELLA VISHNU DURGA PRASAD
 
PDF
Tips for Writing the Research Title with Examples
Thelma Villaflores
 
PDF
TOP 10 AI TOOLS YOU MUST LEARN TO SURVIVE IN 2025 AND ABOVE
digilearnings.com
 
PDF
Virat Kohli- the Pride of Indian cricket
kushpar147
 
PPTX
How to Track Skills & Contracts Using Odoo 18 Employee
Celine George
 
PPTX
Python-Application-in-Drug-Design by R D Jawarkar.pptx
Rahul Jawarkar
 
PPTX
Basics and rules of probability with real-life uses
ravatkaran694
 
PPTX
YSPH VMOC Special Report - Measles Outbreak Southwest US 7-20-2025.pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
 
PPTX
Continental Accounting in Odoo 18 - Odoo Slides
Celine George
 
PPTX
LDP-2 UNIT 4 Presentation for practical.pptx
abhaypanchal2525
 
PPTX
CONCEPT OF CHILD CARE. pptx
AneetaSharma15
 
PPTX
How to Close Subscription in Odoo 18 - Odoo Slides
Celine George
 
DOCX
pgdei-UNIT -V Neurological Disorders & developmental disabilities
JELLA VISHNU DURGA PRASAD
 
PPTX
Gupta Art & Architecture Temple and Sculptures.pptx
Virag Sontakke
 
PPTX
ENGLISH 8 WEEK 3 Q1 - Analyzing the linguistic, historical, andor biographica...
OliverOllet
 
PDF
My Thoughts On Q&A- A Novel By Vikas Swarup
Niharika
 
PPT
DRUGS USED IN THERAPY OF SHOCK, Shock Therapy, Treatment or management of shock
Rajshri Ghogare
 
PPTX
PROTIEN ENERGY MALNUTRITION: NURSING MANAGEMENT.pptx
PRADEEP ABOTHU
 
PPTX
Introduction to Probability(basic) .pptx
purohitanuj034
 
PDF
The Minister of Tourism, Culture and Creative Arts, Abla Dzifa Gomashie has e...
nservice241
 
Unit 5: Speech-language and swallowing disorders
JELLA VISHNU DURGA PRASAD
 
Tips for Writing the Research Title with Examples
Thelma Villaflores
 
TOP 10 AI TOOLS YOU MUST LEARN TO SURVIVE IN 2025 AND ABOVE
digilearnings.com
 
Virat Kohli- the Pride of Indian cricket
kushpar147
 
How to Track Skills & Contracts Using Odoo 18 Employee
Celine George
 
Python-Application-in-Drug-Design by R D Jawarkar.pptx
Rahul Jawarkar
 
Basics and rules of probability with real-life uses
ravatkaran694
 
YSPH VMOC Special Report - Measles Outbreak Southwest US 7-20-2025.pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
 
Continental Accounting in Odoo 18 - Odoo Slides
Celine George
 
LDP-2 UNIT 4 Presentation for practical.pptx
abhaypanchal2525
 
CONCEPT OF CHILD CARE. pptx
AneetaSharma15
 
How to Close Subscription in Odoo 18 - Odoo Slides
Celine George
 
pgdei-UNIT -V Neurological Disorders & developmental disabilities
JELLA VISHNU DURGA PRASAD
 
Gupta Art & Architecture Temple and Sculptures.pptx
Virag Sontakke
 
ENGLISH 8 WEEK 3 Q1 - Analyzing the linguistic, historical, andor biographica...
OliverOllet
 
My Thoughts On Q&A- A Novel By Vikas Swarup
Niharika
 
DRUGS USED IN THERAPY OF SHOCK, Shock Therapy, Treatment or management of shock
Rajshri Ghogare
 
PROTIEN ENERGY MALNUTRITION: NURSING MANAGEMENT.pptx
PRADEEP ABOTHU
 
Introduction to Probability(basic) .pptx
purohitanuj034
 
The Minister of Tourism, Culture and Creative Arts, Abla Dzifa Gomashie has e...
nservice241
 

12c Flex ASM: Moving to Flex ASM

  • 1. 12c ASM: Moving the Existing Cluster Mode to Flex Cluster In Oracle Flex ASM architecture, Oracle ASM instances can run only a small number of cluster nodes. These ASM instances are connected by all the database instances on the cluster to provide storage access for all these database instances. When an ASM instance fails, the database instances reconnect to other ASM instances for the failed ASM instance. This features supports the platform for variety of application which includes RAC with large number of nodes. There is a new type of network, ASM network with Flex ASM which is used for communication between ASM and its clients. ASM network is accessible from all nodes. In oracle Flex Cluster, the nodes are arranged in two ways i.e. Hub Node and Leaf Node. Hub Nodes: tightly connected with each other like standard configuration and have direct access to the shared storage. The maximum 64 hub nodes will be configured in a cluster. Leaf nodes: Leaf nodes can be added as many as more and can host different applications other than hub nodes. This type of nodes doesn't require direct access to shared storage instead they can request data from Hub nodes. The Hub nodes can be run or configured as member of cluster without any leaf nodes but leaf nodes must have Hub node to become member of cluster. Check current ASM Status [oracle@rac1 bin]$ ./crsctl get cluster mode status Cluster is running in "standard" mode [oracle@rac1 bin]$ ./srvctl status asm -detail ASM is running on rac1,rac2 ASM is enabled. [oracle@rac1 bin]$ ./srvctl config asm ASM home: /u01/app/12.1.0/grid Password file: +DATA/orapwASM ASM listener: LISTENER [oracle@rac1 bin]$ asmcmd showclustermode ASM cluster : Flex mode disabled 1 Tested By - Monowar Mukul, OCM 11g DBA
  • 2. 12c ASM: Moving the Existing Cluster Mode to Flex Cluster oracle@rac1 bin]$ asmca Select ASM Instance tab 2 Tested By - Monowar Mukul, OCM 11g DBA
  • 3. 12c ASM: Moving the Existing Cluster Mode to Flex Cluster click Convert to Oracle Flex ASM click OK 3 Tested By - Monowar Mukul, OCM 11g DBA
  • 4. 12c ASM: Moving the Existing Cluster Mode to Flex Cluster 4 Tested By - Monowar Mukul, OCM 11g DBA
  • 5. 12c ASM: Moving the Existing Cluster Mode to Flex Cluster Run the script on local node as a root user : /u01/app/oracle/cfgtoollogs/asmca/scripts/converttoFlexASM.sh Output: [root@rac1 ~]# /u01/app/oracle/cfgtoollogs/asmca/scripts/converttoFlexASM.sh PRCR-1086 : resource ora.proxy_advm is already registered CRS-2673: Attempting to stop 'ora.crsd' on 'rac1' : : CRS-2677: Stop of 'ora.asm' on 'rac1' succeeded CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'rac1' CRS-2677: Stop of 'ora.ctssd' on 'rac1' succeeded CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'rac1' succeeded CRS-2673: Attempting to stop 'ora.cssd' on 'rac1' CRS-2677: Stop of 'ora.cssd' on 'rac1' succeeded CRS-2672: Attempting to start 'ora.evmd' on 'rac1' CRS-2676: Start of 'ora.evmd' on 'rac1' succeeded CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rac1' CRS-2676: Start of 'ora.cssdmonitor' on 'rac1' succeeded CRS-2672: Attempting to start 'ora.cssd' on 'rac1' CRS-2672: Attempting to start 'ora.diskmon' on 'rac1' CRS-2676: Start of 'ora.diskmon' on 'rac1' succeeded CRS-2676: Start of 'ora.cssd' on 'rac1' succeeded CRS-2672: Attempting to start 'ora.ctssd' on 'rac1' CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'rac1' CRS-2676: Start of 'ora.ctssd' on 'rac1' succeeded CRS-2676: Start of 'ora.cluster_interconnect.haip' on 'rac1' succeeded CRS-2672: Attempting to start 'ora.asm' on 'rac1' CRS-2676: Start of 'ora.asm' on 'rac1' succeeded CRS-2672: Attempting to start 'ora.storage' on 'rac1' CRS-2676: Start of 'ora.storage' on 'rac1' succeeded CRS-2672: Attempting to start 'ora.crsd' on 'rac1' CRS-2676: Start of 'ora.crsd' on 'rac1' succeeded Cluster bounced in node rac1 CRS-2673: Attempting to stop 'ora.crsd' on 'rac2' CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'rac2' CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'rac2' CRS-2673: Attempting to stop 'ora.cvu' on 'rac2' CRS-2673: Attempting to stop 'ora.LISTENER_SCAN3.lsnr' on 'rac2' CRS-2673: Attempting to stop 'ora.LISTENER_SCAN2.lsnr' on 'rac2' CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'rac2' succeeded CRS-2673: Attempting to stop 'ora.rac2.vip' on 'rac2' CRS-2677: Stop of 'ora.LISTENER_SCAN3.lsnr' on 'rac2' succeeded CRS-2673: Attempting to stop 'ora.scan3.vip' on 'rac2' CRS-2677: Stop of 'ora.LISTENER_SCAN2.lsnr' on 'rac2' succeeded CRS-2673: Attempting to stop 'ora.scan2.vip' on 'rac2' CRS-2677: Stop of 'ora.cvu' on 'rac2' succeeded CRS-2672: Attempting to start 'ora.cvu' on 'rac1' CRS-2676: Start of 'ora.cvu' on 'rac1' succeeded CRS-2677: Stop of 'ora.rac2.vip' on 'rac2' succeeded CRS-2672: Attempting to start 'ora.rac2.vip' on 'rac1' CRS-2677: Stop of 'ora.scan2.vip' on 'rac2' succeeded CRS-2672: Attempting to start 'ora.scan2.vip' on 'rac1' CRS-2676: Start of 'ora.rac2.vip' on 'rac1' succeeded CRS-2677: Stop of 'ora.scan3.vip' on 'rac2' succeeded CRS-2672: Attempting to start 'ora.scan3.vip' on 'rac1' CRS-2676: Start of 'ora.scan2.vip' on 'rac1' succeeded CRS-2672: Attempting to start 'ora.LISTENER_SCAN2.lsnr' on 'rac1' CRS-2676: Start of 'ora.scan3.vip' on 'rac1' succeeded CRS-2672: Attempting to start 'ora.LISTENER_SCAN3.lsnr' on 'rac1' CRS-2676: Start of 'ora.LISTENER_SCAN2.lsnr' on 'rac1' succeeded CRS-2676: Start of 'ora.LISTENER_SCAN3.lsnr' on 'rac1' succeeded CRS-2673: Attempting to stop 'ora.DATA.dg' on 'rac2' CRS-2673: Attempting to stop 'ora.FRA.dg' on 'rac2' CRS-2677: Stop of 'ora.DATA.dg' on 'rac2' succeeded 5 Tested By - Monowar Mukul, OCM 11g DBA
  • 6. 12c ASM: Moving the Existing Cluster Mode to Flex Cluster CRS-2677: Stop of 'ora.FRA.dg' on 'rac2' succeeded CRS-2673: Attempting to stop 'ora.asm' on 'rac2' CRS-2677: Stop of 'ora.asm' on 'rac2' succeeded CRS-2673: Attempting to stop 'ora.ASMNET1LSNR_ASM.lsnr' on 'rac2' CRS-2677: Stop of 'ora.ASMNET1LSNR_ASM.lsnr' on 'rac2' succeeded CRS-2673: Attempting to stop 'ora.ons' on 'rac2' CRS-2677: Stop of 'ora.ons' on 'rac2' succeeded CRS-2673: Attempting to stop 'ora.net1.network' on 'rac2' : : CRS-2676: Start of 'ora.cssd' on 'rac2' succeeded CRS-2672: Attempting to start 'ora.ctssd' on 'rac2' CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'rac2' CRS-2676: Start of 'ora.ctssd' on 'rac2' succeeded CRS-2676: Start of 'ora.cluster_interconnect.haip' on 'rac2' succeeded CRS-2672: Attempting to start 'ora.asm' on 'rac2' CRS-2676: Start of 'ora.asm' on 'rac2' succeeded CRS-2672: Attempting to start 'ora.storage' on 'rac2' CRS-2676: Start of 'ora.storage' on 'rac2' succeeded CRS-2672: Attempting to start 'ora.crsd' on 'rac2' CRS-2676: Start of 'ora.crsd' on 'rac2' succeeded Cluster bounced in node rac2 Check the mode again --------------------------Check the clustermode again: -------------------------------------[oracle@rac1 bin]$ asmcmd showclustermode ASM cluster : Flex mode enabled Check Configuration --------------------------[oracle@rac1 bin]$ ./srvctl config asm ASM home: /u01/app/12.1.0/grid Password file: +DATA/orapwASM ASM listener: LISTENER ASM instance count: ALL Cluster ASM listener: ASMNET1LSNR_ASM On First Node: [oracle@rac1 bin]$ ps -ef|grep pmon oracle 15633 1 0 07:41 ? 00:00:00 asm_pmon_+ASM1 oracle 15985 1 0 07:42 ? 00:00:00 apx_pmon_+APX1 oracle 21959 7848 0 08:00 pts/1 00:00:00 grep pmon Check the instance status: [oracle@rac1 bin]$ ./srvctl status database -d orcl Instance orcl_1 is running on node rac2 I see instance is running on second node based on server policy. Check on Second Node: [oracle@rac2 ~]$ ps -ef | grep pmon oracle 14453 1 0 07:43 ? 00:00:00 asm_pmon_+ASM2 6 Tested By - Monowar Mukul, OCM 11g DBA
  • 7. 12c ASM: Moving the Existing Cluster Mode to Flex Cluster oracle 17339 1 0 07:44 ? 00:00:00 apx_pmon_+APX2 oracle 20393 1 0 07:56 ? 00:00:00 ora_pmon_orcl_1 oracle 22522 22466 0 08:17 pts/1 00:00:00 grep pmon Note: New +APX proxy instances are running on nodes for Flex ASM Check Network status ------------------------------[oracle@rac2 ~]$ netstat -ntl | grep 1521 tcp tcp tcp tcp 0 0 0 0 0 0 0 0 192.168.2.24:1521 192.168.2.12:1521 192.168.2.102:1521 192.168.0.102:1521 0.0.0.0:* 0.0.0.0:* 0.0.0.0:* 0.0.0.0:* LISTEN LISTEN LISTEN LISTEN Now for testing I am going to kill ASM on cluster node 2 [oracle@rac2 ~]$ ps -ef | grep pmon oracle 14453 1 0 07:43 ? 00:00:00 asm_pmon_+ASM2 oracle 17339 1 0 07:44 ? 00:00:00 apx_pmon_+APX2 oracle 19985 22466 0 08:30 pts/1 00:00:00 grep pmon oracle 20393 1 0 07:56 ? 00:00:00 ora_pmon_orcl_1 [oracle@rac2 ~]$ kill -9 14453 17339 RAC database instance on node 2 is still running. [oracle@rac2 ~]$ ps -ef | grep pmon oracle 20393 1 0 07:56 ? 00:00:00 ora_pmon_orcl_1 oracle 32397 22466 0 08:31 pts/1 00:00:00 grep pmon Check the ASM status ----------------------------[oracle@rac2 ~]$ crsctl stat res ora.asm -v NAME=ora.asm TYPE=ora.asm.type LAST_SERVER=rac1 STATE=ONLINE on rac1 TARGET=ONLINE CARDINALITY_ID=1 CREATION_SEED=223 RESTART_COUNT=0 FAILURE_COUNT=0 FAILURE_HISTORY= ID=ora.asm 1 1 INCARNATION=1 LAST_RESTART=11/16/2013 07:38:40 LAST_STATE_CHANGE=11/16/2013 07:42:54 STATE_DETAILS= INTERNAL_STATE=STABLE INSTANCE_COUNT=2 LAST_SERVER=rac2 STATE=OFFLINE TARGET=ONLINE CARDINALITY_ID=2 CREATION_SEED=223 RESTART_COUNT=1 FAILURE_COUNT=0 FAILURE_HISTORY= 7 Tested By - Monowar Mukul, OCM 11g DBA
  • 8. 12c ASM: Moving the Existing Cluster Mode to Flex Cluster ID=ora.asm 2 1 INCARNATION=1 LAST_RESTART=NEVER LAST_STATE_CHANGE=11/16/2013 08:31:03 STATE_DETAILS= INTERNAL_STATE=STARTING INSTANCE_COUNT=2 Check again -------------------[oracle@rac2 ~]$ ps -ef | grep pmon oracle 927 1 0 08:31 ? 00:00:00 asm_pmon_+ASM2 oracle 1842 1 0 08:31 ? 00:00:00 apx_pmon_+APX2 oracle 2783 22466 0 08:35 pts/1 00:00:00 grep pmon oracle 20393 1 0 07:56 ? 00:00:00 ora_pmon_orcl_1 So ASM has restarted and the database instance has remained stable. Flex Cluster Role Management ------------------------------------------ [root@rac1 bin]# ./crsctl status server rac1 -f NAME=rac1 MEMORY_SIZE=3854 CPU_COUNT=1 CPU_CLOCK_RATE=2 CPU_HYPERTHREADING=0 CPU_EQUIVALENCY=1000 DEPLOYMENT=other CONFIGURED_CSS_ROLE=hub RESOURCE_USE_ENABLED=1 SERVER_LABEL= PHYSICAL_HOSTNAME= STATE=ONLINE ACTIVE_POOLS=Generic ora.TESTP STATE_DETAILS= ACTIVE_CSS_ROLE=hub I am going to change the 1st node as a leaf node: [root@rac1 bin]# crsctl set node role leaf [or hub] CRS-4408: Node 'rac1' configured role successfully changed; restart Oracle High Availability Services for new role to take effect. # crsctl stop crs # crsctl start crs Then check again ---------------------- ./crsctl status server rac1 -f NAME=rac1 MEMORY_SIZE=3854 CPU_COUNT=1 CPU_CLOCK_RATE=2 CPU_HYPERTHREADING=0 CPU_EQUIVALENCY=1000 DEPLOYMENT=other CONFIGURED_CSS_ROLE=leaf RESOURCE_USE_ENABLED=1 SERVER_LABEL= PHYSICAL_HOSTNAME= STATE=ONLINE ACTIVE_POOLS=Generic ora.TESTP 8 Tested By - Monowar Mukul, OCM 11g DBA
  • 9. 12c ASM: Moving the Existing Cluster Mode to Flex Cluster STATE_DETAILS= ACTIVE_CSS_ROLE=leaf 9 Tested By - Monowar Mukul, OCM 11g DBA