Skip to main content
In this guide, you’ll configure Disaster Recovery (DR) replication across two Vault Enterprise clusters. We assume both single-node clusters are already initialized, unsealed, and you’re logged in as root:
  • Primary (10.1.101.199, tan background)
  • Secondary (10.1.101.108, white background)
DR replication requires Vault Enterprise; it is not supported in the open-source edition.

1. Check Current Replication Status

On the primary (10.1.101.199), confirm DR and performance replication are disabled:

2. Enable DR Replication on Primary

Enable DR replication in primary mode:
Enabling primary DR replication causes a short downtime. Plan accordingly for production environments.
Verify that DR is now primary:
Or view as JSON:

3. Generate a Secondary Token

Still on the primary, create a one-time wrapping token for the secondary:
Copy the wrapping_token value (valid for 30 minutes).

4. Enable DR Replication on Secondary

Switch to the secondary (10.1.101.108) and join it to the primary:
Enabling DR on a secondary will wipe any existing data. Be sure this node is dedicated for DR replication.

5. Verify DR Status on Secondary

On the secondary, confirm replication is active:
A DR secondary does not serve client requests—most paths are disabled.

6. Verify DR Status on Primary

Back on the primary, list known secondaries:

7. DR Replication in the UI

Primary Cluster Dashboard

  1. Log in to the primary UI and go to Status → Disaster Recovery.
The image shows a web interface for HashiCorp Vault, displaying the "Secrets Engines" section with a "cubbyhole" engine listed. The status menu on the right indicates the server is unsealed and operational.
  1. Click Disaster Recovery to view replication details:
The image shows a web interface for disaster recovery management, indicating the cluster's state as "running" and listing one known secondary connection.
  1. Under Manage, you can disable replication, force a re-index, or demote this primary:
The image shows a web interface for managing disaster recovery settings, with options to disable replication, recover, reindex, and demote a cluster.

Secondary Cluster Dashboard

On the secondary UI, you’ll land directly in the DR dashboard (no login prompt). It shows the cluster in stream-wals state:
The image shows a "Disaster Recovery" dashboard from a Vault application, displaying the status and details of a secondary cluster's connection and replication settings. It includes information about the primary cluster address, connection state, and replication set ID.
Under Manage, you can promote this secondary or generate an operational token:
The image shows a web interface for promoting a disaster recovery cluster in Vault, with fields for entering a DR operation token and an optional primary cluster address.

Command Summary


Watch Video

Practice Lab