1-set the ASM Compatibility compatibility attribute to 11.2.0.0
ALTER DISKGROUP <Diskgroup Name> SET ATTRIBUTE 'compatible.asm' = '11.2.0.0';
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/ocrcheck
<$GRID_HOME>/bin/crsctl query css votedisk
SQL>select d.name, d.path, dg.name as dg_name from v$asm_disk d, v$asm_diskgroup dg where d.group_number = dg.group_number and dg.name = 'OCR'
ALTER DISKGROUP <Diskgroup Name> SET ATTRIBUTE 'compatible.asm' = '11.2.0.0';
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/ocrcheck
<$GRID_HOME>/bin/crsctl query css votedisk
SQL>select d.name, d.path, dg.name as dg_name from v$asm_disk d, v$asm_diskgroup dg where d.group_number = dg.group_number and dg.name = 'OCR'
No comments:
Post a Comment