Thursday, April 3, 2014

OCR and Vote Migrate after Upgrade Cluster from 10 to 11gR2

1-set the ASM Compatibility compatibility attribute to
ALTER DISKGROUP <Diskgroup Name> SET ATTRIBUTE 'compatible.asm' = '';

2-Moving OCR
->crsctl query crs activeversion
->Create OCR and voting Diskgroup using asmca or command line
->ocrconfig -add +new_disk_group */To add ocr to asm disks/*
->ocrconfig -delete old_storage_location */To remove ocr from old RAW device/*

For Example:
# ocrconfig -add +new_disk_group
# ocrconfig -delete /dev/raw/raw2
# ocrconfig -delete /dev/raw/raw1

--> if you have more than one ocr location then use the following command direct:
ocrconfig -replace current_OCR_location -replacement new_OCR_location

3-Moving Vote
crsctl replace votedisk <+diskgroup>|<vdisk>

========Check Your ocr and vote after migration ===========

<$GRID_HOME>/bin/crsctl query css votedisk

SQL>select,  d.path, as dg_name from v$asm_disk d, v$asm_diskgroup dg where d.group_number = dg.group_number and = 'OCR'

No comments:

Post a Comment