Before you begin
Before you set up Metro-DR, ensure that
all the mentioned prerequisites are met:
- For general Metro-DR prerequisites, see
General Metro-DR prerequisites.
- For tiebreaker prerequisites, see Preparing the tiebreaker.
- In disaster recovery, two clusters must be connected to failover and failback applications. If
the cluster recovers after the expiry of the client cert, the connection must be cleaned and setup
to rejoin the recovered cluster. For the procedure to rejoin, see Reconnecting OpenShift Container Platform cluster.
During the installation planning, you can enable
disaster recovery for your rack in either of these methods:
- You have already set up your first rack as Site 1. During the installation of Site 2, connect it
to Site 1 in a Metro-DR relationship.
- You already got a standalone rack set up but not designated it as Site 1. During the
installation of Site 2, utilize the connection snippet of Site 1 to establish a Metro-DR relationship between the two racks.
About this task
For more information about Metro-DR, see
Metro-DR configuration for Global Data Platform.
Procedure
-
Go to the Topology page of the primary site to see a pictorial
representation of the connection between primary site and secondary site.
Example failure statuses for Metro-DR are
connection state failed, admin network connectivity failure, Daemon network connectivity failure,
stretch cluster addition failure, Minio setup failure, RamenDr failure.
- Click Connect in the pictorial representation or click
Connect tiebreaker.
- Enter the following tiebreaker details in the Connect tiebreaker
window:
- IP address
- Enter the IP address of the tiebreaker.
- User ID
- The user id to log in to the tiebreaker
- Password
- The password for the tiebreaker user.
- Click Save
The
Tiebreaker connecting
notification message is displayed. After the tiebreaker connects successfully, the
Connect tiebreaker changes to
Connect cluster. You
cannot add more than two clusters.
Note: The sites (clusters) and tiebreaker statuses are as
follows:
- Healthy
- The status of the cluster or tiebreaker is healthy.
- Degraded
- Whenever a mismatch exists between the two sites.
- Failed
- When the connectivity is lost between the sites or with tiebreaker.
- Running
- All clusters and tiebreaker are running.
If you want to edit details of the tiebreaker, do the following steps:
- Go to the Topology page.
- In the pictorial representation, click the tiebreaker.
- Click Edit.
- In the Edit tiebreaker credentials window, update the details of
the tiebreaker and click Save.