• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 473
  • Last Modified:

How to install rhel5 as a fully vitualized guest

Dear Sir/Madam:

I have rhel5 also my hardware  supports fully virtualization , while installing enabled the virtualization now i want to install the guest OS again RHEL5 as a fully virtualized guest can anybody help with step by step guide, thanks in advance.
0
D_wathi
Asked:
D_wathi
2 Solutions
 
Michael WorshamInfrastructure / Solutions ArchitectCommented:
What kind of hardware are we talking about you are running the RHEL 5 environment upon and have you made sure that the BIOS has been enabled for allowing virtualization needs?

---

Once your BIOS has been configured/enabled to utilize full virtualization, make sure your system as listed under RHN is configured for the virtualization channel. Once this is done, then you can proceed to the steps below...

1) To install the Xen kernel and also install the Xen virtual manager:

'yum install kernel-xen xen virt-manager'

Once this has been completed and the server rebooted, then you can provision guest OS systems.

2) As the virt-manager really can build out the virtual disk images (site.img) files, I highly recommend using the following script instead as the 'dd' version makes all of the disk space needed exact and true as the virtual manager sometimes flakes out and doesn't take advantage of all the space requested.

echo "Provisioning mysite.img virtual image... 50GB"
/bin/dd if=/dev/zero of=/var/lib/xen/images/mysite.img oflag=direct bs=1M count=50000

3) In a X-Windows terminal, run 'virt-manager'. You will need the server's root password to login.

The virtual manager GUI is pretty much step-by-step...

- You just need to know that the location for the install images (i.e. boot ISO or DVD ISO) needs to be http accessible (i.e. mount the virtual ISO on the host server then use Apache/httpd to allow the virtual manager to call it directly).

- The virtual manager will prompt you if you want to use a fully or para virtual instance. (If the fully part is grayed out, then something in your BIOS is still not configured for full virtualization capabilities)

- You will then be prompted for where to install the guest OS on the virtual image (i.e. /var/lib/xen/images). If you made use of the script above, you can just use the same link in the script and it will provision the environment directly on the already prepped VM image.

---

If you are looking at provisioning several virtual machines, I highly recommend setting up a kickstart profile as it will make configuration much easier and consistent across all VMs.

Reference:
http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/Installation_Guide-en-US/ch-kickstart2.html

0
 
torimarCommented:
Here is a step-by-step visual tutorial:
http://sadiquepp.blogspot.com/2009/02/how-to-install-fully-virtualized-ia64.html

Before beginning, check the RH virtualization matrix to make sure your guest/host combo is a valid one:
http://www.redhat.com/rhel/server/advanced/virt.html
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now