一般在Flex集群,中心节点运行ASM实例,叶节点远程访问中心节点的ASM实例。
但是中心节点也可以不运行ASM实例而访问其他节点的ASM实例;另外,标准集群也可以启用Flex ASM。
由于有通过网络远程访问ASM实例的状况,因此也形成了ASM网络,ASM网络可与Private网络共用,即ASM&Private网络,可在安装界面指定。
确认当前ASM状态
点击(此处)折叠或打开
-
$ asmcmd showclustermode
- ASM cluster : Flex mode disabled
运行asmca,转换ASM为Flex ASM,以下是部分步骤截图
ASM的subnet与Public不同,将不能使用与Public相同的端口号
以root用户运行上图所示的脚本,将对集群内所有节点重启CRS
最后,确认当前集群模式
点击(此处)折叠或打开
-
$ asmcmd showclustermode
- ASM cluster : Flex mode enabled
-
- #后两项是Flex ASM才有的
-
$ srvctl config asm
ASM home:
Password file: +OCRV/orapwASM
ASM listener: LISTENER
ASM instance count: ALL
Cluster ASM listener: ASMNET1LSNR_ASM
点击(此处)折叠或打开
-
$ lsnrctl status ASMNET1LSNR_ASM
-
-
LSNRCTL for Linux: Version 12.1.0.2.0 - Production on 01-JUN-2016 15:08:11
-
-
Copyright (c) 1991, 2014, Oracle. All rights reserved.
-
-
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=ASMNET1LSNR_ASM)))
-
STATUS of the LISTENER
-
------------------------
-
Alias ASMNET1LSNR_ASM
-
Version TNSLSNR for Linux: Version 12.1.0.2.0 - Production
-
Start Date 01-JUN-2016 15:02:46
-
Uptime 0 days 0 hr. 5 min. 24 sec
-
Trace Level off
-
Security ON: Local OS Authentication
-
SNMP OFF
-
Listener Parameter File /u01/app/12.1.0/grid/network/admin/listener.ora
-
Listener Log File /u01/app/grid/diag/tnslsnr/node2/asmnet1lsnr_asm/alert/log.xml
-
Listening Endpoints Summary...
-
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=ASMNET1LSNR_ASM)))
-
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.1.1.2)(PORT=1522)))
-
Services Summary...
-
Service "+ASM" has 2 instance(s).
-
Instance "+ASM1", status READY, has 1 handler(s) for this service...
-
Instance "+ASM2", status READY, has 2 handler(s) for this service...
- The command completed successfully