Oracle® VMServer User’s Guide Release 2.1.1 E10898-02February 2008
x
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 physica
Oracle VMIntroduction to Virtualization 1-3 Oracle VM Server: A self-contained virtualization environment designed to provide a lightweight, secure,
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 architected such that the hypervisor (or monitor, or Virtual Machine Mana
Managing DomainsOracle VM Server 2-3any instruction is executed which would violate the isolation with other guests or dom0. In the current implementa
Configuring Oracle VM Server2-4 Oracle VM Server User’s Guide2.9 Configuring Oracle VM ServerYou can configure Oracle VM Server using the configuratio
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
Oracle VM Server User’s Guide, Release 2.1.1 E10898-02Copyright © 2008, Oracle. All rights reserved.Primary Author: Alison HollowayContributing Autho
Configuring Oracle VM Agent3-2 Oracle VM Server User’s Guideservice ovs-agent configure2. You are prompted whether you want to enable SSL (Secure Sock
Oracle VM Agent APIOracle VM Agent 3-33.3 Starting Oracle VM AgentOracle VM Agent is started automatically when the computer starts. To manually start
Oracle VM Agent API3-4 Oracle VM Server User’s Guide Testing the Oracle VM Agent Connection Remotely Starting a Guest with the Oracle VM Agent API
Oracle VM Agent UtilitiesOracle VM Agent 3-53.7.3 Remotely Stopping a Guest with the Oracle VM Agent APIYou can use the do_rpc.py utility to remotely
Oracle VM Agent Utilities3-6 Oracle VM Server User’s Guide
4Creating a Guest 4-14Creating a GuestThis Chapter contains information on how to create a guest operating system. You can create paravirtualized gues
Supported Guest Operating Systems4-2 Oracle VM Server User’s GuideOracle Enterprise Linux kernels are available on the Oracle VM Server CD for Release
Creating a Guest Using a TemplateCreating a Guest 4-34.2 Mounting an ISOYou cannot create a guest from a local hard disk or CD-ROM using the virt-inst
Creating a Guest Using virt-install4-4 Oracle VM Server User’s Guidetar -xzvf OVM_EL4U5_X86_HVM.tgz2. Modify the vm.cfg file to change the directories
Creating a Guest Using virt-installCreating a Guest 4-52.If the host is capable of creating a hardware virtualized guest, the following question is di
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 support (y
Creating a Paravirtualized Guest ManuallyCreating a Guest 4-74.6 Creating a Paravirtualized Guest ManuallyTo manually create a paravirtualized guest:1
Creating a Paravirtualized Guest Manually4-8 Oracle VM Server User’s Guide4.6.2 Populating the Root File SystemThe root file system for the guest may
Creating a Hardware Virtualized Guest ManuallyCreating a Guest 4-9Hostname is the name of the virtual machine, for example, mycomputer.example.com. Ma
Creating a Hardware Virtualized Guest Manually4-10 Oracle VM Server User’s Guideimport os, rearch = os.uname()[4]if re.search('64', arch):
Converting a Hardware Virtualized Guest to a Paravirtualized GuestCreating a Guest 4-11Use the same MAC address as you use for the vif. If more than o
Converting a Hardware Virtualized Guest to a Paravirtualized Guest4-12 Oracle VM Server User’s Guide# virt-install -n el4u4 -f /dev/VolGroup00/el4u4 -
Converting a Hardware Virtualized Guest to a Paravirtualized GuestCreating a Guest 4-139.Edit the /boot/grub/grub.conf file in the guest and change th
Creating a Paravirtual Guest with Red Hat Enterprise Linux 3.8 or 3.94-14 Oracle VM Server User’s GuideReplace xx:xx:xx:xx:xx:xx with the actual MAC a
Installing Paravirtual DriversCreating a Guest 4-15ifconfig eth010. Edit the /etc/xen/xend-config.sxp file to add the new MAC address:vif = [ 'ma
iv3.7.3 Remotely Stopping a Guest with the Oracle VM Agent API ... 3-53.8 Oracle VM Agent Utilities ...
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 GuideSee "xm" in Appendix A, "Command-Line Tools" for detailed info
Using the xm Command-Line InterfaceDomain Monitoring and Administration 5-3
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 Guide10.1.0.249:3260,1 iqn.1992-04.com.emc:cx.apm00070202838.a010.1.1.249
Creating a Shared Virtual Disk for Live MigrationDomain Live Migration 6-3node: ip_port = 7777 ip_address = 10.1.1.2 number = 1
Creating a Shared Virtual Disk for Live Migration6-4 Oracle VM Server User’s Guide3.Create the OCSF2 configuration file as /etc/ocfs2/cluster.conf. Th
Migrating a DomainDomain Live Migration 6-53.Mount the shared virtual disk:mount /OVS/remote6.2 Migrating a DomainTo migrate a domain from one compute
vB Oracle VM Server Configuration File Oracle VM Server Configuration File ...
Migrating a Domain6-6 Oracle VM Server User’s Guide
7Managing Oracle VM Server Repositories 7-17Managing Oracle VM Server RepositoriesThis Chapter contains information on managing Oracle VM Server repos
Oracle VM Server Repositories7-2 Oracle VM Server User’s GuideThe format of this file is:uuid optionsThe uuid parameter is the UUID (Universally Uniqu
Command-Line Tools A-1ACommand-Line ToolsThis Appendix contains references for the Oracle VM Server and Oracle VM Agent command-line tools. The comman
ovs-agentA-2 Oracle VM Server User’s Guideovs-agentThe ovs-agent command-line tool allows you to configure, and control Oracle VM Agent. Enter paramet
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 Guidevirt-install --mac=RANDOM[-bvalue | --bridge=value]Sets the bridge to connect guest NIC to. If none is gi
virt-installCommand-Line Tools A-5[--os-variant=variant]Sets the operating system variant for a fully virtualized guest, for example, fedora6, rhel5,
virt-installA-6 Oracle VM Server User’s Guide[-p | --paravirt]Sets the guest as being a paravirtualized guest.[-llocation | --location=location]Sets t
xmCommand-Line Tools A-7xmThe Oracle VM Server management command-line management tool xm, creates, destroys, manages and migrates guests.This section
vi
xmA-8 Oracle VM Server User’s Guidelist [--long | --label] [domain-id, ...]Displays information on all the running domains. The --long option displays
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 paused do
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 configurin
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}Sets the
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 Files C-1CGuest Configuration FilesThis Appendix gives you configuration files you can modify and use to create guests. A detaile
viiPrefaceThe preface contains information on how to use the Oracle VM Server User’s Guide. The areas discussed are: Audience Documentation Accessib
Configuration File Example 2C-2 Oracle VM Server User’s Guide# to create "pseudo cdrom device" on /dev/loop*:## mount ca-fileserver2:/vo
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 Manager communicates with Oracle VM Agent to perfor
Oracle VM Agent DeploymentOracle VM Agent Architecture D-3Virtual Machine Server(s) may consume a large proportion of resources, and dedicated compute
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 proble
Guest Console AccessTroubleshooting E-3enabled in the guest’s configuration file, vm.cfg. Some VNC parameters (for example, the listening address and
Cannot Display Graphical Installer When Creating GuestsE-4 Oracle VM Server User’s GuideThe following example as a VNC configuration entry in a hardwa
Mouse Pointer Tracking ProblemsTroubleshooting E-5E.6 Setting the Guest’s ClockParavirtualized guests may perform their own system clock management, f
viiiTTY Access to Oracle Support ServicesOracle provides dedicated Text Telephone (TTY) access to Oracle Support Services within the United States of
Hardware Virtualized Guest KilledE-6 Oracle VM Server User’s GuideRestart Oracle VM Server for the changes to take effect.E.9 Hardware Virtualized Gue
Attaching to a Console with the Grub Boot LoaderTroubleshooting E-7E.12 TAP Disks with Paravirtualized GuestsThis release of Oracle VM Server does not
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
Glossary-2Oracle VM AgentAn application installed with Oracle VM Server. It communicates with Oracle VM Manager for management of virtual machines. Or
Glossary-3Utility ServerA component of Oracle VM Agent. An application that handles I/O intensive operations for virtual machines, server pools and se
Glossary-4
Index-1IndexAAgentVM Server, D-1Anaconda installation tree, 4-6CClock, E-5Setting, E-5Command line tools, E-2Converting hardware virtualized guest to
Index-2Monitoring, 3-3Server Pool Master, D-1Starting and stopping, 3-3Virtual Machine Server, D-1Oracle VM Manager, 1-2, Glossary-2Oracle VM Server,
ixConventionsThe following text conventions are used in this document:Convention Meaningboldface Boldface type indicates graphical user interface elem
Komentarze do niniejszej Instrukcji