Novell XEN - ADMINISTRATION Manual page 96

Virtualization with xen
Table of Contents

Advertisement

Setup your virtual machine to use the paravirtualized disk drivers:
1 In the VM Guest, edit the file /boot/grub/menu.lst. At the kernel line,
2 Now, the devices /dev/hda and /dev/hdb are disabled, and the machine
3 Shutdown your VM Guest. The Xen paravirtualized disk driver will be used the
7.6.2 Editing the Configuration File to
1 If your VM Guest is running, first shut it down.
2 On the VM Host Server, open a terminal and enter xm delete vm_name to
90
Virtualization with Xen
If they are not selected, select them and click Accept to complete the instal-
lation.
append a parameter hdx=noprobe where hdx is the drive designation specified
in the virtual machine configuration file. For example, the disk specification in
your configuration file may look as follows:
disk=['file:/var/lib/xen/images/vm1/disk0,ioemu:hda,w', \
'file:/var/lib/xen/images/vm1/disk1,ioemu:hdb,w' ]
In this example, the virtual machine configuration file specifies two virtual disks
hda and hdb. If you want both disks to use the Xen drivers, add the parameters
hda=noprobe and hdb=noprobe to your kernel command line as follows:
kernel vmlinuz-kernel_ver <other_options> hda=noprobe hdb=noprobe
must be prepared to use the paravirtualized disk drivers. At the kernel line, change
the root device to the paravirtualized disk device. For example, if the kernel line
contains root=/dev/disk/by-id/xxx, change this entry to
root=/dev/hdaX, where hdaX is the disk and partition of your root partition.
For example, this will look like root=/dev/hda2.
next time you reboot this VM Guest.
Recognize the Virtual Network Card
delete the virtual machine's reference in the Xen store so it is no longer managed.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server

Table of Contents