Oracle Flex ASM 12c
Oracle Flex ASM 12c
Oracle® version 12.1.0.1 has incorporated two new features based on Hub and Leaf
node architecture. The new features are:
Flex Cluster
Flex Automatic Storage Management (Flex ASM)
Introduction
Oracle implements the Flex ASM feature by default in Oracle Database Appliance
(ODA) version 12.1.x, along with the ASM Dynamic Volume Manager (ADVM) Proxy
instance and the Grid Infrastructure Management Repository database, MGMTDB. This
explains Flex ASM, ADVM and MGMTDB features and the associated benefits.
Flex ASM
Flex ASM reduces the ASM instance footprint by running on each node of the cluster,
and also ensures that the database instance has high availability, in case of ASM
instance failure on a particular node. You can configure Flex ASM by using dedicated
ASM network, or you can share the private interconnect used by the cluster.
Oracle Flex ASM is an ASM instance which will be running in the cluster based on
cardinality defined. The default cardinality is three, but you can change it using srvctl modify
asm command. It means that ASM is not required to run on each node in the cluster.
In the previous release, ASM will be running on each node in the cluster and ASM clients
(Database, ACFS, ADVM) can only access ASM by using an ASM on the same host.
With Oracle Flex ASM, the clients can connect to remote ASM using network connection (ie
ASM network). If a server running an ASM instance fails, Oracle Clusterware will start a
new ASM instance on a different server to maintain the cardinality. If a 12c database
instance is using a particular ASM instance, and that instance is lost because of a server
crash or ASM instance failure, then the Oracle 12c database instance will reconnect to an
existing ASM instance on another node. These features are collectively called Oracle Flex
ASM.
What is Oracle ASM Proxy Instance?
Oracle ASM proxy instance will be configured to support the ACFS/ADVM. In a flex ASM,
an Oracle ASM proxy instance can run on the same node as ASM instance or on a different
node.
below picture shows ACFS/ADVM on node 2 talks to Oracle ASM proxy on the same node,
which connects to Oracle ASM instance on remote node 1.
What is the difference between Oracle Flex Cluster
vs Oracle Flex ASM?
Oracle Flex Cluster is a cluster node with Hub and leaf node configuration. Only Hub nodes
have direct access to OCR and Voting disk. Leaf node does not have direct access to
shared storage.
Flex Cluster require Flex ASM. Flex ASM does not require a Flex Cluster.
In Flex cluster node, the Flex ASM can run on the Hub nodes servicing clients across the
Hub nodes of the Flex Cluster.
The default Oracle Flex Cluster is disabled, users explicitly enable Flex Cluster functionality.
In versions previous to12c, the Oracle Clusterware required a public network for client
access and a private network for inter-node communication including ASM inter-node
communication in the cluster.
In Flex ASM, ASM network provides the capability to isolate ASM’s internal network traffic
to its own dedicated private network. The OUI presents the DBA with the choice as to
whether a dedicated network is to be used for ASM. The ASM network is the
communication path in which all the traffic between database instances and ASM instances
commence. This traffic is mostly the metadata such as a particular file’s extent map. If the
customer chooses, the ASM private network can be dedicated for ASM traffic or shared with
CSS and a dedicated network is not required.
There will be local ASM listener runs on each node where the flex ASM instance is
running.ASM clients connect to Flex ASM over the ASM network by using highly available
connection endpoints supplied by up to three ASM listeners. Connections are load balanced
across the ASM cluster.
Clients are automatically relocated to another instance if an ASM instance fails and the
connection is load balanced to an available instance. Clients can be manually relocated
using the “ALTER SYSTEM RELOCATE CLIENT” command. The command syntax is:
The standard ASM cluster can be converted to Flex ASM using ASMCA GUI or silent mode.
Oracle Flex ASM supports larger LUN sizes for Oracle Database 12c clients.
You can connect to other ASM instance from a different instance (for example, connect
to a second +ASM2 instance from the first instance).
You have the flexibility to rename an ASM Disk in a Disk Group. You can rename the
Disk name given by Oracle as needed.
If the existing node crashes. MGMTDB, an Oracle single instance managed by Grid
Infrastructure, fails over to the surviving node. You can identify the current master using
the following command: