OCR/ Vote disk Maintenance Operations

OCR/ Vote disk Maintenance Operations

OCR/ Vote disk Maintenance Operations: (ADD/REMOVE/REPLACE/MOVE) [ID 428681.1]

1. ADD/REMOVE/REPLACE/MOVE OCR Device

1). OCR backup

Make sure there isa recent copy of the OCR file before making any changes:

ocrconfig-showbackupIf there is not a recent backup copy of the OCR file, an export canbe taken for the current OCR file. Use the following command to generate anexport of the online OCR file:

In 10.2

# ocrconfig-export <OCR export_filename> -s onlineIn 11.1 and 11.2

# ocrconfig-manualbackup

node1 2008/08/0606:11:58 /crs/cdata/crs/backup_20080807_003158.ocr

 

2) OCR recover

To recover usingthis file, the following command can be used:

# ocrconfig-import <OCR export_filename>

From 11.2+, pleasealso refer How to restore ASM based OCR after complete loss of the CRSdiskgroup on Linux/Unix systems Document 1062983.1

To see whether OCRis healthy, run an ocrcheck, which should return with like below.

# ocrcheck

Status of OracleCluster Registry is as follows :

Version : 2

Total space(kbytes) : 497928

Used space(kbytes) : 312

Available space(kbytes) : 497616

ID : 576761409

Device/File Name :/dev/raw/raw1

Device/Fileintegrity check succeeded

Device/File Name :/dev/raw/raw2

Device/Fileintegrity check succeeded

Cluster registryintegrity check succeeded

For 11.1+,ocrcheck as root user should also show:

Logical corruptioncheck succeeded

 

2. ADD/DELETE/MOVE Voting Disk

For pre 11.2, totake a backup of voting disk:

$ dd if=voting_disk_nameof=backup_file_name

For Windows:

ocopy \\.\votedsk1o:\backup\votedsk1.bakFor 11.2+, it is no longer required to back up the votingdisk. The voting disk data is automatically backed up in OCR as part of anyconfiguration change. The voting disk files are backed up automatically byOracle Clusterware if the contents of the files have changed in the followingways:

Configurationparameters, for example misscount, have been added or modified

After performingvoting disk add or delete operations

The voting diskcontents are restored from a backup automatically when a new voting disk isadded or replaced.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值