• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to Setup Virtual Machines in RHEV Environment

{{postValue.id}}

To Setup Virtual Machines in RHEV Environment

In this article, we will learn how to setup Virtual Machines in RHEV Environment.

To install RHEV 3.5 in Linux visit,
https://www.linuxhelp.com/how-to-install-rhev-3-5-in-linux/

To Setup Redhat EnterpriseVirtualization Hypervisor In Linux visit,
https://www.linuxhelp.com/how-to-setup-redhat-enterprise-virtualization-hypervisor-in-linux/

To Setup Data-Centers With Cluster And Add ISCSI Storage In Linux visit,
https://www.linuxhelp.com/setup-datacenter-with-cluster-and-add-iscsi-storage/


To install NFS

Check whether the nfs service is installed or not, using the following command

[root@linuxhelp Desktop]# rpm -qa | grep nfs
nfs4-acl-tools-0.3.3-7.el6.x86_64
nfs-utils-1.2.3-70.el6.x86_64
nfs-utils-lib-1.1.5-11.el6.x86_64

If the service is not installed, use the following command to install it.

[root@linuxhelp ~]# yum install nfs-utils &ndash y

Start the NFS services using the following command.

[root@linuxhelp ~]# chkconfig nfs on
[root@linuxhelp ~]# service rpcbind start
[root@linuxhelp ~]# service nfs start

Create a new directory for placing the ISO file

[root@linuxhelp ~]# mkdir /ISO
[root@linuxhelp ~]# vim /etc/exports

Now edit the /etc/exports file

/ISO           192.168.7.0/24(rw)

Save and exit the file.
Run the following command to reload the nfs config.

[root@linuxhelp ~]# exportfs -a

Change the ownership of the directory to uid:36 and gid:36.

[root@linuxhelp ~]# chown 36:36 /ISO
The 36 is the uid of vdsm user “ RHEVM agent”  and the gid of kvm group.

Now create a new storage with NFS/ISO configuration

Select the Data-center&rarr Storage&rarr New domain
Setup-Virtual-Machines-RHEV-environment-virtualisation-product-KVM-hypervisor- NFS-ISO-configuration
Setup-Virtual-Machines-RHEV-environment-virtualisation-product-KVM-hypervisor-New-domain

Now the ISO domain is created and upload the iso files in the new domain.

Transfer the iso file to the rhevm machine under the ISO directory and use rhevm-iso-uploader command to upload it.

[root@linuxhelp ~]# rhevm-iso-uploader  upload -I  ISO  Ubuntu-16.04-amd64.iso
Upload
Ubuntu-16.04-amd64.iso uploaded successfully

After uploading check the ISO file in the rhevm web interface.
Setup-Virtual-Machines-RHEV-environment-virtualisation-product-KVM-hypervisor-check-ISO-file

To create new virtual machine

Go to the virtual machines tab and select New VM
Setup-Virtual-Machines-RHEV-environment-virtualisation-product-KVM-hypervisor-virtual-machines-tab

Setup-Virtual-Machines-RHEV-environment-virtualisation-product-KVM-hypervisor-new-virtual-machine

Click Show Advanced options to configure the RAM, boot options and virtual harddisk

Setup-Virtual-Machines-RHEV-environment-virtualisation-product-KVM-hypervisor-initial-run
Setup-Virtual-Machines-RHEV-environment-virtualisation-product-KVM-hypervisor-boot-options

Click Configure virtual disks, then enter the size and other description as shown.
Setup-Virtual-Machines-RHEV-environment-virtualisation-product-KVM-hypervisor-Configure-virtual-disks
Setup-Virtual-Machines-RHEV-environment-virtualisation-product-KVM-hypervisor-add-virtual-disk

To install SPICE plug-in, verify the virtual machine console.

For Redhat based Distributions

[root@linuxhelp ~]# yum install spice-xpi
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
&hellip 
...
Dependency Updated:
  gnutls.x86_64 0:2.8.5-19.el6_7                                                

Complete!

For Debian based Distributions

[root@linuxhelp ~]# apt-get install browser-plugin-spice

Then restart your browser.

Right click on the VM , Then select run once and change the boot order.
Setup-Virtual-Machines-RHEV-environment-virtualisation-product-KVM-hypervisor-change-boot-order
Now click the Console icon to view the Console
Setup-Virtual-Machines-RHEV-environment-virtualisation-product-KVM-hypervisor-Console

Then Follow the On screen instructions to install the Ubuntu OS, after the OS installation login using the credentials.
Setup-Virtual-Machines-RHEV-environment-virtualisation-product-KVM-hypervisor-login-deployed

A new virtual machine is successfully deployed.

Tags:
aiden
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

How can I back up my virtual machines?

A

The first is to treat your VMs as if they were other physical nodes on your network.

Q

How to transfer the iso file to the rhevm machine under the ISO directory and use rhevm-iso-uploader?

A

To transfer the iso file to the rhevm machine under the ISO directory and use rhevm-iso-uploader
"rhevm-iso-uploader upload -I ISO Ubuntu-16.04-amd64.iso"

Q

How to reload the NFS config?

A

By using this command you can reload the config
Syntax: "exportfs -a"

Q

How can I deal with poor performance of virtual machines?

A

If you find that there's an excessive amount of paging within the VM, you might want to increase the physical memory allocation.

Q

Can I store virtual machines and virtual hard disks on a network share?

A

Yes. If you're supporting many different virtual machines, you might have a problem managing all of the virtual hard disk files you need for all of the installations of your virtualization platform product.

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help legeek ?
Installation of the call center module

hello

I wish to install a call center in virtual with issabel, I downloaded the latest version of it , but I don' t arrive to install the call center module in issabel. please help me

thanks!

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.