Instalacion y configuracion de xen

Solo disponible en BuenasTareas
  • Páginas : 11 (2590 palabras )
  • Descarga(s) : 0
  • Publicado : 9 de marzo de 2012
Leer documento completo
Vista previa del texto
Xen Configuration File Options
Version: 1.0 Author: Stephen Spector (stephen.spector@xen.org) + Community Support on xen-users mailing list Date: June 16, 2009 UPDATES All community members are invited to update this document. Please send updates to stephen.spector@xen.org. SUMMARY This file contains a complete summary of all the configuration options available in open source Xen. I am usingthe Xen 3.4 source tree so some of these options may not be available in previous versions. The complete list of options is viewable in the python source file create.py in xen/tools/python/xen/xm/. The file contains two types of configuration settings: options and variables. The options are listed below with a ** before them and variables are listed below in bold/italics. STANDARD CONFIGURATIONS Toassist the reader of the document, here are some sample configurations that are commonly used. A complete list of examples can be found at /xen-3.4.0/tools/examples. Example 1 (Comments in Italics) (from http://www.linuxdevcenter.com/pub/a/linux/2006/01/26/xen.html) Kernel image file
kernel = "/boot/vmlinuz-2.6.11-1.1366_FC4xenU" Initial memory allocation (MB) for new domain memory = 128 Nameof domain (must be unique) name = "dokeos.x-tend.be" Additional configuration settings extra = "selinux=0 3" Network Interfaces vif = ['ip = "10.0.11.13", bridge=xen-br0'] Disk devices domain has access to disk = ['phy:vm_volumes/root.dokeos,sda1,w' ,'phy:vm_volumes/var.dokeos,sda3,w'

,'phy:vm_volumes/www.dokeos,sda4,w' ,'phy:vm_volumes/swap.dokeos,sda2,w' ] Set root device root = "/dev/sda1ro"

Example 2 (Comments in Italics) (Source xmexample1 from Xen source code) Kernel image file
kernel = "/boot/vmlinuz-2.6.10-xenU" Optional ramdisk ramdisk = “/boot/initrd.gz” Domain build function; default is 'linux' builder = 'linux' Initial memory allocation (MB) for new domain memory = 64 Name of domain (must be unique) name = "ExampleDomain" 128-bit UUID for the domain uuid =“06ed00fe-1162-4fc4-b5d8-11993ee4a8b9” List of which CPUs this domain is allowed to use; VCPU0 runs on CPU2 & VCPU1 runs on CPU3 cpus = [“2”, “3”] Number of virtual CPUs to use (default is 1) vcpus = 2 Network interface created with defaults vif = [ '' ] Frame buffer device; default is no frame buffer; example below creates one using the SDL backend vfb = [ 'sdl=1' ] TPM instance the user domain shouldcommunicate vtpm = [ 'instance=1,backend=0' ] Root device for NFS root = “/dev/nfs” NFS server nfs_server = '192.0.2.1' Root directory on NFS server nfs_root = '/full/path/to/root/directory' Sets runlevel 4 extra = “4” Domain exit behavior settings

on_poweroff = 'destroy' on_reboot = 'restart' on_crash = 'restart' Configure PVSCSI devices vscsi = [ '/dev/sdx, 0:0:0:0' ]

OPTIONS Help • ** help:Print this help. help or h (default = 0) ** help_config: Print the available configuration variables (vars) for the "configuration script help_config (default = 0)

• Misc •

** quiet:Quiet. quiet or q (default =0) ** path: Search path for configuration scripts path (default='.:/etc/xen') ** defconfig: Use the given Python configuration script defconfig or f (default='xmdefconfig') ** config:Domain configuration to use (SXP) config or F (default=None) ** dryrun: Dry run – prints the configuration in SXP but does not create the domain dryrun or n (defaut = 0) ** xmldryrun: Dry run – prints the configuration in XML but does not create the domain xmldryrun or x (defaut = 0) ** skipdtd: Skip DTD checking - skips checks on XML before creating. skipdtd or s (default = 0) ** paused: Leavethe domain paused after it is created paused or p (default=0) ** vncviewer: Connect to the VNC display after the domain is created vncviewer (default = 0) ** vncviewer-autopass: Pass VNC password to viewer via stdin and -autopass vncviewer-autopass (default = 0)





















** console_autoconnect:Connect to the console after the domain is created....
tracking img