If you lose the /dev/oracleasm/disks/OCR_VD03
disk in a cluster with NORMAL redundancy, the cluster can still function because the data in the OCRVD disk group is mirrored across the remaining disks.
NORMAL redundancy means that each piece of critical information (like OCR and voting disk) has two copies across different failgroups.
Here's the impact and step-by-step recovery process:
Impact of Losing /dev/oracleasm/disks/OCR_VD03
:
- The cluster will continue to operate as long as at least one other failgroup (
OCRVD_0000
orOCRVD_0001
) is intact. - Alerts will be raised by Oracle ASM, Clusterware, and Grid Infrastructure for the missing disk.
- If another disk in the same disk group fails before recovery, the cluster may halt due to insufficient quorum for voting disks or loss of OCR access.
Step-by-Step Resolution to Recover /dev/oracleasm/disks/OCR_VD03
:
Step 1: Identify the Lost Disk and Acknowledge Alerts
Check the status of the ASM disk group:
The
state
will likely show MISSING or FORCING OFFLINE.Review ASM and Grid Infrastructure logs:
Look for entries indicating that
/dev/oracleasm/disks/OCR_VD03
is unavailable.
Step 2: Replace the Missing Disk
If the disk is permanently lost, add a new disk to the disk group to restore redundancy:
Replace the lost disk with a new device:
- Prepare the new disk for ASM (e.g.,
/dev/oracleasm/disks/OCR_VD03_NEW
):Replace
/dev/sdX
with the actual device path.
- Prepare the new disk for ASM (e.g.,
Drop the old disk if still listed:
Add the new disk to the disk group: Use the following
ASMCA
(ASM Configuration Assistant) or SQL command
Step 3: Monitor Disk Group Rebalance
After replacing the disk, ASM will automatically rebalance the data to restore redundancy.
Monitor the rebalance operation:
Step 4: Verify Disk Group and OCR/Voting Disk Health
- Confirm that the disk group is healthy and redundancy is restored:
- Validate the OCR and voting disk:
No comments:
Post a Comment