Configuring local stretch cluster DR with Fusion Data Foundation

Steps to configure disaster recovery with stretch cluster for Fusion Data Foundation.

Before you begin

  1. 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.
  2. 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.
  3. 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.
  4. 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:

Procedure

  1. Go to Services page and enable Fusion Data Foundation with local mode.
  2. 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.

    1. Create storageCluster from the OpenShift Container Platform console.
      1. Go to Operators > Create Storagesystem of openshift-storage namespace.
      2. In the Backing storage tab page, select local storage devices and click Next.
      3. In the Create local volume set, enter LocalVolumeSet name and Storageclass Name.
      4. From the node details, ensure there are at least two nodes in one zone and at 2 zones.
      5. 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.

      6. Click Next.
      7. In the Capacity and nodes tab, select the Arbiter zone from the drop down list.
      8. Click Next.
      9. In the Security and network tab, click Next.
      10. In the Review and create tab, click Create StorageSystem.
  3. Validate storage stretch cluster from OpenShift Container Platform console.
    1. Log in to OpenShift Container Platform console.
    2. Go to Storage > Data Foundation.
      The Overview tab is displayed by default.
    3. Go to Topology tab and view the details.
  4. Validate storage stretch cluster from IBM Fusion user interface:
    1. Log in to IBM Fusion user interface.
    2. In the Data Foundation page, view the storage nodes.