资讯

精准传达 • 有效沟通

从品牌网站建设到网络营销策划,从策略到执行的一站式服务

11grac重建ocr和votedisk

11g rac 重建ocr和votedisk

1.所有节点停止集群
crsctl stop crs
如果停止不了可以使用
crsctl stop crs -f

2.每个节点执行/crs/install/rootcrs.pl,来撤销集群配置
[root@rac1 oracle]# /u01/app/grid/11.2.0/crs/install/rootcrs.pl -deconfig -verbose -force
[root@rac2 oracle]# /u01/app/grid/11.2.0/crs/install/rootcrs.pl -deconfig -verbose -force

3.每个节点的root用户执行grid安装目录下的root.sh脚本(一次执行)
[root@rac1 oracle]# /u01/app/grid/11.2.0/root.sh
[root@rac2 ~]# /u01/app/grid/11.2.0/root.sh

4.查看资源的状态
[root@rac2 ~]# crs_stat.sh
Name Target State Host
------------------------------ ---------- --------- -------
oggvip ONLINE ONLINE rac1
ora.CRS.dg ONLINE ONLINE rac1
ora.DATA.dg ONLINE ONLINE rac1
ora.FRA.dg ONLINE ONLINE rac1
ora.LISTENER.lsnr ONLINE ONLINE rac1
ora.LISTENER_SCAN1.lsnr ONLINE ONLINE rac1
ora.OGG.dg ONLINE ONLINE rac1
ora.asm ONLINE ONLINE rac1
ora.cvu ONLINE ONLINE rac1
ora.gsd OFFLINE OFFLINE
ora.net1.network ONLINE ONLINE rac1
ora.oc4j ONLINE ONLINE rac1
ora.ons ONLINE ONLINE rac1
ora.rac.db ONLINE ONLINE rac1
ora.rac1.ASM1.asm ONLINE ONLINE rac1
ora.rac1.LISTENER_RAC1.lsnr ONLINE ONLINE rac1
ora.rac1.gsd OFFLINE OFFLINE
ora.rac1.ons ONLINE ONLINE rac1
ora.rac1.vip ONLINE ONLINE rac1
ora.rac2.ASM2.asm ONLINE ONLINE rac2
ora.rac2.LISTENER_RAC2.lsnr ONLINE ONLINE rac2
ora.rac2.gsd OFFLINE OFFLINE
ora.rac2.ons ONLINE ONLINE rac2
ora.rac2.vip ONLINE ONLINE rac2
ora.registry.acfs ONLINE ONLINE rac1
ora.scan1.vip ONLINE ONLINE rac1

这里如果磁盘没有挂载
需要手动挂载
1.以sysasm身份登陆asm实例,查看磁盘组
SYS@+ASM1> select name,state from v$asm_diskgroup;

2.如果没有挂载
alter diskgroup ***** mout;
验证OCR
[root@rac1 oracle]# ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 3
Total space (kbytes) : 262120
Used space (kbytes) : 3396
Available space (kbytes) : 258724
ID : 2129345179
Device/File Name : +CRS
Device/File integrity check succeeded

Device/File not configured

Device/File not configured

Device/File not configured

Device/File not configured

Cluster registry integrity check succeeded

Logical corruption check succeeded

验证votedisk
[root@rac1 oracle]# crsctl query css votedisk
## STATE File Universal Id File Name Disk group
-- ----- ----------------- --------- ---------
1. ONLINE 1924260bffe94f8cbfbd33550290ee38 (/dev/asmdiskOCR) [CRS]


本文题目:11grac重建ocr和votedisk
网站路径:http://cdkjz.cn/article/pooeej.html
多年建站经验

多一份参考,总有益处

联系快上网,免费获得专属《策划方案》及报价

咨询相关问题或预约面谈,可以通过以下方式与我们联系

大客户专线   成都:13518219792   座机:028-86922220