Home / Troubleshooting / MetroCluster

MetroCluster Troubleshooting

Symptoms: metrocluster check reports errors, the mediator is unreachable, a switchover won't complete, or switchback leaves aggregates mirrored-but-degraded.

Scope This guide covers two-node and four-node Fabric-Attached MetroCluster on ONTAP 9.x. For fundamentals (FC vs IP, mediator, switchover/switchback theory) see the MetroCluster reference page; this page is the triage runbook. Always run set -privilege advanced where noted, and open a case with NetApp support before any forced operation — MetroCluster forced switchover can cause data loss if the failed site's NVRAM still holds unmirrored writes.

1. Start with a full health check

Run the built-in validation suite first — it checks cabling, disks, aggregation, configuration quorum, and replication in one pass:

metrocluster check run
metrocluster check show          # summarize results after the run completes
metrocluster operation show      # status of any in-flight operation

Each subsystem reports ok or a list of errors. Fix errors in this order: configuration quorummediatordisks/aggregatesreplication. Everything else depends on the lower layers being healthy.

2. Mediator problems

The ONTAP Mediator breaks tie races when both sites claim the partner's storage. Symptoms: metrocluster check flags configuration quorum, or switchover says the mediator is unreachable.

metrocluster configuration-settings mediator show
# fields to verify: status = reachable, quorum = true, version matches ONTAP requirement

3. Unhealthy disks and root-cause on the fabric

MetroCluster needs both pools of every mirrored aggregate healthy. A single failed disk on one site blocks switchover readiness.

storage disk show -broken
storage aggregate show -aggregate <aggr> -fields mirror-status,state
metrocluster check aggregate show

If many disks go broken at once, suspect the fabric, not the disks. On FC MCC check the FC-VI ports and switches (fcp adapter show, switch port err-dump); on IP MCC check theMetroCluster IP interfaces and ISLs:

metrocluster configuration-settings interface show   # IP MCC: both clusters' MCC LIFs
network port show -node <node> -type cluster        # health of underlying ports
metrocluster interconnect show                       # RCFC/RDAX adapters and link state

4. Switchover fails or hangs

You run metrocluster switchover and it refuses, or hangs in pending. Rank these causes:

  1. Unmirrored writes in NVRAM (forced only): a negotiated switchover is refused because the disaster site's NVRAM contains data that never reached the partner. If the site is truly gone, support will walk you through metrocluster switchover -forced-quorum-site <site> — expect a possible data-loss window for anything written in the final seconds.
  2. Mediator/quorum: re-run section 2 checks; switchover is blocked until quorum is clean.
  3. Aggregates not healthy: metrocluster check aggregate show — any degraded mirror blocks the operation.
  4. Operation already in flight: metrocluster operation show — wait for successful; two overlapping operations queue and look hung.

After a successful (or forced) switchover, verify clients are actually served by the surviving site:

metrocluster show
storage aggregate show -fields is-home, home-name, state

5. Switchback fails or leaves aggregates unmirrored

Switchback requires the original site to be fully re-integrated: hardware replaced, aggregates repaired, and plexes resynced first.

metrocluster node show              # both nodes must be "ready" / not waiting for repair
storage aggregate plex show -fields status, resyncing-info
metrocluster repair                 # re-syncs mirror relationships after the failed site returns
metrocluster switchback

6. IP MetroCluster specifics

7. When to stop and call support

Collect before opening the case: metrocluster check show, metrocluster operation show, metrocluster node show, and event log show -message-name *mcc* -time <window> output.

8. Prevention checklist

Related: MetroCluster fundamentals · SnapMirror problems · Aggregate offline after power loss · All troubleshooting guides