12c asm 磁盘组offline

本文涉及的产品
OCR统一识别,每月200次
通用文字识别,通用文字识别 200次/月
教育场景识别,教育场景识别 200次/月
简介: 12c asm 磁盘组offline

数据库版本 12.2.0.1.0

4个节点一个节点磁盘组显示offline

wsjrrac3 节点磁盘组显示offline?

[grid@wsjrRAC1 ~]$ crsctl stat res -t
--------------------------------------------------------------------------------
Name           Target  State        Server                   State details       
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.ASMNET1LSNR_ASM.lsnr
               ONLINE  ONLINE       wsjrrac1                 STABLE
               ONLINE  ONLINE       wsjrrac2                 STABLE
               ONLINE  ONLINE       wsjrrac3                 STABLE
               ONLINE  ONLINE       wsjrrac4                 STABLE
ora.DATA.dg
               ONLINE  ONLINE       wsjrrac1                 STABLE
               ONLINE  ONLINE       wsjrrac2                 STABLE
               OFFLINE OFFLINE      wsjrrac3                 STABLE
               ONLINE  ONLINE       wsjrrac4                 STABLE
ora.FRA.dg
               ONLINE  ONLINE       wsjrrac1                 STABLE
               ONLINE  ONLINE       wsjrrac2                 STABLE
               OFFLINE OFFLINE      wsjrrac3                 STABLE
               ONLINE  ONLINE       wsjrrac4                 STABLE
ora.LISTENER.lsnr
               ONLINE  ONLINE       wsjrrac1                 STABLE
               ONLINE  ONLINE       wsjrrac2                 STABLE
               ONLINE  ONLINE       wsjrrac3                 STABLE
               ONLINE  ONLINE       wsjrrac4                 STABLE
ora.MGMT.dg
               ONLINE  ONLINE       wsjrrac1                 STABLE
               ONLINE  ONLINE       wsjrrac2                 STABLE
               OFFLINE OFFLINE      wsjrrac3                 STABLE
               ONLINE  ONLINE       wsjrrac4                 STABLE
ora.OCR_VOTE.dg
               ONLINE  ONLINE       wsjrrac1                 STABLE
               ONLINE  ONLINE       wsjrrac2                 STABLE
               OFFLINE OFFLINE      wsjrrac3                 STABLE
               ONLINE  ONLINE       wsjrrac4                 STABLE
ora.chad
               ONLINE  ONLINE       wsjrrac1                 STABLE
               ONLINE  ONLINE       wsjrrac2                 STABLE
               ONLINE  ONLINE       wsjrrac3                 STABLE
               ONLINE  ONLINE       wsjrrac4                 STABLE
ora.net1.network
               ONLINE  ONLINE       wsjrrac1                 STABLE
               ONLINE  ONLINE       wsjrrac2                 STABLE
               ONLINE  ONLINE       wsjrrac3                 STABLE
               ONLINE  ONLINE       wsjrrac4                 STABLE
ora.ons
               ONLINE  ONLINE       wsjrrac1                 STABLE
               ONLINE  ONLINE       wsjrrac2                 STABLE
               ONLINE  ONLINE       wsjrrac3                 STABLE
               ONLINE  ONLINE       wsjrrac4                 STABLE
ora.proxy_advm
               OFFLINE OFFLINE      wsjrrac1                 STABLE
               OFFLINE OFFLINE      wsjrrac2                 STABLE
               OFFLINE OFFLINE      wsjrrac3                 STABLE
               OFFLINE OFFLINE      wsjrrac4                 STABLE
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
      1        ONLINE  ONLINE       wsjrrac2                 STABLE
ora.MGMTLSNR
      1        ONLINE  ONLINE       wsjrrac1                 169.254.209.46 192.1
                                                             68.100.22,STABLE
ora.asm
      1        ONLINE  ONLINE       wsjrrac1                 Started,STABLE
      2        ONLINE  ONLINE       wsjrrac4                 Started,STABLE
      3        ONLINE  ONLINE       wsjrrac2                 Started,STABLE
ora.cvu
      1        ONLINE  ONLINE       wsjrrac2                 STABLE
ora.dbrac.db
      1        ONLINE  ONLINE       wsjrrac1                 Open,HOME=/u01/app/o
                                                             racle/product/12.2.0
                                                             /db_1,STABLE
      2        ONLINE  ONLINE       wsjrrac2                 Open,HOME=/u01/app/o
                                                             racle/product/12.2.0
                                                             /db_1,STABLE
      3        ONLINE  ONLINE       wsjrrac3                 Open,HOME=/u01/app/o
                                                             racle/product/12.2.0
                                                             /db_1,STABLE
      4        ONLINE  ONLINE       wsjrrac4                 Open,HOME=/u01/app/o
                                                             racle/product/12.2.0
                                                             /db_1,STABLE
ora.mgmtdb
      1        ONLINE  ONLINE       wsjrrac1                 Open,STABLE
ora.qosmserver
      1        ONLINE  ONLINE       wsjrrac2                 STABLE
ora.scan1.vip
      1        ONLINE  ONLINE       wsjrrac2                 STABLE
ora.wsjrrac1.vip
      1        ONLINE  ONLINE       wsjrrac1                 STABLE
ora.wsjrrac2.vip
      1        ONLINE  ONLINE       wsjrrac2                 STABLE
ora.wsjrrac3.vip
      1        ONLINE  ONLINE       wsjrrac3                 STABLE
ora.wsjrrac4.vip
      1        ONLINE  ONLINE       wsjrrac4                 STABLE
--------------------------------------------------------------------------------

wsjrrac3 查看磁盘组状态为mount 状态正常?

[grid@wsjrRAC1 ~]$ asmcmd
ASMCMD> lsdg
State    Type    Rebal  Sector  Logical_Sector  Block       AU  Total_MB  Free_MB  Req_mir_free_MB  Usable_file_MB  Offline_disks  Voting_files  Name
MOUNTED  EXTERN  N         512             512   4096  1048576   1048576  1038751                0         1038751              0             N  DATA/
MOUNTED  EXTERN  N         512             512   4096  1048576    514048   503331                0          503331              0             N  FRA/
MOUNTED  EXTERN  N         512             512   4096  4194304     40960     4780                0            4780              0             N  MGMT/
MOUNTED  EXTERN  N         512             512   4096  4194304     10240     9848                0            9848              0             Y  OCR_VOTE/
ASMCMD>

# 为什么呢?

[grid@wsjrRAC1 ~]$ crsctl get cluster mode status
Cluster is running in "flex" mode
[grid@wsjrRAC1 ~]$  srvctl status asm -detail
ASM is running on wsjrrac4,wsjrrac1,wsjrrac2
ASM is enabled.
ASM instance +ASM1 is running on node wsjrrac1
Number of connected clients: 3
Client names: -MGMTDB:_mgmtdb:dbrac-cluster dbrac1:dbrac:dbrac-cluster wsjrrac1:_OCR:dbrac-cluster
ASM instance +ASM4 is running on node wsjrrac4
Number of connected clients: 4
Client names: dbrac3:dbrac:dbrac-cluster dbrac4:dbrac:dbrac-cluster wsjrrac3:_OCR:dbrac-cluster wsjrrac4:_OCR:dbrac-cluster
ASM instance +ASM2 is running on node wsjrrac2
Number of connected clients: 2
Client names: dbrac2:dbrac:dbrac-cluster wsjrrac2:_OCR:dbrac-cluster
[grid@wsjrRAC1 ~]$ srvctl config asm
ASM home: <CRS home>
Password file: +OCR_VOTE/orapwASM
Backup of Password file: 
ASM listener: LISTENER
ASM instance count: 3
Cluster ASM listener: ASMNET1LSNR_ASM

SQL> SELECT inst_id,instance_name, db_name, status FROM gv$asm_client;

  INST_ID INSTANCE_NAME                            DB_NAME  STATUS
---------- ---------------------------------------------------------------- -------- ------------
    1 +ASM1                                +ASM     CONNECTED
    1 wsjrrac1                                _OCR     CONNECTED
    1 +ASM1                                +ASM     CONNECTED
    1 -MGMTDB                                _mgmtdb  CONNECTED
    1 +ASM1                                +ASM     CONNECTED
    1 dbrac1                                dbrac    CONNECTED
    1 +ASM1                                +ASM     CONNECTED
    1 dbrac1                                dbrac    CONNECTED
    2 +ASM2                                +ASM     CONNECTED
    2 wsjrrac2                                _OCR     CONNECTED
    2 dbrac2                                dbrac    CONNECTED

  INST_ID INSTANCE_NAME                            DB_NAME  STATUS
---------- ---------------------------------------------------------------- -------- ------------
    2 +ASM2                                +ASM     CONNECTED
    2 dbrac2                                dbrac    CONNECTED
    4 +ASM4                                +ASM     CONNECTED
    4 wsjrrac3                                _OCR     CONNECTED
    4 wsjrrac4                                _OCR     CONNECTED
    4 dbrac3                                dbrac    CONNECTED
    4 dbrac4                                dbrac    CONNECTED
    4 +ASM4                                +ASM     CONNECTED
    4 dbrac3                                dbrac    CONNECTED
    4 dbrac4                                dbrac    CONNECTED

修改节点书为4,查看状态

[grid@wsjrRAC1 ~]$ srvctl modify asm -count 4
[grid@wsjrRAC1 ~]$ srvctl config asm
ASM home: <CRS home>
Password file: +OCR_VOTE/orapwASM
Backup of Password file: 
ASM listener: LISTENER
ASM instance count: 4
Cluster ASM listener: ASMNET1LSNR_ASM
[grid@wsjrRAC1 ~]$ crsc
crscdpd     crsctl      crsctl.bin  
[grid@wsjrRAC1 ~]$ crsctl stat res -t
--------------------------------------------------------------------------------
Name           Target  State        Server                   State details       
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.ASMNET1LSNR_ASM.lsnr
               ONLINE  ONLINE       wsjrrac1                 STABLE
               ONLINE  ONLINE       wsjrrac2                 STABLE
               ONLINE  ONLINE       wsjrrac3                 STABLE
               ONLINE  ONLINE       wsjrrac4                 STABLE
ora.DATA.dg
               ONLINE  ONLINE       wsjrrac1                 STABLE
               ONLINE  ONLINE       wsjrrac2                 STABLE
               ONLINE  ONLINE       wsjrrac3                 STABLE
               ONLINE  ONLINE       wsjrrac4                 STABLE
ora.FRA.dg
               ONLINE  ONLINE       wsjrrac1                 STABLE
               ONLINE  ONLINE       wsjrrac2                 STABLE
               ONLINE  ONLINE       wsjrrac3                 STABLE
               ONLINE  ONLINE       wsjrrac4                 STABLE
ora.LISTENER.lsnr
               ONLINE  ONLINE       wsjrrac1                 STABLE
               ONLINE  ONLINE       wsjrrac2                 STABLE
               ONLINE  ONLINE       wsjrrac3                 STABLE
               ONLINE  ONLINE       wsjrrac4                 STABLE
ora.MGMT.dg
               ONLINE  ONLINE       wsjrrac1                 STABLE
               ONLINE  ONLINE       wsjrrac2                 STABLE
               ONLINE  ONLINE       wsjrrac3                 STABLE
               ONLINE  ONLINE       wsjrrac4                 STABLE
ora.OCR_VOTE.dg
               ONLINE  ONLINE       wsjrrac1                 STABLE
               ONLINE  ONLINE       wsjrrac2                 STABLE
               ONLINE  ONLINE       wsjrrac3                 STABLE
               ONLINE  ONLINE       wsjrrac4                 STABLE
ora.chad
               ONLINE  ONLINE       wsjrrac1                 STABLE
               ONLINE  ONLINE       wsjrrac2                 STABLE
               ONLINE  ONLINE       wsjrrac3                 STABLE
               ONLINE  ONLINE       wsjrrac4                 STABLE
ora.net1.network
               ONLINE  ONLINE       wsjrrac1                 STABLE
               ONLINE  ONLINE       wsjrrac2                 STABLE
               ONLINE  ONLINE       wsjrrac3                 STABLE
               ONLINE  ONLINE       wsjrrac4                 STABLE
ora.ons
               ONLINE  ONLINE       wsjrrac1                 STABLE
               ONLINE  ONLINE       wsjrrac2                 STABLE
               ONLINE  ONLINE       wsjrrac3                 STABLE
               ONLINE  ONLINE       wsjrrac4                 STABLE
ora.proxy_advm
               OFFLINE OFFLINE      wsjrrac1                 STABLE
               OFFLINE OFFLINE      wsjrrac2                 STABLE
               OFFLINE OFFLINE      wsjrrac3                 STABLE
               OFFLINE OFFLINE      wsjrrac4                 STABLE
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
      1        ONLINE  ONLINE       wsjrrac2                 STABLE
ora.MGMTLSNR
      1        ONLINE  ONLINE       wsjrrac1                 169.254.209.46 192.1
                                                             68.100.22,STABLE
ora.asm
      1        ONLINE  ONLINE       wsjrrac1                 Started,STABLE
      2        ONLINE  ONLINE       wsjrrac4                 Started,STABLE
      3        ONLINE  ONLINE       wsjrrac2                 Started,STABLE
      4        ONLINE  ONLINE       wsjrrac3                 Started,STABLE
ora.cvu
      1        ONLINE  ONLINE       wsjrrac2                 STABLE
ora.dbrac.db
      1        ONLINE  ONLINE       wsjrrac1                 Open,HOME=/u01/app/o
                                                             racle/product/12.2.0
                                                             /db_1,STABLE
      2        ONLINE  ONLINE       wsjrrac2                 Open,HOME=/u01/app/o
                                                             racle/product/12.2.0
                                                             /db_1,STABLE
      3        ONLINE  ONLINE       wsjrrac3                 Open,HOME=/u01/app/o
                                                             racle/product/12.2.0
                                                             /db_1,STABLE
      4        ONLINE  ONLINE       wsjrrac4                 Open,HOME=/u01/app/o
                                                             racle/product/12.2.0
                                                             /db_1,STABLE
ora.mgmtdb
      1        ONLINE  ONLINE       wsjrrac1                 Open,STABLE
ora.qosmserver
      1        ONLINE  ONLINE       wsjrrac2                 STABLE
ora.scan1.vip
      1        ONLINE  ONLINE       wsjrrac2                 STABLE
ora.wsjrrac1.vip
      1        ONLINE  ONLINE       wsjrrac1                 STABLE
ora.wsjrrac2.vip
      1        ONLINE  ONLINE       wsjrrac2                 STABLE
ora.wsjrrac3.vip
      1        ONLINE  ONLINE       wsjrrac3                 STABLE
ora.wsjrrac4.vip
      1        ONLINE  ONLINE       wsjrrac4                 STABLE
--------------------------------------------------------------------------------
[grid@wsjrRAC1 ~]$ 

参考文档:

http://blog.itpub.net/20747382/viewspace-2140867/
https://docs.oracle.com/en/database/oracle/oracle-database/12.2/ostmg/manage-flex-asm.html#GUID-39D13B70-30AE-4DFE-BFF9-2CD3A33A82E0

相关文章
|
7月前
|
Oracle 关系型数据库
oracle asm 磁盘显示offline
oracle asm 磁盘显示offline
356 2
创建asm disk 磁盘组出错! ORA-15018 And ORA-15107 (Doc ID 2678808.1)
ORA-15018: diskgroup cannot be created ORA-15107: missing or invalid ASM disk name
148 0
|
2月前
|
存储 Oracle 关系型数据库
数据库数据恢复—Oracle ASM磁盘组故障数据恢复案例
Oracle数据库数据恢复环境&故障: Oracle ASM磁盘组由4块磁盘组成。Oracle ASM磁盘组掉线 ,ASM实例不能mount。 Oracle数据库故障分析&恢复方案: 数据库数据恢复工程师对组成ASM磁盘组的磁盘进行分析。对ASM元数据进行分析发现ASM存储元数据损坏,导致磁盘组无法挂载。
|
7月前
|
存储 Oracle 关系型数据库
RAC创建ASM磁盘组时配置多路径和UDEV
RAC创建ASM磁盘组时配置多路径和UDEV
1585 7
|
7月前
|
存储 Oracle 关系型数据库
【数据库数据恢复】Oracle数据库ASM磁盘组掉线的数据恢复案例
oracle数据库ASM磁盘组掉线,ASM实例不能挂载。数据库管理员尝试修复数据库,但是没有成功。
【数据库数据恢复】Oracle数据库ASM磁盘组掉线的数据恢复案例
|
7月前
|
文字识别 运维 Oracle
asm 磁盘故障处理日志
asm 磁盘故障处理日志
90 2
RAC 增加4块 asm 磁盘
增加磁盘之前的asm状态
106 0
|
Oracle 关系型数据库 测试技术
GoldenGate 对asm磁盘的访问的两种方式:asm实例连接和API(dblogreader)两种方式的对比
GoldenGate在抽取数据的时候要读取online redo里的数据,online redo很多时候是储存在asm磁盘里,对asm磁盘的访问有两种方式
196 0
|
监控
监控ASM磁盘IO(iostat)
找到ASM磁盘对应的OS设备
292 0
|
SQL Oracle 关系型数据库
Oracle ASM磁盘和磁盘组的常用SQL语句
Oracle ASM磁盘和磁盘组的常用SQL语句
290 0