Oracle Audio Technologies E10898-02 manual Guest Configuration Files, Configuration File Example

Page 69

C

Guest Configuration Files

This Appendix gives you configuration files you can modify and use to create guests. A detailed explanation of the configuration parameters and common values is available in the /etc/xen/xmexample.hvm file in Oracle VM Server.

Create the guest configuration file as /etc/xen/domain.cfg and use the following command to create the guest:

xm create domain.cfg

This Appendix contains:

Configuration File Example 1

Configuration File Example 2

C.1 Configuration File Example 1

A simple example of a configuration file to create a guest follows:

disk = [ 'file:/mnt/el4u5_64_hvm//system.img,hda,w' ] memory=4096

vcpus=2 name="el4u5_64_hvm"

vif = [ ' ' ] #By default no n/w interfaces are configured. E.g: A default hvm install will have the line as vif=[ 'type=ioemu,bridge=xenbr0' ]

builder = "hvm"

device_model = "/usr/lib/xen/bin/qemu-dm"

vnc=1

vncunused=1

apic=1

acpi=1

pae=1

serial = "pty" # enable serial console

on_reboot

=

'restart'

on_crash

=

'restart'

C.2 Configuration File Example 2

A more complex example of a configuration file to create a guest follows:

#An example of setting up the install time loopback mount

#using nfs shared directory with iso images

Guest Configuration Files C-1

Image 69
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 MachinesConfiguring Oracle VM Server Configuring Oracle VM ServerManaging 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