gentoouser
2007-Jun-11 11:43 UTC
[Xen-users] Setup Debian etch on Debian etch using hvmloader
Hello, I want to set up a xen-system on Debian etch (using default Debian packages) with Intel Xeons 5160 that offer the Vanderpool technology. The first guest will also be Debian etch and I want to make use of the full virtualization capabilities of the cpu. Reading the manuals I am getting a bit confused on how to set this up right. The user manual suggests to use "vmxloader" which is not installed on my system (instead there is "hvmloader"). Is this the same stuff or do I have to use something else? In a paravirtualized environment the kernel for guests lies on the dom0 filesystem (e.g. /boot) and is listed in the configuration for the guest. But for my setup I will need a proper kernel installation inside the guest, am I right? I find a lot of documentation about setups using debootstrap but I wonder whether I could use a CD-image of the official etch-installer and let the system?s first start be from this one in order to simplify the setup. If so, would I need anything like vnc for this (the server is in a remote data center, so I don?t have direct access to it). That is a lot of questions. Thanks a lot in advance... My setup so far: The server has 2 Xeon 5160, 16 GB Ram. The dom0 should use 2 GB Ram for itself, the rest goes to the guests. Xen Debian etch packages (up to date): # I want to use LVS later ii linux-headers-2.6.18-4-xen-vserver-amd64 ii linux-image-2.6.18-4-xen-vserver-amd64 ii linux-modules-2.6.18-4-xen-vserver-amd64 ii xen-hypervisor-3.0.3-1-amd64 ii xen-ioemu-3.0.3-1 ii xen-linux-system-2.6.18-4-xen-vserver-amd64 2.6.18.dfsg.1-12etch2 ii xen-tools ii xen-utils-3.0.3-1 ii xen-utils-common Configuration for Xen: (network-script network-bridge) (vif-script vif-bridge) (dom0-min-mem 2048) (dom0-cpus 0) Configuration for grub: title Xen 3.0.3-1-amd64 / Debian GNU/Linux, kernel 2.6.18-4-xen-vserver-amd64 root (hd0,0) kernel /xen-3.0.3-1-amd64.gz dom0_mem=2G module /vmlinuz-2.6.18-4-xen-vserver-amd64 root=/dev/sda2 ro console=tty0 module /initrd.img-2.6.18-4-xen-vserver-amd64 Configuration for guest: # based on the hints from /usr/share/doc/xen-utils-common/examples/xmexample.hvm kernel = "hvmloader" builder=''hvm'' memory = 2048 shadow_memory = 12 name = "test1" vcpus=2 acpi=1 apic=1 cpus = "" vif = [ ''type=ioemu, bridge=xenbr0'' ] disk = [ ''phy:VolGroup00/lvo10,ioemu:sda1,w'', ''phy:VolGroup00/lvo11,ioemu:sda2,w'' ] # one is for / the second is swap on_poweroff = ''destroy'' on_reboot = ''restart'' on_crash = ''restart'' device_model = ''qemu-dm'' sdl=0 vnc=0 stdvga=0 serial=''pty'' localtime=0 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users