Oracle Audio Technologies E10898-02 manual Starting Oracle VM Agent, Stopping Oracle VM Agent

Page 21

Oracle VM Agent API

3.3 Starting Oracle VM Agent

Oracle VM Agent is started automatically when the computer starts. To manually start Oracle VM Agent, enter

service ovs-agent start

Oracle VM Agent is started.

Alternatively, if Oracle VM Agent is already running, you can stop and restart it with the command

service ovs-agent restart

Oracle VM Agent is stopped, and restarted.

3.4 Stopping Oracle VM Agent

To stop Oracle VM Agent, enter

service ovs-agent stop

Oracle VM Agent is stopped.

Note: When Oracle VM Agent is stopped, Oracle VM Manager cannot manage Oracle VM Server or the guests running on it.

3.5 Monitoring Oracle VM Agent

To get information on the Oracle VM Agent daemon, enter

service ovs-agent status

Information on the Oracle VM Agent daemon is displayed.

3.6 Deploying Oracle VM Agent

You can use Oracle VM Manager to configure the deployment of Oracle VM Agent. See the Oracle VM Manager User’s Guide for information on configuring Oracle VM Agent with Oracle VM Manager.

3.7 Oracle VM Agent API

An application programming interface (API) is available for Oracle VM Agent. You can use the Oracle VM Agent API to perform a number of actions on guests and on the Oracle VM Server. The Oracle VM Agent API uses the XML-RPC protocol. To see a list of the XML-RPC functions available, enter the following URL in a web browser:

https://hostname:8899/

The hostname refers to an Oracle VM Server. A list of methods and parameters are displayed.

See the XML-RPC protocol specification for more information on how to use

XML-RPC.

The following sections give examples of common Oracle VM Agent API functions. The examples are not extensive, but serve to give you an idea of how to use the API.

Oracle VM Agent 3-3

Image 21
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 What is Virtualization? Why Virtualize?Introduction to Virtualization Xen Technology Oracle VMXen Technology Oracle VM Architecture shows the components of Oracle VM Oracle VM4Oracle VM Server User’s Guide Oracle VM Server Oracle VM ServerHypervisor Domains, Guests and Virtual MachinesHypervisor Domains Management DomainHardware Virtualization Vs. Paravirtualization Creating Virtual Machines Configuring Oracle VM Server Configuring Oracle VM Server Managing Oracle VM Server Repositories Oracle VM Agent Command-Line Tool Configuring Oracle VM AgentOracle 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 the Root File SystemCreating a Paravirtualized Guest Manually 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 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 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 OptionsAdding a Repository Removing a RepositoryOracle VM Server Repositories Command-Line Tools Start ConfigureStop RestartNname --name=name HelpRRAM --ram=RAM UUUID --uuid=UUIDVnc Bvalue --bridge=valueVncport=port SdlOs-variant=variant NoapicArch=arch 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 Oracle VM Server Configuration File Loglevel Critical or Fatal Error Warn or Warning Info DebugLogfile location 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 Troubleshooting Debugging ToolsOracle VM Server Directories Guest Console Access Using DhcpOracle 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 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