报了如下错误
Oracle RAC建库使用dbca磁盘组DiskGroup resource are not running on nodes. Database instance may not come up_Oracle

报在节点2没有运行DATA磁盘组,检查了下节点一

[grid@node1 ~]$ asmcmd 
ASMCMD> ls -l
State    Type    Rebal  Name
MOUNTED  EXTERN  N      DATA/
MOUNTED  EXTERN  N      FLASH/
MOUNTED  EXTERN  N      GRIDDG/

是有的,在节点二中,发现了如下问题

[grid@node2 ~]$ asmcmd
Connected to an idle instance.
ASMCMD> ls -l
ASMCMD-08102: no connection to ASM; command requires ASM to run

两边的显示不统一,原来是环境变量问题导致。

[grid@node1 ~]$ env |grep ORA
ORACLE_SID=+ASM1
ORACLE_BASE=/u01/app/grid
ORACLE_TERM=xterm
ORACLE_HOME=/u01/app/11.2.0/grid

[grid@node2 ~]$ env | grep ORA
ORACLE_SID=+ASM1
ORACLE_BASE=/u01/app/grid
ORACLE_TERM=xterm
ORACLE_HOME=/u01/app/11.2.0/grid

由于是使用脚本配置的环境变量,在执行的时候没有注意修改导致,节点二的ORACLE_SID应该为+ASM2

[root@node2 shell]# vi /home/grid/.bash_profile
[root@node2 shell]# source /home/oracle/.bash_profile

这样进入asmcmd命令显示如下,发现缺失DATA磁盘组

[grid@node2 ~]$ asmcmd
ASMCMD> ls -l
State    Type    Rebal  Name
MOUNTED  EXTERN  N      FLASH/
MOUNTED  EXTERN  N      GRIDDG/

检查下DATA磁盘组的运行情况

[grid@node2 ~]$ srvctl status diskgroup -g DATA -a
Disk Group DATA is running on node1
Disk Group DATA is enabled
[grid@node2 ~]$ srvctl start diskgroup -g DATA
[grid@node2 ~]$ srvctl status diskgroup -g DATA -a
Disk Group DATA is running on node1,node2
Disk Group DATA is enabled

问题解决。