Infrastructure at your Service

Franck Pachot

Conversion to Flex ASM with asmca takes 5 minutes

By Franck Pachot

.
In 12c Oracle recommands Flex ASM. You can opt for it at Grid Infrastructure installation, but it’s very easy to convert to it later from asmca. It has to configure


[[email protected] ~]$ asmcmd showclustermode
ASM cluster: Flex mode disabled

In ASMCA if you are not in Flex ASM then you have the button to convert to it from the first tab. A listener will run on each node, so you define the port and the interface:
CaptureASMCAFLEXASM0

On my laptop with the lab environment from the dbi services Grid Infrastructure / RAC training workshop running the converttoFlexASM.sh as root took 5 minutes.

When it’s finished, you restart asmca and see that the convert button is not there anymore:

CaptureASMCAFLEXASM1

you can see it from asmcmd as well:


[[email protected] ~]$ asmcmd showclustermode
ASM cluster : Flex mode enabled

I can shutdown the ASM instance on node 2 (not from node 1 as I’ve run asmca from it):

Screenshot 2016-03-11 21.15.40

Both nodes have the flex ASM listener:


[[email protected] ~]$ crsctl status resource -t
--------------------------------------------------------------------------------
Name           Target  State        Server                   State details
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.ASMNET1LSNR_ASM.lsnr
               ONLINE  ONLINE       racp1vm1                 STABLE
               ONLINE  ONLINE       racp1vm2                 STABLE
ora.CRS_DG.dg
               ONLINE  ONLINE       racp1vm1                 STABLE
               OFFLINE OFFLINE      racp1vm2                 STABLE
ora.DATA.dg
               ONLINE  ONLINE       racp1vm1                 STABLE
               OFFLINE OFFLINE      racp1vm2                 STABLE
ora.DATA2.MYACFSVOL.advm
               ONLINE  ONLINE       racp1vm1                 Volume device /dev/a
                                                             sm/myacfsvol-160 is
                                                             online,STABLE
               ONLINE  ONLINE       racp1vm2                 Volume device /dev/a
                                                             sm/myacfsvol-160 is
                                                             online,STABLE
ora.DATA2.dg
               ONLINE  ONLINE       racp1vm1                 STABLE
               OFFLINE OFFLINE      racp1vm2                 STABLE

Note that the diskgroups are OFFLINE in node 2 because I stopped the ASM instance, but the ACFS filesystem is still up, thanks to flex ASM.

One Comment

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Franck Pachot
Franck Pachot

Principal Consultant / Database Evangelist
Oracle ACE Director, Oracle Database OCM 12c
AWS Database Specialty certified, AWS Data Hero
Oak Table member

RSS for this blog: feed
Twitter: @FranckPachot
LinkedIn : www.linkedin.com/in/franckpachot
Podcast en français: DBPod