Steps to configure disaster recovery with stretch cluster for Fusion Data Foundation.
- OpenShift® Container Platform cluster version must be 4.13 or
higher.
- Ensure that you have at least three OpenShift Container Platform
control nodes in three different zones. One master node in each of the three zones.
- Ensure that you have at least four OpenShift Container Platform
compute nodes evenly distributed across the two Data Zones.
- The stretch cluster solution is designed for deployments where latencies do not exceed 5 ms
between zones, with a maximum round-trip time (RTT) of 10 ms.
- Both flexible scaling and arbiter cannot be enabled at the same time as they have a conflicting
scaling logic. With Flexible scaling, you can add one node at a time to your Red Hat® OpenShift Data Foundation cluster. Whereas, in an arbiter cluster, you
need to add at least one node in each of the two data zones.
- Ensure that each node is pre-labeled with its zone label. For example, you can label the nodes
as follows:
topology.kubernetes.io/zone=arbiter for Master0
topology.kubernetes.io/zone=datacenter1 for Master1, Worker1, Worker2
topology.kubernetes.io/zone=datacenter2 for Master2, Worker3, Worker4
To apply the labels to the
node:oc label node <NODENAME> topology.kubernetes.io/zone=<LABEL>
About this task
If you want to deploy stretch cluster with RH Red Hat OpenShift Data Foundation, see Disaster recovery with stretch cluster for Red Hat OpenShift Data Foundation.
The following diagram shows the simplest deployment for a stretched cluster:
-
Go to Services page and enable Fusion Data Foundation with local mode.
- Create Storage stretch cluster.
Note: If you wish to use the Arbiter stretch cluster, a minimum of 4 nodes (2 different zones, 2
nodes per zone) and 1 additional zone with 1 node is required. All nodes must be pre-labeled with
zones to be validated on cluster creation.
For Red Hat OpenShift Data Foundation documentation, see Creating OpenShift Data Foundation cluster.
- Create storageCluster from the OpenShift Container Platform console.
- Go to of
openshift-storage namespace.
- In the Backing storage tab page, select local storage devices and click
Next.
- In the Create local volume set, enter LocalVolumeSet
name and Storageclass Name.
- From the node details, ensure there are at least two nodes in one zone and at 2 zones.
- In the Create LocalVolumeSet window, click Yes to
confirm.
After the LocalVolumeSet is created you cannot edit it. If you wish to use the Arbiter
stretch cluster, a minimum of 4 nodes (two different zone, two nodes per zone) and one additional
zone with one node is required. All nodes must be per-labeled with zones to be validated on cluster
creation.
- Click Next.
- In the Capacity and nodes tab, select the Arbiter
zone from the drop down list.
- Click Next.
- In the Security and network tab, click Next.
- In the Review and create tab, click Create
StorageSystem.
- Validate storage stretch cluster from OpenShift Container Platform console.
- Log in to OpenShift Container Platform
console.
- Go to .
The Overview tab is
displayed by default.
- Go to Topology tab and view the details.
- Validate storage stretch cluster from IBM Fusion user interface:
- Log in to IBM Fusion user interface.
- In the Data Foundation page, view the storage nodes.