Step1. Identify existing disk devices.
OCR Disks:
$ocrcheck
Voting Disks:
$crsctl query css votedisk
Step2. Make sure permissions are same as the old disk devices on new devices.(Unix check)
Step3 Backup OCR and voting devices.
OCR backup all disks:
$ ocrconfig -showbackup
$ocrconfig -export <backup_file_name>
All Voting disk backup:
$crsctl query css votedisk
dd if=/u02/oradata/racdb/CSSFile of=/home/oracle/VotingDiskBackup.dmp bs=4k
Step4 Replace OCR and Voting disk
OCR Disk Replace:
$ocrconfig -replace ocrmirror <disk>
$ocrconfig -replace ocr <disk>
Voting disk Replace:
Get the list first
$crsctl query css votedisk
then add new disks as follows
$crsctl add css votedisk /dev/raw/raw3 -force
Then remove old voting disks as follows
$crsctl delete css votedisk <path>
ASM disks replace.
Step1: Identify disks of disk group.
connect to asm
sql>select path, header_status, mode_status from v$asm_disk;
Step2: Make sure the new disks are shared across all cluster nodes and have same ownership and privilages as old disks.(Unix confirmation checklist)
Step3: add new disks
SQL> alter diskgroup DATA add disk path;
SQL> alter diskgroup FRA add disk path;
Step4: Drop old disks (Use disk names from query in step1)
alter diskgroup data drop disk DATA_0000, DATA_0001 ;
Step5: Check rebalance, asm operations, increase power if needed.
alter diskgroup DATA rebalance power 5;
alter diskgroup FRA rebalance power 5;
select * from v$asm_operations;
Step6: Once rebalance is complete check,verify new paths.
OCR Disks:
$ocrcheck
Voting Disks:
$crsctl query css votedisk
Step2. Make sure permissions are same as the old disk devices on new devices.(Unix check)
Step3 Backup OCR and voting devices.
OCR backup all disks:
$ ocrconfig -showbackup
$ocrconfig -export <backup_file_name>
All Voting disk backup:
$crsctl query css votedisk
dd if=/u02/oradata/racdb/CSSFile of=/home/oracle/VotingDiskBackup.dmp bs=4k
Step4 Replace OCR and Voting disk
OCR Disk Replace:
$ocrconfig -replace ocrmirror <disk>
$ocrconfig -replace ocr <disk>
Voting disk Replace:
Get the list first
$crsctl query css votedisk
then add new disks as follows
$crsctl add css votedisk /dev/raw/raw3 -force
Then remove old voting disks as follows
$crsctl delete css votedisk <path>
ASM disks replace.
Step1: Identify disks of disk group.
connect to asm
sql>select path, header_status, mode_status from v$asm_disk;
Step2: Make sure the new disks are shared across all cluster nodes and have same ownership and privilages as old disks.(Unix confirmation checklist)
Step3: add new disks
SQL> alter diskgroup DATA add disk path;
SQL> alter diskgroup FRA add disk path;
Step4: Drop old disks (Use disk names from query in step1)
alter diskgroup data drop disk DATA_0000, DATA_0001 ;
Step5: Check rebalance, asm operations, increase power if needed.
alter diskgroup DATA rebalance power 5;
alter diskgroup FRA rebalance power 5;
select * from v$asm_operations;
Step6: Once rebalance is complete check,verify new paths.
No comments:
Post a Comment