Oracle10gRAC如何在线更换OCRvotedisk-创新互联
小编给大家分享一下Oracle10g RAC如何在线更换OCR votedisk,相信大部分人都还不怎么了解,因此分享这篇文章给大家参考一下,希望大家阅读完这篇文章后大有收获,下面让我们一起去了解一下吧!
创新互联公司专注于企业成都全网营销推广、网站重做改版、若羌网站定制设计、自适应品牌网站建设、H5技术、成都商城网站开发、集团公司官网建设、成都外贸网站建设、高端网站制作、响应式网页设计等建站业务,价格优惠性价比高,为若羌等各大城市提供网站开发制作服务。操作之前确认集群状态都正常
1、替换OCR
# ./ocrconfig -replace ocrmirror /dev/rhdisk11
# ./ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 2
Total space (kbytes) : 1048300
Used space (kbytes) : 4628
Available space (kbytes) : 1043672
ID : 2049932717
Device/File Name : /dev/rhdisk2
Device/File integrity check succeeded
Device/File Name : /dev/rhdisk11
Device/File integrity check succeeded
Cluster registry integrity check succeeded
# cd /etc/oracle
# ls
bin ocr.loc ocr.loc.bak oprocd scls_scr
# more ocr.loc
#Device/file getting replaced by device /dev/rhdisk11
ocrconfig_loc=/dev/rhdisk2
ocrmirrorconfig_loc=/dev/rhdisk11
local_only=false
# cd -
/oracle/product/10.2.0/crs/bin
# pwd
/oracle/product/10.2.0/crs/bin
#
# ./ocrconfig -replace ocr
# ./ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 2
Total space (kbytes) : 1048300
Used space (kbytes) : 4628
Available space (kbytes) : 1043672
ID : 2049932717
Device/File Name : /dev/rhdisk11
Device/File integrity check succeeded
Device/File not configured
Cluster registry integrity check succeeded
#
2、替换votedisk
# ./crsctl query css votedisk
0. 0 /dev/rhdisk3
located 1 votedisk(s).
# ./crsctl add css votedisk /dev/rhdisk12
Cluster is not in a ready state for online disk addition
# ./crs_stat -t
# ./crsctl add css votedisk /dev/rhdisk12 -force
Now formatting voting disk: /dev/rhdisk12
successful addition of votedisk /dev/rhdisk12.
# ./crsctl query css votedisk
0. 0 /dev/rhdisk3
1. 0 /dev/rhdisk12
located 2 votedisk(s).
# ./crsctl delete css votedisk /dev/rhdisk3
Cluster is not in a ready state for online disk removal
# ./crsctl delete css votedisk /dev/rhdisk3 -force
successful deletion of votedisk /dev/rhdisk3.
# ./crsctl query css votedisk
0. 0 /dev/rhdisk12
located 1 votedisk(s).
以上是“Oracle10g RAC如何在线更换OCR votedisk”这篇文章的所有内容,感谢各位的阅读!相信大家都有了一定的了解,希望分享的内容对大家有所帮助,如果还想学习更多知识,欢迎关注创新互联行业资讯频道!
另外有需要云服务器可以了解下创新互联cdcxhl.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。
网站标题:Oracle10gRAC如何在线更换OCRvotedisk-创新互联
文章转载:http://azwzsj.com/article/ccddhp.html