[grid@hisdg ~]$ crsctl stat res -t -init
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DATA.dg
ONLINE OFFLINE hisdg
ora.LISTENER.lsnr
ONLINE INTERMEDIATE hisdg Not All Endpoints R
egistered
ora.asm
ONLINE ONLINE hisdg Started
ora.ons
OFFLINE OFFLINE hisdg
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.cssd
1 ONLINE ONLINE hisdg
ora.diskmon
1 OFFLINE OFFLINE
ora.evmd
1 ONLINE ONLINE hisdg
手工启动失败
[grid@hisdg ~]$ srvctl start diskgroup -g DATA
PRCR-1079 : Failed to start resource ora.DATA.dg
CRS-5017: The resource action "ora.DATA.dg start" encountered the following error:
ORA-15032: not all alterations performed
ORA-15017: diskgroup "DATA" cannot be mounted
ORA-15063: ASM discovered an insufficient number of disks for diskgroup "DATA"
. For details refer to "(:CLSN00107:)" in "/u01/app/grid/product/11.2.0/grid/log/hisdg/agent/ohasd/oraagent_grid/oraagent_grid.log".
CRS-2674: Start of 'ora.DATA.dg' on 'hisdg' failed
查看磁盘组,发现无显示
[root@hisdg ~]# oracleasm listdisks
扫描磁盘成功
[root@hisdg ~]# oracleasm scandisks
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
Instantiating disk "DATA01"
Instantiating disk "DATA02"
[root@hisdg ~]# oracleasm listdisks
DATA01
DATA02
[root@hisdg ~]#
再次手工启动磁盘组成功
[grid@hisdg ~]$ srvctl start diskgroup -g DATA
[grid@hisdg ~]$
[grid@hisdg ~]$ crsctl stat res -t -init
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DATA.dg
ONLINE ONLINE hisdg
ora.LISTENER.lsnr
ONLINE INTERMEDIATE hisdg Not All Endpoints R
egistered
ora.asm
ONLINE ONLINE hisdg Started
ora.ons
OFFLINE OFFLINE hisdg
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.cssd
1 ONLINE ONLINE hisdg
ora.diskmon
1 OFFLINE OFFLINE
ora.evmd
1 ONLINE ONLINE hisdg
[grid@hisdg ~]$
This will configure the on-boot properties of the Oracle ASM library
driver. The following questions will determine whether the driver is
loaded on boot and what permissions it will have. The current values
will be shown in brackets ('[]'). Hitting <ENTER> without typing an
answer will keep that current value. Ctrl-C will abort.
Default user to own the driver interface [grid]: grid
Default group to own the driver interface [asmadmin]: asmadmin
Scan for Oracle ASM disks on boot (y/n) [n]: y
Writing Oracle ASM library driver configuration: done
[root@hisdg ~]#