Home / Reference / MetroCluster

MetroCluster fundamentals: FC vs IP, mediator, and the DR workflow

MetroCluster is ONTAP's synchronous, zero-RPO, site-level disaster-recovery technology: two sites, stretched HA pairs, and every aggregate mirrored live between them. When one site dies, the other keeps serving without losing a write. This guide covers the architecture, the FC-vs-IP choice, what the mediator actually does, and the switchover/switchback workflow you'll run when it matters.

MetroCluster synchronous replication between sites

The big idea: mirrored aggregates, stretched HA

MetroCluster treats pairs of sites as one logical cluster. At each site you have one or more HA pairs, and the two sites' nodes are paired into DR groups — each node at site A has a DR partner at site B. The trick that makes this work at block level is SyncMirror: every aggregate lives as two plexes, one on local disks and one on the remote site's disks. Every write goes to both plexes before the write is acknowledged, which is exactly why MetroCluster can claim RPO 0 at the storage layer — the remote site always has a current copy.

The price of RPO 0 is that every write is a round trip to the other site. Distance and round-trip time therefore matter more than bandwidth alone — that's the heart of MetroCluster planning (see Limits and planning).

FC vs IP: two transports, one story

MetroCluster has been delivered over Fibre Channel since its introduction, and since ONTAP 9.7 it can run entirely over standard IP networks. Functionally the replication behavior is the same; the plumbing differs a lot.

FeatureMetroCluster FC (traditional)MetroCluster IP
Inter-site transportFC switches, FC-ISLs between sitesStandard IP switches (10/25/40GbE ISLs)
Disk attachmentFC-to-SAS bridges (e.g. ATTO) let remote shelves attach to the local FC fabricNo bridges; shelves stay local to each site, replication is network-only
Distance / RTT envelopeShorter — FC round trips are the constraintLonger distances supported (IP is more forgiving)
Automatic unplanned switchoverManual switchover only (admin decides)Mediator + automatic unplanned switchover (AUSO) available
Extra hardwareFC fabric + bridgesMediator VM only

Exact distance and round-trip-time limits depend on the configuration (2-node vs 4-node vs 8-node) and the ONTAP release — NetApp's "MetroCluster supported configurations" documentation for your version is the authoritative source, and metrocluster check will validate your actual fabric before you ever need it in anger.

The mediator: MetroCluster IP's tiebreaker

For MetroCluster IP (and 8-node FC in later releases), ONTAP 9.7+ introduced the mediator: a small Linux VM, deployed from an OVA, that both sites can reach over a separate management path. It does two jobs:

The mediator must be reachable out-of-band: not on the same switches or paths as the data replication network, ideally at a third location, and its clock and connectivity matter. It is a small VM, but it is a single point of failure for automatic switchover: if the mediator is down, AUSO is disabled — manual switchover still works, but nobody is watching for you. Monitor it like any other production service.

metrocluster configuration-settings show
metrocluster configuration-settings mediator show

The first command shows the overall MetroCluster configuration (mode, DR groups, mediator address); the second drills into mediator state. If the mediator is unreachable you'll see its state go non-optimal, and you should treat automatic switchover as unavailable until it recovers.

Seeing the configuration: show and check

Before touching anything, know what you're looking at. These are the three commands you'll live in:

metrocluster show                      # configuration summary, DR groups, mode
metrocluster check run                 # validate configuration & connectivity
metrocluster check show                # results of the last validation

metrocluster check run is the health gate: it verifies DR group pairing, SyncMirror state, switchover capability, and (for IP) mediator connectivity. Run it before and after any site event, and after any network change between the sites. A clean metrocluster check show output is the difference between "we know it works" and "we hope it works."

Site fails: switchover

When a site is lost, the surviving site must take over serving the failed site's data. That's switchover. There are three flavors:

metrocluster switchover -type unplanned    # after a real site loss
metrocluster show                           # confirm DR groups switched over
storage failover show                       # confirm takeovers completed

After switchover, the surviving site serves both sites' data out of its surviving plexes. Users connect to the same LIFs (they migrated), the same SVMs, the same names — which is the entire point: from the application's perspective, the cluster just kept answering.

Site comes back: switchback

Switchback is the return trip, and it's the part people underestimate. The failed site is repaired and rebooted; it comes up in a waiting-for-switchback state, acting as a secondary that re-synchronizes its plexes from the surviving site. Once the SyncMirror plexes are back in sync (this can take a while for large aggregates — it's a full resync of everything that changed), you return to normal operation:

metrocluster switchback                 # return to normal two-site operation
metrocluster show                       # verify all DR groups are back to normal
metrocluster check run && metrocluster check show

Vetoes: switchback refuses to run if conditions aren't safe (for example, a DR group that couldn't be fully re-synced). metrocluster check show tells you what's blocking; fix the underlying issue rather than overriding the veto — an override exists, but you should know exactly why you're using it.

DR testing without drama

You should test failover more often than you think you need to, and MetroCluster is designed for it. The clean pattern:

metrocluster check run                          # pre-test health gate
metrocluster switchover -type planned           # simulate site loss, cleanly
# ... run your application recovery drills on the surviving site ...
metrocluster switchback                         # return to normal
metrocluster check run && metrocluster check show

Because a planned switchover is non-destructive and reversible, you can run this quarterly without a maintenance window — the storage stays online throughout on the surviving site, and writes resume on the original site after switchback.

Limits and planning

Quick troubleshooting hits

SymptomFirst move
Site event happened, nothing switched overmetrocluster show — check DR group state; for AUSO, check mediator status (metrocluster configuration-settings mediator show). No mediator = no automatic switchover.
Switchback blockedmetrocluster check show — read the veto reason; typically a plex still resyncing or a DR group not fully recovered.
Performance degraded after failoverExpected: one site now serves everything, and remote plex reads are on the inter-site path. Verify LIF distribution and capacity on the survivor.
MetroCluster shows non-optimal after a network changeRe-run metrocluster check run; check inter-site link MTU/errors and (IP MCC) mediator reachability.

NCDA exam snapshot

If you're studying: MetroCluster = synchronous, block-level, RPO 0, mirrors aggregates (not volumes) via SyncMirror, two sites, stretched HA pairs, DR groups. FC (traditional, bridges, manual switchover) vs IP (9.7+, mediator, AUSO). Ops verbs: metrocluster switchover / metrocluster switchback / metrocluster check run. Contrast with SnapMirror (volume-level, async/sync, RPO by schedule) — MetroCluster is the whole-site, zero-RPO answer, SnapMirror is the targeted-replication answer. See also the Data Protection study page.