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

Page 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

Image 35
Contents February E10898-02Page Contents Command-Line Tools Oracle VM Server Configuration File Page Preface Accessibility of Code Examples in DocumentationTTY Access to Oracle Support Services Command SyntaxConventions Page Introduction to Virtualization What is Virtualization?Why Virtualize? Xen Technology Xen TechnologyOracle VM Oracle VM Architecture shows the components of Oracle VM Oracle VM4Oracle VM Server User’s Guide Oracle VM Server Oracle VM ServerHypervisor HypervisorDomains, Guests and Virtual Machines Creating Virtual Machines Management DomainDomains Hardware Virtualization Vs. ParavirtualizationManaging Oracle VM Server Repositories Configuring Oracle VM ServerConfiguring Oracle VM Server Oracle VM Agent Oracle VM Agent Command-Line ToolConfiguring Oracle VM Agent Xmlrpc Configuring Oracle VM AgentDeploying Oracle VM Agent Starting Oracle VM AgentStopping Oracle VM Agent Monitoring Oracle VM AgentRemotely Starting a Guest with the Oracle VM Agent API Testing the Oracle VM Agent ConnectionDeleting a Guest with the Oracle VM Agent Oracle VM Agent UtilitiesRemotely Stopping a Guest with the Oracle VM Agent API Monitoring a Guest with the Oracle VM Agent6Oracle VM Server User’s Guide Supported Guest Operating Systems Creating a Guest-bit Hypervisor Supported Guest Operating Systems Supported Guest Operating SystemsEnabling Registration of Guests with Oracle VM Manager Creating a Guest Using a TemplateCreating a Guest Using a Template Mounting an ISOCreating a Guest Using virt-install Creating a Guest Using virt-installPress Enter Following question is displayed Would you like to enable graphics support yes or no? Creating a Paravirtualized Guest Manually Creating a Paravirtualized Guest ManuallyCreating the Root File System Populating the Root File System Configuring the GuestCreating a Hardware Virtualized Guest Manually Creating a Hardware Virtualized Guest ManuallyEdit /mnt/etc/sysconfig/network-scripts/ifcfg-eth0 Use VNCViewer to display the guest If you see this error message Restart the guest, using the xm command-line tool Installing Paravirtual Drivers Installing Paravirtual Drivers 16Oracle VM Server User’s Guide Domain Lifecycle Domain Monitoring and AdministrationUsing the xm Command-Line Interface Viewing Host Information Using the xm Command-Line InterfaceMonitoring Domains Using the xm Command-Line Interface 4Oracle VM Server User’s Guide Creating a Shared Virtual Disk for Live Migration Creating a Shared Virtual Disk Using OCFS2 on iSCSIDomain Live Migration Delete entries that you do not want to use, for example Creating a Shared Virtual Disk for Live MigrationCreating a Shared Virtual Disk Using OCFS2 on SAN Adding a Shared Virtual Disk Using NFS Migrating a Domain Migrating a Domain6Oracle VM Server User’s Guide Repository Mount Options Repository Configuration FileManaging Oracle VM Server Repositories Oracle VM Server RepositoriesOracle VM Server Repositories Adding a RepositoryRemoving a Repository Command-Line Tools Restart ConfigureStart StopUUUID --uuid=UUID HelpNname --name=name RRAM --ram=RAMSdl Bvalue --bridge=valueVnc Vncport=portArch=arch Os-variant=variantNoapic Xargs --extra-args=args ParavirtLlocation --location=location Vif-type=typeHelp --long option Console domain-idDestroy domain-id Dmesg --clearMigrate domain-id host -l --live -r=MB --resource=MB =file --defconfig=fileList --long --label domain-id LogShutdown -a -w domain-id Restore statefileUnpause domain-id TopOracle VM Server Configuration File Logfile location Oracle VM Server Configuration FileLoglevel Critical or Fatal Error Warn or Warning Info Debug Xend-unix-xmlrpc-server yes no Xend-http-server yes noXend-unix-server yes no Xend-tcp-xmlrpc-server yes noXend-relocation-address IPAddress Xend-port portXend-relocation-port port Xend-address IPAddressExternal-migration-tool tool Enable-dump yes noDom0-min-mem memory Dom0-cpus CPUs6Oracle VM Server User’s Guide Configuration File Example Guest Configuration FilesConfiguration File Example Oracle VM Agent Architecture Oracle VM Agent ArchitectureOracle VM Agent Deployment Oracle VM Agent DeploymentOracle VM Agent Architecture D-3 4Oracle VM Server User’s Guide Oracle VM Server Directories TroubleshootingDebugging Tools Using Dhcp Using DhcpGuest Console Access Oracle VM Server Command-Line ToolsGuest Console Access Hardware Virtualized Guest Console Not Displayed Cannot Display Graphical Installer When Creating GuestsCannot Display Graphical Installer When Creating Guests Mouse Pointer Tracking Problems Setting the Guest’s ClockWallclock Time Skew Problems Mouse Pointer Tracking ProblemsHardware Virtualized Guest Killed Hardware Virtualized Guest Windows InstallationHardware Virtualized Guest Killed Hardware Virtualized Guest Devices Not Working as ExpectedCD-ROM Image Not Found Firewall Blocks NFS AccessAttaching to a Console with the Grub Boot Loader TAP Disks with Paravirtualized Guests8Oracle VM Server User’s Guide Glossary Paravirtualized machine Oracle VM AgentOracle VM Server Oracle VM ManagerVirtual Machine VM Utility ServerVif Virtual diskGlossary-4 Index-1 IndexIndex-2