I found the manual very useful.

https://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/Virtualization-en-US/index.html

Installation of RHEL5 Virtualisation went smoothly for me - and I'm a
complete novice.

Just make sure you have an installation number that gives you
virtualisation and select it when promted during the install.
I installed from CD1 and had the other CD ISOs available on an NFS so did a
Linux Askmethod and pointed to the nfs.

For the guest installs I found all the defaults work fine and all you have
to remember to do is the "xm create /etc/xen/<guest-name>" at the end.

I used the Virtual Machine Manager gui and specified an Install Tree on the
local server which had been constructed by consolidating all the CDs as a
DVD ISO and exporting via NFS.  That is then referenced as
"nfs:<local-ip>:<mount-point>" which I didn't find much help on in the docs
I agree.  You can then optionally use a kickstart file but I'd recommend
not to, to keep things simple if you are having problems.

There's a couple of gotchas though.

You obviously need to configure NFS and if you have iptables enabled (which
it is by default) you will need to open that up, which means fixing the nfs
port numbers which is quite fiddly.  Alternatively turn off the firewall.

I also found that SELINUX got in the way of guest installs which were done
to file rather than disk, unless they go into /var/lib/images or something.
Couldn't find that documented either, but you just have to modify the
context of the desired location using semanage and restorecon.  (Or switch
off SELINUX)

I found that guest installs to raw disk took 30 mins and to file they took
2-3 hours!

And finally - if you are installing a guest to raw disk make sure you
partition it first so you install to /dev/sdb1 for example instead of just
/dev/sdb as I found that lead to big problems when the underlying system
was rebooted.  It picked up the / label from a guest instead of the Dom0.
This is only a problem if you are manually partitioning the guests - if you
leave the LVM defaults you wont get caught by this.

Regards,
GXW  :o)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to