Académique Documents
Professionnel Documents
Culture Documents
How to Convert a HVM Guest to a PVM Guest for RHEL/EL5 [ID 1137824.1]
In this Document
Goal
Solution
References
Applies to:
Oracle VM - Version: 2.2.1 and later [Release: OVM221 and later ]
Information in this document applies to any platform.
Goal
The goal of this document is to explain how to convert a hardware virtualized RHEL/EL5 guest to a para-virtualized guest.
This document only applies for RHEL/EL5 Update 3 or later.
Solution
1.
3. Check your /etc/grub.conf in order to make sure it will boot from the new kernel correctly
By default, installing the kernel-xen will create the following entry in /etc/grub.conf
This will make your virtual machine a xen-server ( xen.gz is loaded as kernel ).
Xen will need these drivers to get network and block devices access. For more info on the xen pv drivers please have a look at Note.757719.1.
support.oracle.com/CSP/ui/flash.html 1/3
2/21/2011 My Oracle Support | Knowledge Brows…
/etc/inittab:
xvc:2345:respawn:/sbin/agetty xvc0 9600 vt100-nav
The following entries have to be removed from your HVM config file,
kernel = '/usr/lib/xen/boot/hvmloader'
builder = 'hvm'
vnc = 1
vncconsole = 1
vnclisten = '0.0.0.0'
vncpasswd = 'ovsroot'
vncunused = 1
If you are using LVM, you can make changes to the disk device easily, for example using xvda instead of hda. If you are using a standard filesystem you have to
adjust the fstab and make sure that /etc/grub.conf as well as the initrd containing the correct devices names before changing the disk type.
Now you can start your guest with 'xm create vm.cfg'.
You have to adjust all kernel versions in the above description to the kernel version you have installed.
Error: (2 'Invalid kernel' "elf_xen_note_check: ERROR: Not a Xen-ELF image: No ELF notes or '__xen_guest'
- you did not change the default grub entries ( see above )
- you hit RH Bug 509568 and you should upgrade module-init-tools to version 3.3-0.pre3.1.60.el5 or later
References
support.oracle.com/CSP/ui/flash.html 2/3
2/21/2011 My Oracle Support | Knowledge Brows…
UPDATE:&LT
UPDATE:<A
http://download.oracle.com/docs/cd/E15458_01/doc.22/e15444/createvm.htm#insertedID7
Related
Products
Unbreakable Linux and Virtualization > Oracle VM > Oracle VM > Oracle VM
Keywords
Back to top
support.oracle.com/CSP/ui/flash.html 3/3