博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
12c asm 磁盘组offline
阅读量:6655 次
发布时间:2019-06-25

本文共 14983 字,大约阅读时间需要 49 分钟。

数据库版本 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                 STABLEora.DATA.dg               ONLINE  ONLINE       wsjrrac1                 STABLE               ONLINE  ONLINE       wsjrrac2                 STABLE               OFFLINE OFFLINE      wsjrrac3                 STABLE               ONLINE  ONLINE       wsjrrac4                 STABLEora.FRA.dg               ONLINE  ONLINE       wsjrrac1                 STABLE               ONLINE  ONLINE       wsjrrac2                 STABLE               OFFLINE OFFLINE      wsjrrac3                 STABLE               ONLINE  ONLINE       wsjrrac4                 STABLEora.LISTENER.lsnr               ONLINE  ONLINE       wsjrrac1                 STABLE               ONLINE  ONLINE       wsjrrac2                 STABLE               ONLINE  ONLINE       wsjrrac3                 STABLE               ONLINE  ONLINE       wsjrrac4                 STABLEora.MGMT.dg               ONLINE  ONLINE       wsjrrac1                 STABLE               ONLINE  ONLINE       wsjrrac2                 STABLE               OFFLINE OFFLINE      wsjrrac3                 STABLE               ONLINE  ONLINE       wsjrrac4                 STABLEora.OCR_VOTE.dg               ONLINE  ONLINE       wsjrrac1                 STABLE               ONLINE  ONLINE       wsjrrac2                 STABLE               OFFLINE OFFLINE      wsjrrac3                 STABLE               ONLINE  ONLINE       wsjrrac4                 STABLEora.chad               ONLINE  ONLINE       wsjrrac1                 STABLE               ONLINE  ONLINE       wsjrrac2                 STABLE               ONLINE  ONLINE       wsjrrac3                 STABLE               ONLINE  ONLINE       wsjrrac4                 STABLEora.net1.network               ONLINE  ONLINE       wsjrrac1                 STABLE               ONLINE  ONLINE       wsjrrac2                 STABLE               ONLINE  ONLINE       wsjrrac3                 STABLE               ONLINE  ONLINE       wsjrrac4                 STABLEora.ons               ONLINE  ONLINE       wsjrrac1                 STABLE               ONLINE  ONLINE       wsjrrac2                 STABLE               ONLINE  ONLINE       wsjrrac3                 STABLE               ONLINE  ONLINE       wsjrrac4                 STABLEora.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                 STABLEora.MGMTLSNR      1        ONLINE  ONLINE       wsjrrac1                 169.254.209.46 192.1                                                             68.100.22,STABLEora.asm      1        ONLINE  ONLINE       wsjrrac1                 Started,STABLE      2        ONLINE  ONLINE       wsjrrac4                 Started,STABLE      3        ONLINE  ONLINE       wsjrrac2                 Started,STABLEora.cvu      1        ONLINE  ONLINE       wsjrrac2                 STABLEora.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,STABLEora.mgmtdb      1        ONLINE  ONLINE       wsjrrac1                 Open,STABLEora.qosmserver      1        ONLINE  ONLINE       wsjrrac2                 STABLEora.scan1.vip      1        ONLINE  ONLINE       wsjrrac2                 STABLEora.wsjrrac1.vip      1        ONLINE  ONLINE       wsjrrac1                 STABLEora.wsjrrac2.vip      1        ONLINE  ONLINE       wsjrrac2                 STABLEora.wsjrrac3.vip      1        ONLINE  ONLINE       wsjrrac3                 STABLEora.wsjrrac4.vip      1        ONLINE  ONLINE       wsjrrac4                 STABLE--------------------------------------------------------------------------------

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

[grid@wsjrRAC1 ~]$ asmcmdASMCMD> lsdgState    Type    Rebal  Sector  Logical_Sector  Block       AU  Total_MB  Free_MB  Req_mir_free_MB  Usable_file_MB  Offline_disks  Voting_files  NameMOUNTED  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 statusCluster is running in "flex" mode[grid@wsjrRAC1 ~]$  srvctl status asm -detailASM is running on wsjrrac4,wsjrrac1,wsjrrac2ASM is enabled.ASM instance +ASM1 is running on node wsjrrac1Number of connected clients: 3Client names: -MGMTDB:_mgmtdb:dbrac-cluster dbrac1:dbrac:dbrac-cluster wsjrrac1:_OCR:dbrac-clusterASM instance +ASM4 is running on node wsjrrac4Number of connected clients: 4Client names: dbrac3:dbrac:dbrac-cluster dbrac4:dbrac:dbrac-cluster wsjrrac3:_OCR:dbrac-cluster wsjrrac4:_OCR:dbrac-clusterASM instance +ASM2 is running on node wsjrrac2Number of connected clients: 2Client names: dbrac2:dbrac:dbrac-cluster wsjrrac2:_OCR:dbrac-cluster[grid@wsjrRAC1 ~]$ srvctl config asmASM home: 
Password file: +OCR_VOTE/orapwASMBackup of Password file: ASM listener: LISTENERASM instance count: 3Cluster ASM listener: ASMNET1LSNR_ASMSQL> 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 asmASM home: 
Password file: +OCR_VOTE/orapwASMBackup of Password file: ASM listener: LISTENERASM instance count: 4Cluster ASM listener: ASMNET1LSNR_ASM[grid@wsjrRAC1 ~]$ crsccrscdpd 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 STABLEora.DATA.dg ONLINE ONLINE wsjrrac1 STABLE ONLINE ONLINE wsjrrac2 STABLE ONLINE ONLINE wsjrrac3 STABLE ONLINE ONLINE wsjrrac4 STABLEora.FRA.dg ONLINE ONLINE wsjrrac1 STABLE ONLINE ONLINE wsjrrac2 STABLE ONLINE ONLINE wsjrrac3 STABLE ONLINE ONLINE wsjrrac4 STABLEora.LISTENER.lsnr ONLINE ONLINE wsjrrac1 STABLE ONLINE ONLINE wsjrrac2 STABLE ONLINE ONLINE wsjrrac3 STABLE ONLINE ONLINE wsjrrac4 STABLEora.MGMT.dg ONLINE ONLINE wsjrrac1 STABLE ONLINE ONLINE wsjrrac2 STABLE ONLINE ONLINE wsjrrac3 STABLE ONLINE ONLINE wsjrrac4 STABLEora.OCR_VOTE.dg ONLINE ONLINE wsjrrac1 STABLE ONLINE ONLINE wsjrrac2 STABLE ONLINE ONLINE wsjrrac3 STABLE ONLINE ONLINE wsjrrac4 STABLEora.chad ONLINE ONLINE wsjrrac1 STABLE ONLINE ONLINE wsjrrac2 STABLE ONLINE ONLINE wsjrrac3 STABLE ONLINE ONLINE wsjrrac4 STABLEora.net1.network ONLINE ONLINE wsjrrac1 STABLE ONLINE ONLINE wsjrrac2 STABLE ONLINE ONLINE wsjrrac3 STABLE ONLINE ONLINE wsjrrac4 STABLEora.ons ONLINE ONLINE wsjrrac1 STABLE ONLINE ONLINE wsjrrac2 STABLE ONLINE ONLINE wsjrrac3 STABLE ONLINE ONLINE wsjrrac4 STABLEora.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 STABLEora.MGMTLSNR 1 ONLINE ONLINE wsjrrac1 169.254.209.46 192.1 68.100.22,STABLEora.asm 1 ONLINE ONLINE wsjrrac1 Started,STABLE 2 ONLINE ONLINE wsjrrac4 Started,STABLE 3 ONLINE ONLINE wsjrrac2 Started,STABLE 4 ONLINE ONLINE wsjrrac3 Started,STABLEora.cvu 1 ONLINE ONLINE wsjrrac2 STABLEora.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,STABLEora.mgmtdb 1 ONLINE ONLINE wsjrrac1 Open,STABLEora.qosmserver 1 ONLINE ONLINE wsjrrac2 STABLEora.scan1.vip 1 ONLINE ONLINE wsjrrac2 STABLEora.wsjrrac1.vip 1 ONLINE ONLINE wsjrrac1 STABLEora.wsjrrac2.vip 1 ONLINE ONLINE wsjrrac2 STABLEora.wsjrrac3.vip 1 ONLINE ONLINE wsjrrac3 STABLEora.wsjrrac4.vip 1 ONLINE ONLINE wsjrrac4 STABLE--------------------------------------------------------------------------------[grid@wsjrRAC1 ~]$

参考文档:

转载地址:http://loxto.baihongyu.com/

你可能感兴趣的文章
实现Repeater控件的记录单选
查看>>
MySQL定义和变量赋值
查看>>
O(n)获得中位数及获得第K小(大)的数
查看>>
windows下 管理员身份启动java进程
查看>>
excel 分类汇总函数
查看>>
Web安全之XSS攻击与防御小结
查看>>
一个简单的图片懒加载
查看>>
Python爬虫实战案例-爬取币世界标红快讯
查看>>
Golang 流式解析 Json
查看>>
软考新思维--2017年上半年信息系统项目管理师上午试题分析与答案(试题26-30题)...
查看>>
Windows 2008 R2 Hyper-V Failover Clustering 5
查看>>
Exchange企业实战技巧(5)配置OWA域名简写
查看>>
Nabou应用实例
查看>>
烂泥:ESXI开启SNMP服务
查看>>
《统一沟通-微软-实战》-6-部署-7-部署移动功能-2
查看>>
go语言笔记——调试还很弱,用gdb来做?可用panic和defer。格式化代码使用gofmt,貌似我的vim插件是自带...
查看>>
Linux 安装.src.rpm源码包的方法
查看>>
c#将对象序列化为字符串和将字符串反序列化为对象
查看>>
Android Loader详解四:回调及完整例子
查看>>
Oracle笔记 三、function 、select
查看>>