Oracle Audio Technologies E10898-02 manual Use VNCViewer to display the guest

Models: E10898-02

1 88
Download 88 pages 54.26 Kb
Page 35
Image 35

Converting a Hardware Virtualized Guest to a Paravirtualized Guest

Use the same MAC address as you use for the vif. If more than one MAC address is exported to the guest operating system, you must configure more network interfaces, for example, eth1, eth2.

The NETMASK and BROADCAST address must match the corresponding network interface in dom0.

HWADDR is same as the MAC address in vif.

IPADDR is as in the /mnt/etc/hosts file.

DEVICE=eth0

BOOTPROTO=static

HWADDR=00:50:56:02:ff:d3

IPADDR=10.1.1.1

NETMASK=255.255.254.0

BROADCAST=10.1.1.255

ONBOOT=yes

TYPE=Ethernet

The /etc/fstab file does not require modification with a hardware virtualized guest. Hardware virtualized guests boot as a normal operating system. It reads the partition table as usual at boot time.

7.Unmount /mnt.

#unmount /mnt

8.Create the guest.

#xm create -c /etc /xen/domain-config-file

9.Use VNCViewer to display the guest.

#vncviewer <hostname of dom0> #password : welcome

The guest is displayed.

4.8Converting a Hardware Virtualized Guest to a Paravirtualized Guest

You may want to convert a hardware virtualized guest to a paravirtualized guest. This example uses Oracle Enterprise Linux 4 Update 4 as it does not support a direct installation as a paravirtualized guest. This procedure gives an example of installing Oracle Enterprise Linux as a hardware virtualized guest, then converting it to a paravirtualized guest.

To create an Oracle Enterprise Linux 4, Update 4, paravirtualized guest:

1.Copy the Oracle Enterprise-R4-U4-x86_64-dvd.iso image to the local file system of the Oracle VM Server computer

# ls -l /root/Enterprise-R4-U4-x86_64-dvd.iso

-rw-r--r-- 1 root root 2530611200 Aug 2 13:03 /root/Enterprise-R4-U4-x86_ 64-dvd.iso

2.Create a logical volume, which will be used as the guest disk image.

# lvcreate -L8G -n el4u4 VolGroup00

3.Run the virt-install command-line tool to create a hardware virtualized machine domU, and install the Oracle Enterprise Linux operating system.

Creating a Guest 4-11

Page 35
Image 35
Oracle Audio Technologies E10898-02 manual Use VNCViewer to display the guest