Bobcares

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 *

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

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF