Oracle Audio Technologies E10898-02 manual Domain Monitoring and Administration, Domain Lifecycle

Page 41

5

Domain Monitoring and Administration

This Chapter contains information on the Oracle VM Server domain lifecycle, monitoring and administration. It contains:

You can use Oracle VM Manager to monitor domains running on Oracle VM Server, or you can use the xm command. See the Oracle VM Manager User’s Guide for information on using Oracle VM Manager to manage domains.

5.1 Domain Lifecycle

There are a number of states in which a domain may exist. They are:

Starting (initializing)

Running

Paused

Suspended

Stopping (shutting down)

Powered off (stopped)

A start operation can take the domain from the stopped (powered down) state to the paused state, or the running state. From the running state, a suspend action takes the domain to the suspended state, and a resume operation takes it back to the running state. The transition to and from the suspended state could also happen from the paused state.

A domain in the running state could go to the paused state through the pause command, and return to the running state by the resume command. A domain in the running state could transition into the stopped state through a clean, or hard shut down.

5.2 Using the xm Command-Line Interface

You can create, destroy, manage and migrate domains using the xm command-line interface. You can enter parameters to the xm command-line tool in the format:

xm [option] [argument]

For example, to pause a domain, enter

xm pause mydomain

Domain Monitoring and Administration 5-1

Image 41
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 Domains Management DomainHardware Virtualization Vs. Paravirtualization Creating Virtual MachinesManaging 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 AgentStopping Oracle VM Agent Starting Oracle VM AgentMonitoring Oracle VM Agent Deploying Oracle VM AgentRemotely Starting a Guest with the Oracle VM Agent API Testing the Oracle VM Agent ConnectionRemotely Stopping a Guest with the Oracle VM Agent API Oracle VM Agent UtilitiesMonitoring a Guest with the Oracle VM Agent Deleting 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 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 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 Managing Oracle VM Server Repositories Repository Configuration FileOracle VM Server Repositories Repository Mount OptionsOracle VM Server Repositories Adding a RepositoryRemoving a Repository Command-Line Tools Start ConfigureStop RestartNname --name=name HelpRRAM --ram=RAM UUUID --uuid=UUIDVnc Bvalue --bridge=valueVncport=port SdlArch=arch Os-variant=variantNoapic Llocation --location=location ParavirtVif-type=type Xargs --extra-args=argsDestroy domain-id Console domain-idDmesg --clear Help --long optionList --long --label domain-id =file --defconfig=fileLog Migrate domain-id host -l --live -r=MB --resource=MBShutdown -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-server yes no Xend-http-server yes noXend-tcp-xmlrpc-server yes no Xend-unix-xmlrpc-server yes noXend-relocation-port port Xend-port portXend-address IPAddress Xend-relocation-address IPAddressDom0-min-mem memory Enable-dump yes noDom0-cpus CPUs External-migration-tool tool6Oracle 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 Guest Console Access Using DhcpOracle VM Server Command-Line Tools Using DhcpGuest Console Access Hardware Virtualized Guest Console Not Displayed Cannot Display Graphical Installer When Creating GuestsCannot Display Graphical Installer When Creating Guests Wallclock Time Skew Problems Setting the Guest’s ClockMouse Pointer Tracking Problems Mouse Pointer Tracking ProblemsHardware Virtualized Guest Killed Hardware Virtualized Guest Windows InstallationHardware Virtualized Guest Devices Not Working as Expected Hardware Virtualized Guest KilledAttaching to a Console with the Grub Boot Loader Firewall Blocks NFS AccessTAP Disks with Paravirtualized Guests CD-ROM Image Not Found8Oracle VM Server User’s Guide Glossary Oracle VM Server Oracle VM AgentOracle VM Manager Paravirtualized machineVif Utility ServerVirtual disk Virtual Machine VMGlossary-4 Index-1 IndexIndex-2