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

相关推荐
瓜牛_gn35 分钟前
mysql特性
数据库·mysql
奶糖趣多多2 小时前
Redis知识点
数据库·redis·缓存
CoderIsArt3 小时前
Redis的三种模式:主从模式,哨兵与集群模式
数据库·redis·缓存
师太,答应老衲吧5 小时前
SQL实战训练之,力扣:2020. 无流量的帐户数(递归)
数据库·sql·leetcode
Channing Lewis6 小时前
salesforce case可以新建一个roll up 字段,统计出这个case下的email数量吗
数据库·salesforce
毕业设计制作和分享7 小时前
ssm《数据库系统原理》课程平台的设计与实现+vue
前端·数据库·vue.js·oracle·mybatis
ketil277 小时前
Redis - String 字符串
数据库·redis·缓存
Hsu_kk8 小时前
MySQL 批量删除海量数据的几种方法
数据库·mysql
编程学无止境8 小时前
第02章 MySQL环境搭建
数据库·mysql
knight-n8 小时前
MYSQL库的操作
数据库·mysql