Deploying Red Hat Enterprise Virtualization

Adding Storage

Ok, so now we have a Datacenter called “Default”, a cluster called “Default”, and a RHEV-H node in that cluster. Now lets move on and add some storage.

If you click on the storage tab, you will see an ISO Domain which I created during the RHEV-M installation. This is called “ISOs”. The ISO domain is used for your installation media. This is not used for storing your Virtual Server disk images.

What we need to do next, is add a “Data” Domain, which will be where we save our Virtual Servers to. Click “Add Domain” which is in the Storage tab.

Make sure you select the Datacenter you wish to add your storage to. As I have only have the one “Datacenter” configured, I will add it to the “Default” datacenter.

Because I am using NFS, I specify my storage as a normal NFS path.
** Note, you will need at least 1 node in an up state in order to add storage, as you will need one active node to start acting as the “Storage Pool Manager”.

See screen shot

Once you have clicked OK, your selected Node will commence the process of starting up as the SPM and work on adding the storage to the cluster.

Once it has been added successfully, you will see the following in your storage list.

 

If you don’t intend on using an ISO domain, then you are finished adding storage. If you wish to add more, then go right ahead. Add as much as you like.

My last deployment of RHEV, I didn’t use an ISO domain as I was using a provisioning server which PXE booted my installations. I highly recommend you look at Red Hat Satellite if you are going to be using a Linux only environment. My last project was a completely autonomous deployment as I was able to interface Satellite with the RHEV API to join all elements of the provisioning process together.

 

For those who are interested, lets enable that ISO domain we created earlier. If you are new to RHEV, this means you.

As the ISO domain already exists, all we need to do is “Assign” the domain to the datacenter we with to use it on.

To add the “ISOs” domain to the Default datacenter, click the Datacenter tab, click “Default” and you will see the current storage tab. Click “Assign ISO” and you will be presented with a really simple dialog window.

Click ISOs, and then click OK.

 

Once its added, you will see that all of your storage will now appear online and in an “Up” state.

 

That basically wraps up this article. You now have RHEV completely up and running with 1 or several nodes, depending on how many hypervisors you have, which is connected to some shared storage.

I specifically have not covered the networking element in this article, as I only have a flat LAN in my current environment. If you wish to add additional networks and / or VLAN support, you can add additional networks to your Datacenter, and once you have added your networks, you will need to apply them to your hypervisors.

The last thing we need to cover, is adding some media to the ISO domain.

To upload some ISO media into your ISO domain, you need to use the “rhevm-iso-uploader” command.
I had saved the RHEL 6.3 DVD iso to the /root folder of my RHEV-M server.

You can import the ISO into the “ISOs” domain as follows

[root@rhevm ~]# rhevm-iso-uploader --iso-domain=ISOs upload /root/rhel-server-6.3-x86_64-dvd.iso
Please provide the REST API password for the admin@internal RHEV-M user (CTRL+D to abort):
[root@rhevm ~]#

 

You can now go ahead and create a Virtual Server or Desktop, and when you select to add a CDROM, you will now see the Red Hat Enterprise Linux 6.3 DVD in the list. You can repeat this process with as many ISO files as you like. As long as you have the space available, you can keep on loading them.

As always, feel free to leave comments or email me directly if you would like any assistance with your installation.

One comment on “Deploying Red Hat Enterprise Virtualization

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>