Oracle® VMServer User’s Guide Release 2.1 E10898-04June 2009
x
Cannot Display Graphical Installer When Creating GuestsE-4 Oracle VM Server User's GuideThe following example as a VNC configuration entry in a h
Mouse Pointer Tracking ProblemsTroubleshooting E-5E.6 Setting the Guest’s ClockParavirtualized guests may perform their own system clock management, f
Hardware Virtualized Guest StopsE-6 Oracle VM Server User's GuideRestart Oracle VM Server for the changes to take effect.E.9 Hardware Virtualized
Attaching to a Console with the Grub Boot LoaderTroubleshooting E-7E.12 CD-ROM Image Not FoundIf you create a paravirtualized or hardware virtualized
Attaching to a Console with the Grub Boot LoaderE-8 Oracle VM Server User's Guide
Glossary-1GlossaryDomainA configurable set of resources, including memory, virtual CPUs, network devices and disk devices, in which virtual machines r
Oracle VM AgentGlossary-2Oracle VM AgentAn application installed with Oracle VM Server. It communicates with Oracle VM Manager for management of virtu
Xen™Glossary-3Utility ServerA component of Oracle VM Agent. An application that handles I/O intensive operations for virtual machines, server pools an
Xen™Glossary-4
Index-1IndexAAgentVM Server, D-1Anaconda installation tree, 4-6CClock, E-5Setting, E-5Command line tools, E-2Convert host to guest, A-11Converting har
xiWhat’s New in Oracle VM Server?This Preface introduces the new features and enhancements of Oracle VM Server. This information is useful to users wh
Index-2NNetwork controller, xiNetwork driver, C-1Network Traffic Priority, C-2NFS access blocked, E-7NIC, C-1OOCFS2, 6-1, 9-4Oracle Enterprise Linux 4
Index-3VMM, Glossary-3VMware virtual machine conversion, 8-1VNC access to guests, E-2WWallclock Time Skew, E-5XXen, Glossary-3Xen hypervisor, 1-2, Glo
Index-4
xii– Brocade Fibre Channel HBA (bfa)– LSI Logic Fusion-MPT SCSI (mptlinux)– LSI Logic MegaRAID SCSI (megaraid) – Redundant Disk Array Controller (rdac
1Introduction to Virtualization 1-11Introduction to VirtualizationThis Chapter provides introductory information on virtualization. It discusses why y
Xen™ Technology1-2 Oracle VM Server User's Guideadministration costs, fewer computers can be used to achieve the same goal. Administration and ph
Oracle VMIntroduction to Virtualization 1-3– Perform live migration of virtual machines– Import and manage ISOs Oracle VM Server: A self-contained vi
Oracle VM1-4 Oracle VM Server User's Guide
2Oracle VM Server 2-12Oracle VM ServerThis Chapter contains an overview of Oracle VM Server and the underlying hypervisor, the components of virtual m
Hypervisor2-2 Oracle VM Server User's Guide2.2 HypervisorOracle VM Server is designed so that the hypervisor (or monitor, or Virtual Machine Mana
Managing DomainsOracle VM Server 2-3implementation, there may be performance penalty for certain types of guests and access types, but hardware virtua
Oracle VM Server User's Guide, Release 2.1 E10898-04Copyright © 2008, 2009, Oracle and/or its affiliates. All rights reserved.Primary Author: Al
Configuring Oracle VM Server2-4 Oracle VM Server User's Guide2.9 Configuring Oracle VM ServerYou can configure Oracle VM Server using the configu
3Oracle VM Agent 3-13Oracle VM AgentOracle VM Manager communicates with Oracle VM Agent to create and manage guests on an Oracle VM Server. Oracle VM
Starting Oracle VM Agent3-2 Oracle VM Server User's Guide;rules := if addr.match(allow) and not addr.match(deny): return True;pattern items delim
Monitoring Oracle VM AgentOracle VM Agent 3-33.4 Stopping Oracle VM AgentTo stop Oracle VM Agent, enter# service ovs-agent stopOracle VM Agent is stop
Monitoring Oracle VM Agent3-4 Oracle VM Server User's Guide
4Creating a Guest Virtual Machine 4-14Creating a Guest Virtual MachineThis Chapter contains information on how to create a guest virtual machine using
Creating an Installation Tree4-2 Oracle VM Server User's Guide* Oracle Enterprise Linux paravirtualized drivers are available on the Oracle VM Se
Creating a Guest Using a TemplateCreating a Guest Virtual Machine 4-3# mount -o ro,loop /path/to/Enterprise-R5-x86-dvd.iso /el/EL5-x86# exportfs *:/el
Creating a Guest Using virt-install4-4 Oracle VM Server User's Guide# cd /OVS/seed_pool/OVM_template_name6. Run the following Python command to g
Creating a Guest Using virt-installCreating a Guest Virtual Machine 4-52.If the host is capable of creating a hardware virtualized guest, the followin
iiiContentsPreface ...
Creating a Guest Using virt-install4-6 Oracle VM Server User's Guide7.The following question is displayed:Would you like to enable graphics suppo
Creating a Paravirtualized Guest ManuallyCreating a Guest Virtual Machine 4-7Figure 4–1 Text-based Installer ScreenFollow the prompts to complete the
Creating a Paravirtualized Guest Manually4-8 Oracle VM Server User's Guide# vgcreate vg /dev/sda10Create a logical volume of 4 Gigabytes named my
Creating a Paravirtualized Guest ManuallyCreating a Guest Virtual Machine 4-9After you create the root file system for the guest, modify the guest con
Creating a Hardware Virtualized Guest Manually4-10 Oracle VM Server User's Guide7.Create the guest.# xm create -c /etc/xen/domain-config-file8. G
Creating a Hardware Virtualized Guest ManuallyCreating a Guest Virtual Machine 4-113.Mount the guest root file system to /mnt to enable you to modify
Converting a Hardware Virtualized Guest to a Paravirtualized Guest4-12 Oracle VM Server User's Guide4.7 Converting a Hardware Virtualized Guest t
Converting a Hardware Virtualized Guest to a Paravirtualized GuestCreating a Guest Virtual Machine 4-136.Take note of the guest IP address, or hostnam
Creating a Paravirtual Guest with Red Hat Enterprise Linux 3.8 or 3.94-14 Oracle VM Server User's Guideon_crash = 'restart'15. Start
Installing Paravirtual DriversCreating a Guest Virtual Machine 4-15http://linux.oracle.com/2.Modify the /etc/modprobe.conf file to comment out existin
iv3.4 Stopping Oracle VM Agent ... 3-33.5 Monito
Installing Paravirtual Drivers4-16 Oracle VM Server User's Guide
5Domain Monitoring and Administration 5-15Domain Monitoring and AdministrationThis Chapter contains information on the Oracle VM Server domain lifecyc
Using the xm Command-Line Interface5-2 Oracle VM Server User's Guide# xm pause mydomainSee "xm" in Appendix A, "Command-Line Tools
Using the xm Command-Line InterfaceDomain Monitoring and Administration 5-3Figure 5–2 Example xm info Command Output
Using the xm Command-Line Interface5-4 Oracle VM Server User's Guide
6Domain Live Migration 6-16Domain Live MigrationThis Chapter discusses live migration of domains to other, identical computers. You must use identical
Creating a Shared Virtual Disk for Live Migration6-2 Oracle VM Server User's GuideThis command returns output similar to:10.1.1.1:3260,5 iqn.1992
Creating a Shared Virtual Disk for Live MigrationDomain Live Migration 6-3 ip_port = 7777 ip_address = 10.1.1.1 number = 0
Creating a Shared Virtual Disk for Live Migration6-4 Oracle VM Server User's GuideDetermine the share disk volume you want to use.2. Create a new
Migrating a DomainDomain Live Migration 6-52.Add the following entry to the /etc/fstab file:myfileserver:/vol/vol1/data/ovs /OVS/remote nfs defaults
v9 High Availability9.1 High Availability (HA) ...
Migrating a Domain6-6 Oracle VM Server User's Guide
7Managing Oracle VM Server Repositories 7-17Managing Oracle VM Server RepositoriesOracle VM uses the concept of repositories to define where Oracle VM
Repository Configuration File7-2 Oracle VM Server User's Guide/etc/ovs/repositories.optionsYou can add a repository using the /usr/lib/ovs/ovs-ma
Removing a RepositoryManaging Oracle VM Server Repositories 7-3configuration, one shared storage repository must be chosen as the cluster root in a se
Removing a Repository7-4 Oracle VM Server User's Guide
8Converting Hosts and VMware Virtual Machines 8-18Converting Hosts and VMware VirtualMachinesThis Chapter discusses creating hardware virtualized gues
Converting a Linux or Windows Host8-2 Oracle VM Server User's Guide]The hardware virtualized guest created by the P2V utility must have it’s own
Converting a Linux or Windows HostConverting Hosts and VMware Virtual Machines 8-3Figure 8–2 CD Found ScreenIf you want to make sure the CDROM is erro
Converting a Linux or Windows Host8-4 Oracle VM Server User's GuideFigure 8–4 Disk Selection ScreenSelect the disk partition(s) on the computer t
Converting a Linux or Windows HostConverting Hosts and VMware Virtual Machines 8-5Figure 8–6 Web Server ScreenLog in to Oracle VM Manager and import t
viE.8 Mouse Pointer Tracking Problems ... E-5E.9 Hardware Vi
Converting a VMware Virtual Machine8-6 Oracle VM Server User's GuideSee "P2V" in Appendix A, "Command-Line Tools" for detaile
9High Availability 9-19High AvailabilityThis Chapter discusses implementing High Availability (HA) fail over for server pools and guests in Oracle VM.
High Availability (HA)9-2 Oracle VM Server User's GuideFigure 9–1 Enabling HAIf HA is enabled, when you restart, shut down, or delete the Virtual
High Availability (HA)High Availability 9-3Figure 9–2, "HA in effect for a Virtual Machine Server failure" shows a Virtual Machine Server fa
Creating a Shared Virtual Disk for HA9-4 Oracle VM Server User's Guide Have the cluster root mounted at /OVS. All other storage may be mounted a
Creating a Shared Virtual Disk for HAHigh Availability 9-5# iscsiadm -m node -p 10.2.1.250:3260,4 -T iqn.1992-04.com.emc:cx.apm00070202838.b1 -o delet
Creating HA Clusters9-6 Oracle VM Server User's Guide2.Format the shared virtual disk from any of the Oracle VM Servers in the cluster. For examp
Enabling HAHigh Availability 9-7# mkfs.ocfs2 -L mylabel -b 4K -C 4K -J size=64M -N 16 /dev/sda1 2. On the Server Pool Master, start the cluster servic
Enabling HA9-8 Oracle VM Server User's Guide
Command-Line Tools A-1ACommand-Line ToolsThis Appendix contains references for the Oracle VM Server and Oracle VM Agent command-line tools. The comman
viiPrefaceThe preface contains information on how to use the Oracle VM Server User's Guide. The areas discussed are: Audience Documentation Acc
ovs-agentA-2 Oracle VM Server User's Guideovs-agentThe ovs-agent command-line tool enables you to configure, and control Oracle VM Agent. Enter p
virt-installCommand-Line Tools A-3virt-installThe virt-install command-line tool creates paravirtualized guests and hardware virtualized guests. virt-
virt-installA-4 Oracle VM Server User's Guide[-bvalue | --bridge=value]Sets the bridge to connect guest NIC to. If none is given, attempts to det
virt-installCommand-Line Tools A-5The following table lists the possible values available for os-variant for each os-type option.# virt-install --os-t
virt-installA-6 Oracle VM Server User's Guide[-p | --paravirt]Sets the guest as being a paravirtualized guest.[-llocation | --location=location]S
xmCommand-Line Tools A-7xmThe Oracle VM Server management command-line management tool xm, creates, destroys, manages and migrates guests.This section
xmA-8 Oracle VM Server User's Guidelist [--long | --label] [domain-id, ...]Displays information on all the running domains. The --long option dis
xmCommand-Line Tools A-9loaded, values that were not set on the command-line are replaced by the values set in the script.[-F=file | --config=file]Set
xmA-10 Oracle VM Server User's GuidetopDisplays real time monitoring information of the host and domains.# xm topunpause {domain-id}Unpauses a pa
P2VCommand-Line Tools A-11P2VThe Physical to Virtual (P2V) conversion utility enables you to convert a computer’s operating system (Linux and Windows)
viiiDeaf/Hard of Hearing Access to Oracle Support ServicesTo reach Oracle Support Services, use a telecommunications relay service (TRS) to call Oracl
P2VA-12 Oracle VM Server User's GuideSuppressing the Keyboard Selection ScreenTo suppress the Keyboard selection screen, supply the keyboard kick
P2VCommand-Line Tools A-13diskimage --device /dev/sda--type [IDE | SCSI | LVM | MDRAID]Sets the type of disk. Must be one of IDE, SCSI, LVM, or MDRAID
P2VA-14 Oracle VM Server User's Guide--vcpus numberThe number of VCPUs for the guest.--consolepasswd passwordThe console password for the guest.
BOracle VM Server Configuration File B-1BOracle VM Server Configuration FileThis Appendix contains information on the entries in the Oracle VM Server
Oracle VM Server Configuration FileB-2 Oracle VM Server User's GuideOracle VM Server Configuration FileThis section contains information on confi
Oracle VM Server Configuration FileOracle VM Server Configuration File B-3(xen-api-server ((9367 pam '' /etc/xen/xen-api.key /etc/xen/xen-ap
Oracle VM Server Configuration FileB-4 Oracle VM Server User's Guide(xend-tcp-xmlrpc-server-ssl-cert-file /etc/xen/xmlrpc.crt)xend-port {port}Set
Oracle VM Server Configuration FileOracle VM Server Configuration File B-5dom0-min-mem {memory}Sets the minimum memory level in Megabytes that dom0 ca
Oracle VM Server Configuration FileB-6 Oracle VM Server User's Guide
CGuest Configuration C-1CGuest ConfigurationThis Appendix contains information about guest network driver installation, guest configuration file optio
ixYou can also get the latest information on Oracle VM by going to the Oracle virtualization Web site:http://www.oracle.com/virtualizationConventionsT
Quality of Service (QoS)C-2 Oracle VM Server User's Guidenetwork interface card (NIC) and you can control how much bandwidth is available to the
Configuration File Example 1Guest Configuration C-3qos_algorithm_type is the QoS algorithm. Only tbf is currently supported.qos_algorithm_params are t
Configuration File Example 2C-4 Oracle VM Server User's GuideC.4 Configuration File Example 2A more complex example of a configuration file to cr
DOracle VM Agent Architecture D-1DOracle VM Agent ArchitectureThis Appendix contains more detailed information on the architecture and deployment opti
Oracle VM Agent DeploymentD-2 Oracle VM Server User's GuideD.2 Oracle VM Agent DeploymentOracle VM’s deployment architecture utilizes server pool
Oracle VM Agent DeploymentOracle VM Agent Architecture D-3Figure D–2 Oracle VM deploymentA server pool consists of one or more physical Oracle VM Serv
Oracle VM Agent DeploymentD-4 Oracle VM Server User's Guide
ETroubleshooting E-1ETroubleshootingThis Appendix contains information on troubleshooting Oracle VM Server. It contains: Debugging Tools Using DHCP
Using DHCPE-2 Oracle VM Server User's GuideE.1.2 Oracle VM Server Log FilesThe Oracle VM Server log files you should check when troubleshooting p
Guest Console AccessTroubleshooting E-3enabled in the guest’s configuration file, vm.cfg. Some VNC parameters (for example, the listening address and
Commentaires sur ces manuels