Home / Redhat Enterprise Virtualization / How to add ISCSI Storage to RHEV ?

How to add ISCSI Storage to RHEV ?

To store the virtual machines , you need centralized storage like SAN or NFS file server. Not everyone in world can afford the SAN cost since it requires lot hardwares like fiber channel cables, SFP  connectors, SAN switches and Storage. But iSCSI storage can be easily setup using the existing system network with commodity hardware (X86 servers with DAS ). Here we will see how we can add the iSCSI storage target to the Redhat virtualization  environment.These shared storage can be used to store the VM’s which requires the high availability.

1. Login to the Redhat Enterprise Virtualization Manager  and navigate to the storage tab.

Login to RHEV-M and Navigate to Storage
Login to RHEV-M and Navigate to Storage

2.Click on New Domain

  • Enter the Name and Description of the storage
  • Select the Domain Function/Storage Type as Data/iSCSI
  • Enter the iSCSI server IP and Port Number
  • Click on Discover.
Enter the ISCSI server details 2
Enter the ISCSI server details 2

3.Just click on “Login all ” to initiate the session with ISCSI server on the available targets.

After the Discover
After the Discover

4.Once you have logged in to the selected target, you can see the LUN’s which has been  assigned to that target.

LUNS are visible
LUNS are visible

5.This window provides two type of options, (Left side vertical boxes)

  1. By selecting the target , you can see the allocated LUNS.
  2. By selecting the LUN, You can find the target.

In my case, just one target and that also has only one LUN. The above mentioned options will be useful when you find the multiple targets and multiple LUNS on the discover.

6.Just select the LUN and click OK to create the storage domain.

Select the LUN and click OK
Select the LUN and click OK

7.In few minutes , new storage domain will be ready .

Storage is active now
Storage is active now

8.The same way you can add new storage domain for NFS storage as well . In the storage domain window, you need to enter details something like below.

NFS sample
NFS sample

It will be mounting like below on the Redhat hypervisor.

[root@uarhevh1 ~]# df -h |grep 192
192.168.2.24:/mnt/sandg/rhevnfs2/UANFS
                      3.7G   74M  3.5G   3% /rhev/data-center/mnt/192.168.2.24:_mnt_sandg_rhevnfs2_UANFS
[root@uarhevh1 ~]#

Normally, iSCSI Storage domain   will be used to store the virtual machines and NFS Storage domain  will be used to store the ISO images of guest operating systems.

Hope this article is informative to you .

Share it ! Comment it !! Be Sociable !!!

VMTURBO-CLOUD-CAPACITY

Leave a Reply

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