Hello, Does anyone have a config file that they wouldn''t mind sharing that works under 3.3 and wasn''t built by virt-manager? Jon _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
jonr@destar.net wrote:> Hello, > > Does anyone have a config file that they wouldn''t mind sharing that > works under 3.3 and wasn''t built by virt-manager? > > JonA sample of what I use for setup... kernel = "/boot/xen/vmlinuz-centos5-x86_64-xen-install" ramdisk = "/boot/xen/initrd-centos5-x86_64-xen-install" name = "MrBurns" memory = "384" disk = [ ''phy:/dev/Xen/MrBurns,xvda,w'', ''phy:/dev/Xen/MrBurns_swap,xvdb,w'', ] vif = [ ''bridge=eth1'', ] vcpus=1 on_reboot = ''destroy'' on_crash = ''destroy'' And what I use for running config... name = "MrBurns" memory = "384" disk = [ ''phy:/dev/Xen/MrBurns,xvda,w'', ''phy:/dev/Xen/MrBurns_swap,xvdb,w'', ''phy:/dev/Store/Digital,xvdc,w'', ] vif = [ ''mac=00:16:3E:70:79:A6, bridge=eth1'', ] bootloader="/usr/bin/pygrub" vcpus=1 on_reboot = ''restart'' on_crash = ''restart'' Hope this helps... And yes, I hate the sxp files generated by virt-manager. -- Ryan Duff web: http://www.ryanduff.net aim: ryancduff twitter: ryancduff _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, Feb 17, 2009 at 8:18 AM, <jonr@destar.net> wrote:> Does anyone have a config file that they wouldn''t mind sharing that works > under 3.3 and wasn''t built by virt-manager?Sure. Here''s for PV domU #======================================================memory = "500" maxmem = "8000" vcpus=8 vcpu_avail=1 cpus="1-7" disk = [ ''phy:/dev/rootVG/testrootlv,hda1,w'', ''phy:/dev/rootVG/testswaplv,hda2,w'', ] vif = [ ''mac=00:16:3E:XX:XX:XX, bridge=brXX'', ] vfb =[''type=vnc''] bootloader="/usr/bin/pygrub" #====================================================== vcpu_avail is new (at least it''s not available on Xen 3.1). Combining vcpus and vcpu_avail like that allows you to hotplug vcpu from 1 to 8 as needed. Memory and maxmem does the same thing for memory. I like to use hda1 and hda2 (since I also prepare its contents manually from a template), but if want to run Linux setup (e.g. from http-install) you probably want to set it as hda or xvda. And here''s for Windows HVM #======================================================memory = 500 vif = [ ''mac=00:16:3E:XX:XX:XX, bridge=brXX'' ] disk = [ ''phy:/dev/rootVG/hvmlv,hda,w'', ''file:/data/iso/w2k3/w2k3.iso,hdc:cdrom,r'', ] boot="cd" #boot="dc" device_model = ''/usr/lib64/xen/bin/qemu-dm'' kernel = "/usr/lib/xen/boot/hvmloader" builder=''hvm'' vnclisten="0.0.0.0" vncpasswd='''' localtime=1 usbdevice=''tablet'' acpi=1 apic=0 pae=0 vcpus=1 cpus="1-7" cpu_cap=50 cpu_weight=128 #====================================================== for cpu_cap and cpu_weight see http://wiki.xensource.com/xenwiki/CreditScheduler Regards, Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users