Flex ASM Network, Listeners, ADVM Proxy

ASM Network
With Flex ASM Oracle 12c, a new type of network is called the ASM network.  it is used for communication between ASM and its clients and is accessile on all the nodes.  All ASM clients in the cluster have access to one or ore ASM network.  Also it is possible to configure single network can perform both function as a private and an ASM network (oifcfg getif, you should see cluster_interconnect,asm)

ASM Listeners:
To support FLex ASM, a set of ASM listeners are configured for every ASM network.  Up to three ASM listener addresses are registred as remote listeners in each client database instance.  All clients connections are load balanced across the entire set of ASM instances
ora.ASMNET1LSNR_ASM.lsnr
               ONLINE  ONLINE       glsdb01                STABLE
               ONLINE  ONLINE       glsdb02                STABLE
               ONLINE  ONLINE       glsdb03                STABLE
              
ADVM Proxy:
ASM Dynamic Volume Manager (ADVM) Proxy is a special Orale instance.  It enables ADVM to connect to Flex ASM and is required to run on the same node as ADVM and ACFS.  It can be shutdown when ACFS is not running

The ADVM proxy instance has its ORACLE_SID set to +APX<node number>

oracle   26722     1  0 13:33 ?        00:00:00 apx_pmon_+APX1

ora.proxy_advm
               ONLINE  ONLINE       glsdb01                STABLE
               ONLINE  ONLINE       glsdb02                STABLE
               ONLINE  ONLINE       glsdb03                STABLE


Some useful commands to administer Flex ASM:
srvctl config asm
 
ASM home: /u01/oracle/12.1.0.1/grid
Password file: +DBA_DATA501/ASM/PASSWORD/pwdasm.490.826738119
ASM listener: LISTENER
ASM instance count: ALL
Cluster ASM listener: ASMNET1LSNR_ASM

+ASM1 > srvctl status asm -detail
ASM is running on glsdb01,glsdb02
ASM is enabled.

+ASM1 > srvctl status asm -proxy -detail
ADVM proxy is running on node glsdb01,glsdb02
ADVM proxy is enabled

ASM and ADVM Proxy instances use memory_target=1076M.  Default instance settings are suitable most situations.


+ASM1 > crsctl status resource ora.asm -f | grep CARDINALITY=
CARDINALITY=%CRS_HUB_SIZE%

To set cardinality for Flex ASM instances
srvctl modify asm -count 3

crsctl status resource ora.asm -f | grep CARDINALITY=
CARDINALITY=3

+ASM1 > srvctl config asm
ASM home: /u01/oracle/12.1.0.1/grid
Password file: +DBA_DATA501/ASM/PASSWORD/pwdasm.490.826738119
ASM listener: LISTENER
ASM instance count: 3
Cluster ASM listener: ASMNET1LSNR_ASM

Monitor Flex ASM Connections:
select instance_name, status, db_name from v$asm_client

INSTANCE_NAME                                                    STATUS       DB_NAME
---------------------------------------------------------------- ------------ --------
+ASM1                                                            CONNECTED    +ASM
+ASM1                                                            CONNECTED    +ASM
+APX1                                                            CONNECTED    +APX
GLSTOOLS1                                                        CONNECTED    GLSTOOLS
-MGMTDB                                                          CONNECTED    _mgmtdb

No comments:

Post a Comment