Categories: kubernetes

OpenShift Install OpenShift Data Foundation (ODF) using Multus network Isolation

You can check the earlier post regarding cluster setup

https://kdinesh.in/deployment-of-openshift-4-20-with-using-the-assistant-installer/

1.Install nm state operator

2. Install ODF operator

3. Configure odf network using NMState

4. Create a ODF storage cluster

Login to OpenShift. Left side menu, under Ecosystem, select Software Catalog.

Search nm state, Select Kubernetes NMState Operator

Click on Install.

Stick with the default configuration. Click on Install.

Once Installation is completed. Click on View Operator option.

Click on create NMState option.

Click on Create.

Once NMState is created. You can additionally network option in UI – Node network configuration, NodeNetworkConfigurationPolicy …etc.

Search Local Storage operator in software catalog. Select Local Storage.

Click on Install option.

Click on Install.

Search data foundation operator on software catalog.

Click on Install.

Click on Next.

Once data foundation operator installed. You can see Data Foundation option in UI.

  1. Public Odf network

Used for client-facing traffic

Carries I/O between:

    1. Applications (PVCs)
    2. CSI drivers
    3. Ceph MONs and OSDs

Must be reachable from all OpenShift nodes

Requires routing if nodes span subnet

2. Cluster Network

Used for internal Ceph-to-Ceph traffic only

Carries:

    1. Replication
    2. Backfill
    3. Recovery
    4. Rebalancing

No routing required to external networks

Usually isolated or high-bandwidth

Important: Every node requires its own dedicated IP. Make sure to set up the network on each node.

You can download yaml files from below link (Note : Update yaml file based you NIC names and IP, subnet)

https://github.com/Dineshk1205/ocp4.20/tree/main

After applying the configuration. You can check status in UI – Network > NodeNetworkConfigurationPolicy

Apply network configuration on remaining nodes.

Now. Bond1 configured. Next configure ODF public and cluster network

You can download yaml file using below links

https://github.com/Dineshk1205/ocp4.20/tree/main

Next run network test using a test tool

You can download rook using below link

https://access.redhat.com/articles/7014721

Note: Red Hat advised validating and running the network prior to creating an ODF storage cluster with Multus network isolation.

The test was completed successfully. Should there be any network problems, the test will not succeed.

Click on Storage > Storage cluster > click on configure Data Foundation

Click on Create Storage Cluster

You can select Set Default Storage Class for Virtualization

Click on Next.

It will take few minutes to discover hosts on the nodes.

Enter Local Volume Set Name

Configure label to the storage nodes. I am using three nodes as a storage node

Click on Next

Click on yes.

Select Performance profile based on your requirements

Click on Next

Select Isolate network using Multus option

Due to bug in 4.20, Network selection option not working. We can use CLI to finish the storage creation.

You can download yaml file using below link and update details according to your disks

https://github.com/Dineshk1205/ocp4.20/blob/main/scluster.yaml

Stora cluster creation is in progress. It will take few minutes.

Storage Cluster creation completed successfully.

You can check the next post regarding the Virtualization configuration

Dineshreddy Kayithi

Rooted in a solid academic foundation with a Bachelor's Degree in Information Technology, my career has been deeply entrenched in designing, deploying, and managing enterprise-grade infrastructure across virtualization, cloud-native, and containerized environments. Industry certifications from VMware, AWS, Microsoft, and Kubernetes validate my hands-on expertise in architecting scalable, resilient systems spanning hypervisors, public/hybrid cloud platforms, and container orchestration frameworks. I'm driven by a relentless pursuit of emerging technologies — translating them into production-ready solutions that solve complex operational challenges.

View Comments

Recent Posts

Canary Deployments on OpenShift with GitOps: A Practical Walkthrough

Shipping a new version of an application is always a small act of faith. Even…

2 weeks ago

OpenShift VM Backup and Restore

The following steps demonstrate how to back up and restore an OpenShift virtual machine using…

2 months ago

Red Hat OpenShift VM Micro-segmentation Using MultiNetworkPolicy

OpenShift Virtualization allows virtual machines (VMs) to run natively on Kubernetes alongside container workloads. Using…

3 months ago

Red Hat OpenStack Services on OpenShift (RHOSO)

Red Hat OpenStack Services on OpenShift (RHOSO) provides the foundation to build a private or public…

4 months ago

Kubernetes Cluster Deployment

Kubernetes (often shortened to “K8s”) is an open-source system for automating the deployment, scaling, and…

4 months ago

Ceph cluster on a single machine

Ceph is an open-source, distributed storage platform that provides object, block, and file storage in…

4 months ago