[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: Fwd: [Xen-users] Unable to create more than 1 VM
Hi, Thank you all for your help. Here is a very long email, with all the info I thought might be interesting. @Stephan: I use different lvms for each VM. @Felix, yes I am using a KimsufiXL server. @Jim: mac address in vif? I thought it was an IPv4 address I had to put. What should I put then? Any figures? Here are my config files: node01: -------------------------------------------------------------- # -*- mode: python; -*- kernel="/boot/domU_32/vmlinuz-2.6.21-xxxx-xenU-ipv4-32" memory = "256" maxmem = "512" name = "node01" vcpus=1 interface=eth0 dhcp="off" vif = [ 'ip=10.0.0.1' ] # replace with DomU's IP ip = "10.0.0.1" gateway= "10.0.0.128" # Dom0 netmask = "255.255.255.0" # example for LVM or partition disk = [ 'phy:/dev/mapper/xenvg-node01,/dev/hda1,w', 'phy:/dev/mapper/xenvg-node01--swap,hda2,w' ] # example for image file #disk = [ 'file:xen/xenvg-node0001.img,hda1,w', 'file:/xen/xenvg-node0001-swap.img,hda2,w' ] # This uses environment variables XAUTHORITY and DISPLAY. You # can override that: # vfb = [ 'type=sdl,xauthority=/home/bozo/.Xauthority,display=:1' ] # # To create one using the VNC backend and sensible defaults: vfb = [ 'type=vnc' ] # The backend listens on 127.0.0.1 port 5900+N by default, where N is # the domain ID. You can override both address and N: # # Or you can bind the first unused port above 5900: # vfb = [ 'type=vnc,vnclisten=0.0.0.0,vnunused=1' ] # You can override the password: # vfb = [ 'type=vnc,vncpasswd=MYPASSWD' ] # Set the hostname. #hostname= "node%d" % vmid # Set root device. root = "/dev/hda1" # Sets runlevel 2. #extra = "2" extra='console=xvc0 xencons=xvc0' #sdl=0 #vnc=0 nographics=0 -------------------------------------------------------------- node02: -------------------------------------------------------------- # -*- mode: python; -*- kernel="/boot/domU_64/vmlinuz-2.6.21-xxxx-xenU-ipv4-64" memory = "256" maxmem = "512" name = "node02" vcpus=1 #interface=eth0 dhcp="off" vif = [ 'ip=10.0.0.2' ] # replace with DomU's IP ip = "10.0.0.2" gateway= "10.0.0.128" # Dom0 netmask = "255.255.255.0" # example for LVM or partition disk = [ 'phy:/dev/mapper/xenvg-node02,/dev/hda1,w', 'phy:/dev/mapper/xenvg-node02--swap,hda2,w' ] # example for image file #disk = [ 'file:xen/xenvg-node0001.img,hda1,w', 'file:/xen/xenvg-node0001-swap.img,hda2,w' ] # This uses environment variables XAUTHORITY and DISPLAY. You # can override that: # vfb = [ 'type=sdl,xauthority=/home/bozo/.Xauthority,display=:1' ] # # To create one using the VNC backend and sensible defaults: vfb = [ 'type=vnc' ] # The backend listens on 127.0.0.1 port 5900+N by default, where N is # the domain ID. You can override both address and N: # # Or you can bind the first unused port above 5900: # vfb = [ 'type=vnc,vnclisten=0.0.0.0,vnunused=1' ] # You can override the password: # vfb = [ 'type=vnc,vncpasswd=MYPASSWD' ] # Set the hostname. #hostname= "node%d" % vmid # Set root device. root = "/dev/hda1" # Sets runlevel 2. #extra = "2" extra='console=xvc0 xencons=xvc0' #sdl=0 #vnc=0 nographics=0 -------------------------------------------------------------- In node02 configuration file, if I specify interface=eth0, I get the following error message: "Error: name 'eth0' is not defined". Also for node02 I have tested with a 32bits Debian release and I had the same problem. Now here is the log file of a working VM: -------------------------------------------------------------- Watching /local/domain/0/device-model/56/logdirty/next-active Watching /local/domain/0/device-model/56/command shift keysym 003e keycode 86 [...] shift keysym 003f keycode 53 xs_read(): vncpasswd get error. /vm/55ba1747-eb73-8321-da9c-44db8f906295-1/vncpasswd. char device redirected to /dev/pts/1 Console: prepared domain, waiting for ringref at /local/domain/56/console or /local/domain/56/serial/0 FB: Waiting for KBD backend creation Doing backend watch on /local/domain/0/backend/vkbd/56/0 FB: Waiting for FB backend creation Doing backend watch on /local/domain/0/backend/vfb/56/0 Console: got watch Console: got ring-ref 149301 port 2 Console: connected to guest frontend FB: Waiting for KBD frontend initialization Doing frontend watch on /local/domain/56/device/vkbd/0 FB: Carry on waiting -------------------------------------------------------------- And the log file of a VM that doesn't start and uses 100% cpu in xentop: -------------------------------------------------------------- Watching /local/domain/0/device-model/57/logdirty/next-active Watching /local/domain/0/device-model/57/command shift keysym 003e keycode 86 [...] shift keysym 003f keycode 53 xs_read(): vncpasswd get error. /vm/a318301b-7221-8082-f302-4f2e4bec156b/vncpasswd. bind() failed -------------------------------------------------------------- And here is the ifconfig output on Dom0: (I have removed some data that didn't seem relevant) -------------------------------------------------------------- # ifconfig eth0 Link encap:Ethernet HWaddr 00:1B:FC:19:19:36 inet addr:91.121.77.156 Bcast:91.121.77.255 Mask:255.255.255.0 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 peth0 Link encap:Ethernet HWaddr 00:1B:FC:19:19:36 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 vif56.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF inet addr:10.0.0.128 Bcast:0.0.0.0 Mask:255.255.255.255 vif57.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF inet addr:10.0.0.129 Bcast:0.0.0.0 Mask:255.255.255.255 -------------------------------------------------------------- I have noticed that when only 1 VM is running I only have 1 vifxx.0 When I start a second VM (although it hangs) I see a second vif that appears, is that normal? _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |