Tag Archives: Oracle Engineered Systems

Exadata Part Replacement Runbook

Exadata Part Replacement: Quick Notes

Table of Contents



This page covers replacing failed hardware on Exadata storage servers (cells) and database servers. First decide whether the part is hot-swappable or needs a server shutdown. If it needs a shutdown, the storage server or database server must be taken out of service cleanly so that ASM and Clusterware are not affected.

1. Hot-Swappable vs Shutdown-Required Components

ComponentReplacement TypeNotes
Hard Disk (LUN / Disk)Hot SwappableReplace only when the OK-to-Remove LED is lit. After replacement, MS recreates the LUN, cell disk and grid disks, and ASM resyncs automatically.
Flash Disk / Flash CardHot Swappable (X7 and later)On X6 and earlier, the PCIe flash cards of High Capacity storage servers need a shutdown. The NVMe flash drives of Extreme Flash storage servers are hot-pluggable on all models.
M.2 System Disk (X7 and later)Hot SwappableTwo internal M.2 devices hold the system area. They can be replaced with the server powered on, and the system software rebuilds the mirror automatically.
Fan ModuleHot SwappableComplete the swap promptly to keep airflow and cooling intact.
Power Supply Unit (one of two)Hot SwappableReplace one PSU at a time. First confirm the other PSU and both PDU feeds are healthy.
DIMM (Memory)Shutdown RequiredApplies to both DB servers and storage servers.
PMEM Module (X8M-2 / X9M-2 storage servers)Shutdown RequiredFollow the model-specific procedure in the Maintenance Guide.
CPUShutdown RequiredOracle Field Engineer normally performs this.
PCIe Cards (InfiniBand HCA / RoCE NIC, RAID HBA)Shutdown RequiredFlash cards on X7 and later are the exception (see above).
MotherboardShutdown RequiredOracle Field Engineer normally performs this.

Note: Which parts are customer-replaceable (CRU) or hot-pluggable varies by model. Always confirm in the Oracle Exadata Database Machine Maintenance Guide for your exact model and image version.

2. Pre-Checks (Always)

  • Confirm the fault: cellcli -e list alerthistory on a cell, dbmcli -e list alerthistory on a DB server, and show faulty in ILOM.
  • Check that an Oracle SR exists. ASR normally raises it automatically for hardware faults.
  • Collect diagnostics for the SR: /opt/oracle.SupportTools/sundiag.sh
  • Service only one storage server or DB server at a time.
  • Make sure no other cell or disk is already offline or failed. This is critical on Normal redundancy disk groups.
  • Check disk_repair_time. If the cell will be down longer than this, ASM drops its disks and a full rebalance follows.
— Run in the ASM instance
SELECT dg.name AS diskgroup, a.value AS disk_repair_time
FROM v$asm_diskgroup dg, v$asm_attribute a
WHERE dg.group_number = a.group_number
AND a.name = ‘disk_repair_time’;

Note: The default is 12 hours in ASM 12.1 and later (3.6 hours in 11.2). Check the actual value on your system.

3. Hot-Swap Disk Replacement (Storage Server)

# On the storage server – identify the failed or predictive-failure disk
cellcli -e list physicaldisk attributes name,slotNumber,status
cellcli -e list physicaldisk <disk_name> detail
cellcli -e list alerthistory
Β 
# Replace the disk (OK-to-Remove LED lit), then verify
cellcli -e list physicaldisk attributes name,status
cellcli -e list lun attributes name,status
cellcli -e list celldisk attributes name,status
cellcli -e list griddisk attributes name,status,asmmodestatus

After replacement the cell recreates the cell disk and grid disks automatically, and ASM adds them back and rebalances. Monitor with SELECT * FROM gv$asm_operation; in the ASM instance. No manual grid disk deactivation is needed for a hot-swap disk.

Note: For a hot-pluggable flash device, check that its status is failed - dropped for replacement before you remove it. If it is in another state, first prepare it with cellcli -e alter physicaldisk <disk_name> drop for replacement.

4. Before Replacement: Storage Server (Shutdown Required)

WARNING: Always check ASM rebalance activity before making grid disks inactive. Proceed only if asmdeactivationoutcome is Yes for all grid disks. If it is not, stop and find out why. Never force it.

Step 1 – ASM instance (SQL): no rebalance should be running

SELECT * FROM gv$asm_operation;
— Expected: no rows selected. If rows exist, wait for the rebalance to finish.

Step 2 – Storage server (CellCLI): verify it is safe to deactivate

cellcli -e list griddisk attributes name,asmmodestatus,asmdeactivationoutcome,status
Β 
# Quick check – this should return nothing
cellcli -e “list griddisk attributes name,asmdeactivationoutcome where asmdeactivationoutcome != ‘Yes'”

Step 3 – Deactivate grid disks and verify

cellcli -e alter griddisk all inactive
cellcli -e list griddisk attributes name,asmmodestatus,asmdeactivationoutcome,status
# Expected: status = inactive for all grid disks (ASM disks go OFFLINE)

Step 4 – Stop cell services and power off

service celld status
service celld stop # optional – shutdown also stops cell services
shutdown -h now # or: stop /SYS from ILOM

Note: On newer images you can use systemctl instead of service. Make sure the server is fully powered off (check the ILOM or LEDs) before replacing the part.

5. Before Replacement: Database Server (Shutdown Required)

# As root on the DB server being serviced
crsctl check crs
crsctl stat res -t # confirm the other nodes are up and services are available
crsctl stop crs # stops Clusterware, ASM and database instances on this node
shutdown -h now

Note: Run crsctl from the Grid Infrastructure home. On virtualized systems (Oracle VM or KVM), shut down the guest VMs first, then the host.

6. After Replacement: Storage Server

Power on the server, wait for it to boot, then run:

service celld status
cellcli -e list cell attributes name,cellsrvStatus,msStatus,rsStatus # all should be running
cellcli -e list griddisk attributes name,asmmodestatus,asmdeactivationoutcome,status
Β 
cellcli -e alter griddisk all active
Β 
cellcli -e list griddisk attributes name,asmmodestatus,asmdeactivationoutcome,status

Wait for the ASM resync to finish (ASM instance):

SELECT * FROM gv$asm_operation;
— Repeat until no rows are returned

Final health check (CellCLI):

cellcli -e list griddisk attributes name,asmmodestatus where asmmodestatus != ‘ONLINE’ # should return nothing
cellcli -e list physicaldisk attributes name,status
cellcli -e list alerthistory

WARNING: Do not start work on the next cell until all grid disks show asmmodestatus = ONLINE and there are no rows in gv$asm_operation. Also confirm in ILOM that the fault has cleared.

7. After Replacement: Database Server

# Power on and wait for boot, then as root
crsctl config crs # confirm autostart is enabled
crsctl check crs
crsctl stat res -t # ASM, listeners, instances and services should come ONLINE
# If Clusterware did not start on its own:
crsctl start crs

Note: Also confirm in ILOM that the fault has cleared, and run dbmcli -e list alerthistory for new alerts.

8. Grid Disk Status Reference

Attribute / ValueMeaning
status = active / inactiveWhether the grid disk is available to ASM
asmmodestatus = ONLINEDisk is online in ASM and fully usable
asmmodestatus = SYNCINGDisk is back online and ASM is resyncing it. Wait for ONLINE.
asmmodestatus = OFFLINEDisk is offline in ASM (the repair timer is running)
asmmodestatus = UNUSEDGrid disk is not in use by ASM (for example, inactive)
asmdeactivationoutcome = YesSafe to deactivate. ASM stays available with this disk offline.
asmdeactivationoutcome = (any other text)Not safe. Taking this cell down could dismount a disk group. Do not proceed.

9. Quick Troubleshooting

SymptomWhat to Check
asmdeactivationoutcome is not YesAnother disk or cell is offline, or a rebalance or resync is running. Fix or wait first.
Grid disks stay in SYNCING for a long timegv$asm_operation for progress and estimated time. Resync time depends on the amount of data changed while the cell was down.
Cell was down longer than disk_repair_timeASM may have dropped its disks. Check v$asm_disk and v$asm_operation, and re-add the disks following Oracle Support guidance.
New disk is not visible after a hot swapMS status, list physicaldisk, list lun and list alerthistory. Check that the disk is seated correctly.
Fault still shown in ILOM after replacementRe-check the part is seated, wait a few minutes, then run show faulty. Update the SR if it persists.
DB server’s Clusterware did not startcrsctl check crs, crsctl config crs, the fabric link status, and the alert log in the Grid home.

10. Key Rules

  • Service one server at a time.
  • Never deactivate grid disks unless asmdeactivationoutcome = Yes for all of them.
  • Never start the next cell until the resync is complete and all grid disks are ONLINE.
  • Keep the downtime shorter than disk_repair_time.
  • For hot-swap disks, do not manually deactivate grid disks. Replace the disk and let MS and ASM handle it.
  • Run EXAchk after the work to confirm the system is healthy.
Caution: Your use of any information or materials on this website is entirely at your own risk. It is provided for educational purposes only. It has been tested internally, however, we do not guarantee that it will work for you. Ensure that you run it in your test environment before using.
Thank you
Rajasekhar Amudala