Oracle Audio Technologies E10898-02 manual Configuration File Example

Page 70

Configuration File Example 2

#to create "pseudo cdrom device" on /dev/loop*:

#mount ca-fileserver2:/vol/export /srv/

#mount -o loop,ro /srv/osinstall/RedHat/FC6/F-6-x86_64-DVD.iso /mnt

#You can tell what loop device to use by looking at /etc/mtab after the mount

#The first set of disk parameters commented out below are

#"install time disk parameters" with the "pseudo" cdrom.

#Your new domU HVM install will see "/dev/sda" just like a usual hardware

#machine.

#disk = [ 'phy:/dev/vgxen/lvol0,hda,w', 'phy:/dev/loop0,hdc:cdrom,r' ]

#Example of after-setup "HVM up and running" disk parameters below;

#the last three devices were added later

#and last two are shared, writeable.

#Note, for HVM you must use "whole" device.

#Do not try to get domU to see a partition on a device...

#For example, in a HVM this will not work : 'phy:/dev/vgxen/tls4-swap,hdb1,w'

#Best that you fdisk any extra or added devices within one of your domUs

disk = [ 'phy:/dev/vgxen/lvol0,hda,w', 'phy:/dev/vgxen/tls4-swap,hdb,w', 'phy:/dev/vgxen/sharedvol1,hdc,w!', 'phy:/dev/vgxen/sharedvol2,hdd,w!' ]

#Result of this config file from within the new domU:

#[root@ca-DomU ~]# sfdisk -s

#/dev/sda: 10485760

#/dev/sdb: 8388608

#/dev/sdc: 104857600

#/dev/sdd: 104857600

#For vnc setup try:

vfb = [ "type=vnc,vncunused=1,vnclisten=0.0.0.0" ]

# Example with a passwd of "foo".

#vfb = [ "type=vnc,vncunused=1,vnclisten=0.0.0.0,vncpasswd=foo" ]

#Remember, this file is "per individual" domU

#during install you will need to change

#/etc/xen/xend-config.sxp

#(vnc-listen '127.0.0.1')

#to: (vnc-listen '0.0.0.0')

#

#then from any machine do:

#"vncviewer <your dom0 ip or hostname>"

#to see vnc console

C-2Oracle VM Server User’s Guide

Image 70
Contents E10898-02 FebruaryPage Contents Command-Line Tools Oracle VM Server Configuration File Page Accessibility of Code Examples in Documentation PrefaceCommand Syntax TTY Access to Oracle Support ServicesConventions Page Why Virtualize? What is Virtualization?Introduction to Virtualization Oracle VM Xen TechnologyXen Technology Oracle VM Oracle VM Architecture shows the components of Oracle VM4Oracle VM Server User’s Guide Oracle VM Server Oracle VM ServerDomains, Guests and Virtual Machines HypervisorHypervisor Hardware Virtualization Vs. Paravirtualization Management DomainDomains Creating Virtual MachinesConfiguring Oracle VM Server Configuring Oracle VM ServerManaging Oracle VM Server Repositories Configuring Oracle VM Agent Oracle VM Agent Command-Line ToolOracle VM Agent Configuring Oracle VM Agent XmlrpcMonitoring Oracle VM Agent Starting Oracle VM AgentStopping Oracle VM Agent Deploying Oracle VM AgentTesting the Oracle VM Agent Connection Remotely Starting a Guest with the Oracle VM Agent APIMonitoring a Guest with the Oracle VM Agent Oracle VM Agent UtilitiesRemotely Stopping a Guest with the Oracle VM Agent API Deleting a Guest with the Oracle VM Agent6Oracle VM Server User’s Guide Creating a Guest Supported Guest Operating SystemsSupported Guest Operating Systems -bit Hypervisor Supported Guest Operating SystemsMounting an ISO Creating a Guest Using a TemplateCreating a Guest Using a Template 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 the Root File System Creating a Paravirtualized Guest ManuallyCreating a Paravirtualized Guest Manually Configuring the Guest Populating the Root File SystemCreating 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 Using the xm Command-Line Interface Domain Monitoring and AdministrationDomain Lifecycle Monitoring Domains Using the xm Command-Line InterfaceViewing Host Information Using the xm Command-Line Interface 4Oracle VM Server User’s Guide Domain Live Migration Creating a Shared Virtual Disk Using OCFS2 on iSCSICreating a Shared Virtual Disk for Live Migration Creating a Shared Virtual Disk for Live Migration Delete entries that you do not want to use, for exampleCreating 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 Oracle VM Server Repositories Repository Configuration FileManaging Oracle VM Server Repositories Repository Mount OptionsRemoving a Repository Adding a RepositoryOracle VM Server Repositories Command-Line Tools Stop ConfigureStart RestartRRAM --ram=RAM HelpNname --name=name UUUID --uuid=UUIDVncport=port Bvalue --bridge=valueVnc SdlNoapic Os-variant=variantArch=arch Vif-type=type ParavirtLlocation --location=location Xargs --extra-args=argsDmesg --clear Console domain-idDestroy domain-id Help --long optionLog =file --defconfig=fileList --long --label domain-id Migrate domain-id host -l --live -r=MB --resource=MBRestore statefile Shutdown -a -w domain-idTop Unpause domain-idOracle VM Server Configuration File Loglevel Critical or Fatal Error Warn or Warning Info Debug Oracle VM Server Configuration FileLogfile location Xend-tcp-xmlrpc-server yes no Xend-http-server yes noXend-unix-server yes no Xend-unix-xmlrpc-server yes noXend-address IPAddress Xend-port portXend-relocation-port port Xend-relocation-address IPAddress Dom0-cpus CPUs Enable-dump yes no Dom0-min-mem memory External-migration-tool tool6Oracle VM Server User’s Guide Guest Configuration Files Configuration File ExampleConfiguration 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 Debugging Tools TroubleshootingOracle VM Server Directories Oracle VM Server Command-Line Tools Using DhcpGuest Console Access Using DhcpGuest Console Access Cannot Display Graphical Installer When Creating Guests Cannot Display Graphical Installer When Creating GuestsHardware Virtualized Guest Console Not Displayed Mouse Pointer Tracking Problems Setting the Guest’s ClockWallclock Time Skew Problems Mouse Pointer Tracking ProblemsHardware Virtualized Guest Devices Not Working as Expected Hardware Virtualized Guest Windows InstallationHardware Virtualized Guest Killed Hardware Virtualized Guest KilledTAP Disks with Paravirtualized Guests Firewall Blocks NFS AccessAttaching to a Console with the Grub Boot Loader CD-ROM Image Not Found8Oracle VM Server User’s Guide Glossary Oracle VM Manager Oracle VM AgentOracle VM Server Paravirtualized machineVirtual disk Utility ServerVif Virtual Machine VMGlossary-4 Index Index-1Index-2