Oracle Audio Technologies E10898-02 manual If you see this error message

Page 36

Converting a Hardware Virtualized Guest to a Paravirtualized Guest

#virt-install -n el4u4 -f /dev/VolGroup00/el4u4 -v -c /root/Enterprise-R4-U4-x86_64-dvd.iso -r 512 --vnc

If you see this error message:

main: unable to connect to host: Connection refused (111)

You need to run VNCViewer to reconnect to the guest console:

#vncviewer :0

4.The Oracle Enterprise Linux install begins. From the installation choices, select the following:

Installation type: Server

Package selection: Default.

Partition layout type: Make sure the guest has a single root partition. Do not configure the virtual disk using LVM. Do not create a swap partition, or other partitions mounted at other locations such as /usr or /boot.

Firewall: Disable.

SELinux: Disable.

Network: Configure the network settings for either DHCP or a fixed IP address.

5.When the Oracle Enterprise Linux installation is complete, reboot the guest. If the guest does not restart automatically, use the xm command-line tool to restart it, for example:

#xm list

Name

ID

Mem

VCPUs

State

Time(s)

Domain-0 0

944

2

r-----

5670.8

# xm create el4u4

 

 

Using config file "/etc/xen/el4u4".

Started domain el4u4

#vncviewer :0

6.Take note of the guest IP address, or hostname if assigned via DHCP.

Copy the domU kernel for Oracle Enterprise Linux 4 Update 4, which can be found in the directory extra_kernels/EL4U4PV_64 on the Oracle VM Server installation CD-ROM, to the guest:

#cd extra_kernels/EL4U4PV_64/

#scp kernel-xenU-2.6.9-42.32.0.0.1.EL.x86_64.rpm 10.1.1.1:

7.Log in to the guest as root and replace the contents of the /etc/modprobe.conf file with:

alias scsi_hostadapter xenblk alias eth0 xennet

8.Install the kernel-xenU RPM:

#rpm -ivh kernel-xenU-2.6.9-42.32.0.0.1.EL.x86_64.rpm

warning: kernel-xenU-2.6.9-42.32.0.0.1.EL.x86_64.rpm: V3 DSA signature: NOKEY, key ID b38a8516

Preparing...

###########################################

[100%]

1:kernel-xenU

###########################################

[100%]

WARNING: No module xenblk found for kernel 2.6.9-42.32.0.0.1.ELxenU, continuing anyway

4-12Oracle VM Server User’s Guide

Image 36
Contents E10898-02 FebruaryPage Contents Command-Line Tools Oracle VM Server Configuration File Page Accessibility of Code Examples in Documentation PrefaceCommand Syntax TTY Access to Oracle Support ServicesConventions Page What is Virtualization? Why Virtualize?Introduction to Virtualization Xen Technology Oracle VMXen Technology Oracle VM Oracle VM Architecture shows the components of Oracle VM4Oracle VM Server User’s Guide Oracle VM Server Oracle VM ServerHypervisor Domains, Guests and Virtual MachinesHypervisor Management Domain DomainsHardware Virtualization Vs. Paravirtualization Creating Virtual MachinesConfiguring Oracle VM Server Configuring Oracle VM ServerManaging Oracle VM Server Repositories Oracle VM Agent Command-Line Tool Configuring Oracle VM AgentOracle VM Agent Configuring Oracle VM Agent XmlrpcStarting Oracle VM Agent Stopping Oracle VM AgentMonitoring Oracle VM Agent Deploying Oracle VM AgentTesting the Oracle VM Agent Connection Remotely Starting a Guest with the Oracle VM Agent APIOracle VM Agent Utilities Remotely Stopping a Guest with the Oracle VM Agent APIMonitoring a Guest with the Oracle VM Agent Deleting a Guest with the Oracle VM Agent6Oracle VM Server User’s Guide Creating a Guest Supported Guest Operating SystemsSupported Guest Operating Systems -bit Hypervisor Supported Guest Operating SystemsCreating a Guest Using a Template Creating a Guest Using a TemplateMounting an ISO Enabling Registration of Guests with Oracle VM ManagerCreating 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 the Root File SystemCreating a Paravirtualized Guest Manually Configuring the Guest Populating the Root File SystemCreating 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 Monitoring and Administration Using the xm Command-Line InterfaceDomain Lifecycle Using the xm Command-Line Interface Monitoring DomainsViewing Host Information Using the xm Command-Line Interface 4Oracle VM Server User’s Guide Creating a Shared Virtual Disk Using OCFS2 on iSCSI Domain Live MigrationCreating a Shared Virtual Disk for Live Migration Creating a Shared Virtual Disk for Live Migration Delete entries that you do not want to use, for exampleCreating 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 Configuration File Managing Oracle VM Server RepositoriesOracle VM Server Repositories Repository Mount OptionsAdding a Repository Removing a RepositoryOracle VM Server Repositories Command-Line Tools Configure StartStop RestartHelp Nname --name=nameRRAM --ram=RAM UUUID --uuid=UUIDBvalue --bridge=value VncVncport=port SdlOs-variant=variant NoapicArch=arch Paravirt Llocation --location=locationVif-type=type Xargs --extra-args=argsConsole domain-id Destroy domain-idDmesg --clear Help --long option=file --defconfig=file List --long --label domain-idLog Migrate domain-id host -l --live -r=MB --resource=MBRestore statefile Shutdown -a -w domain-idTop Unpause domain-idOracle VM Server Configuration File Oracle VM Server Configuration File Loglevel Critical or Fatal Error Warn or Warning Info DebugLogfile location Xend-http-server yes no Xend-unix-server yes noXend-tcp-xmlrpc-server yes no Xend-unix-xmlrpc-server yes noXend-port port Xend-relocation-port portXend-address IPAddress Xend-relocation-address IPAddressEnable-dump yes no Dom0-min-mem memoryDom0-cpus CPUs External-migration-tool tool6Oracle VM Server User’s Guide Guest Configuration Files Configuration File ExampleConfiguration 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 Troubleshooting Debugging ToolsOracle VM Server Directories Using Dhcp Guest Console AccessOracle VM Server Command-Line Tools Using DhcpGuest Console Access Cannot Display Graphical Installer When Creating Guests Cannot Display Graphical Installer When Creating GuestsHardware Virtualized Guest Console Not Displayed Setting the Guest’s Clock Wallclock Time Skew ProblemsMouse Pointer Tracking Problems Mouse Pointer Tracking ProblemsHardware Virtualized Guest Windows Installation Hardware Virtualized Guest KilledHardware Virtualized Guest Devices Not Working as Expected Hardware Virtualized Guest KilledFirewall Blocks NFS Access Attaching to a Console with the Grub Boot LoaderTAP Disks with Paravirtualized Guests CD-ROM Image Not Found8Oracle VM Server User’s Guide Glossary Oracle VM Agent Oracle VM ServerOracle VM Manager Paravirtualized machineUtility Server VifVirtual disk Virtual Machine VMGlossary-4 Index Index-1Index-2