Oracle集群管理-迁移OCR和votedisk

#################迁移votedisk###################################

[grid@gzrac02 ~]$ crsctl replace votedisk +dgocr
Successful addition of voting disk 82458f4f58e74f20bf5134a13a737493.
Successful addition of voting disk 64652783db334f1dbf9a069af0e0d800.
Successful addition of voting disk 06e92ea0cec54f03bf1100868b84ba2a.

Successful deletion of voting disk 3d0e572d49a04ffebf1b1dcbae5e8546.

Successful deletion of voting disk c9e44161aeac4f41bf0bc4fa47db49f3.

Successful deletion of voting disk 5ba3b86e86784fffbf2d348071eac3b9.

Successfully replaced voting disk group with +dgocr.

CRS-4266: Voting file(s) successfully replaced

[grid@gzrac02 ~]$ crsctl query css votedisk

STATE File Universal Id File Name Disk group


  1. ONLINE 82458f4f58e74f20bf5134a13a737493 (/dev/oracleasm/disks/OCR1) [DGOCR]

  2. ONLINE 64652783db334f1dbf9a069af0e0d800 (/dev/oracleasm/disks/OCR2) [DGOCR]

  3. ONLINE 06e92ea0cec54f03bf1100868b84ba2a (/dev/oracleasm/disks/OCR3) [DGOCR]

Located 3 voting disk(s).

[grid@gzrac02 ~]$

################迁移ocr文件#######################################

[root@gzrac01 bin]# ./ocrconfig -add +dgocr

[root@gzrac01 bin]# ./ocrconfig -delete +ocr

[root@gzrac01 bin]# cat /etc/oracle/ocr.loc

#Device/file +OCR/gzrac/OCRFILE/registry.255.1020080481 getting replaced by device +DGOCR/gzrac/OCRFILE/registry.255.1028650863

ocrconfig_loc=+DGOCR/gzrac/OCRFILE/registry.255.1028650863

######################迁移arch#####################################################3

SQL> alter system set log_archive_dest_1='localtion=+DGARCH' scope=spfile sid='*';

srvctl stop database -d monidb

srvctl start database -d monidb

相关推荐
了一li1 小时前
Qt中的QProcess与Boost.Interprocess:实现多进程编程
服务器·数据库·qt
码农君莫笑2 小时前
信管通低代码信息管理系统应用平台
linux·数据库·windows·低代码·c#·.net·visual studio
别致的影分身2 小时前
使用C语言连接MySQL
数据库·mysql
京东零售技术4 小时前
“慢”增长时代的企业数据体系建设:超越数据中台
数据库
sdaxue.com4 小时前
帝国CMS:如何去掉帝国CMS登录界面的认证码登录
数据库·github·网站·帝国cms·认证码
o(╥﹏╥)5 小时前
linux(ubuntu )卡死怎么强制重启
linux·数据库·ubuntu·系统安全
liwulin05065 小时前
【JAVA】Tesseract-OCR截图屏幕指定区域识别0.4.2
java·开发语言·ocr
阿里嘎多学长5 小时前
docker怎么部署高斯数据库
运维·数据库·docker·容器
Yuan_o_5 小时前
Linux 基本使用和程序部署
java·linux·运维·服务器·数据库·后端
Sunyanhui15 小时前
牛客网 SQL36查找后排序
数据库·sql·mysql