wesupport

25% off on first invoice for all services*

SPRING SALE

Use coupon

*Offer valid for new customers only

25% off on first invoice for all services*

SPRING SALE

Use coupon

*Offer valid for new customers only

Need help?

Our experts have had an average response time of 11.43 minutes in March 2024 to fix urgent issues.

We will keep your servers stable, secure, and fast at all times for one fixed price.

NFS Data and Export Storage Domain to oVirt/RHEV – How To Add

by | Jan 16, 2021

Need to add NFS Data and Export Storage Domain to oVirt/RHEV?

At Bobcares we often handle similar requests from our customers as a part of our Server Management Services.

Today let’s see how our Support Engineers do this for our customers with ease.

How to add NFS Data and Export Storage Domain to oVirt/RHEV

oVirt/RHEV uses a centralized storage system for virtual machine disk images, ISO files, and Snapshots.

oVirt is a free and open-source virtualization solution fit for running critical enterprise Workload.

NFS Data and Export Storage Domain to oVirt/-RHEV
Network File System(NFS) allows client systems to access files that are stored on a remote shared server over a network and lets to make use of those file systems.

Steps for adding to oVirt/RHEV

We can see the steps that our Support Techs follow to implement this.

1. Creating group/user account

First login to NFS server and create a system group called kvm on NFS server if it does not exist already:

$ getent group kvm || sudo groupadd kvm -g 36

Then create the user vdsm in the group kvm

$ getent passwd vdsm || sudo useradd vdsm -u 36 -g 36
2. Configure NFS Server

First, we can install the NFS server packages on RHEL 8.

$ sudo yum -y install nfs-utils

Then start and enable nfs-server service.

$ sudo systemctl enable --now nfs-server rpcbind

Next, we will create NFS exports directories for oVirt.

sudo mkdir -p /glusterfs/exports/ovirt/{data,iso,export}

And set the ownership of exported directories to 36:36, which gives vdsm:kvm ownership:

$ sudo chown -R 36:36 /glusterfs/exports/ovirt/data
$ sudo chown -R 36:36 /glusterfs/exports/ovirt/iso
$ sudo chown -R 36:36 /glusterfs/exports/ovirt/export

This gives vdsm:kvm ownership.

Next, we can change the mode of the directories:

$ sudo chmod 0755 /glusterfs/exports/ovirt/data
$ sudo chmod 0755 /glusterfs/exports/ovirt/iso
$ sudo chmod 0755 /glusterfs/exports/ovirt/export

And then we will configure NFS exports file with the following command:

$ sudo vim /etc/exports

Start and enable NFS server service.

$ sudo systemctl enable --now nfs-server

Then update NFS exports table with the following

$ sudo exportfs -rvv

If a firewall like firewalld is enabled, we need to add NFS service in firewalld.

$ sudo firewall-cmd --add-service=nfs --permanent
$ sudo firewall-cmd --add-service={nfs3,mountd,rpc-bind} --permanent
$ sudo firewall-cmd --reload
3. Attaching NFS Storage to ovirt/RHEV

Finally, we can attach an NFS storage domain to the data center in oVirt/RHEV environment.

[Need assistance? We are here for you!]

 

Conclusion

To conclude we saw the steps followed by our Support Engineers to add Export Storage Domain & NFS Data to an oVirt/RHEV environment.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Categories

Tags