I haven't had to set up a Xen virtualized server in a few years. The last time I was using Fedora Core 5. I've switched primarily to openSUSE, and I'm amazed at how difficult of a time I'm having getting this going.
For some background, this is a Phenom 9500 with 4GB of RAM, 80GB HDD. Virtualization extensions have been enabled as well as the TLB errata patch.
Last night I set up a fresh install of openSUSE 11.1 64-bit (using the LiveCD). I then switched from NetworkManager to traditional ifup/ifdown in Yast for Network Control (I read somewhere that NetworkManager causes problems with Xen networking).
I went back into Yast and installed the hypervisor and tools. I rebooted into the Xen kernel, and downloaded the openSUSE 64 bit DVD. I created a new virtual machine (1 vCPU, 1GB RAM, 15GB HDD, paravirtualized) and installed openSUSE 11.1.
When the installation tried to connect to check for updates, it couldn't establish a connection. I'm not sure why this isn't working, it should be an out-of-the-box thing, right?
I read a post somewhere saying to specify the IP in the Xen machine config, but that hasn't helped either. Here are some outputs that should hopefully help:
I've tried adding eth0 to the bridge pan0, no luck. The DomU is set up for DHCP right now. I've tried setting it to the static IP 192.168.1.99, no luck.
Dom0 route:
Dom0 ifconfig:Code:Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 * 255.255.255.0 U 0 0 0 eth0 link-local * 255.255.0.0 U 0 0 0 eth0 loopback * 255.0.0.0 U 0 0 0 lo default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
Dom0 brctl showCode:eth0 Link encap:Ethernet HWaddr 00:1F:D0:50:20:D9 inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::21f:d0ff:fe50:20d9/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2458 errors:0 dropped:0 overruns:0 frame:0 TX packets:1595 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:3011286 (2.8 Mb) TX bytes:182115 (177.8 Kb) Interrupt:252 Base address:0x4000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:2508 errors:0 dropped:0 overruns:0 frame:0 TX packets:2508 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1544751 (1.4 Mb) TX bytes:1544751 (1.4 Mb) vif1.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:69 errors:0 dropped:0 overruns:0 frame:0 TX packets:2 errors:0 dropped:4 overruns:0 carrier:0 collisions:0 txqueuelen:32 RX bytes:20816 (20.3 Kb) TX bytes:140 (140.0 b)
DOM0 Xen VM config:Code:bridge name bridge id STP enabled interfaces pan0 8000.feffffffffff no vif1.0
I have to have 3 of these VMs set up on this machine by tomorrow, any help anyone could provide would be greatly appreciated.Code:name="build1" uuid="a4ee0967-a178-9bfa-985d-b7efc97d1c4b" memory=512 maxmem=1024 vcpus=1 on_poweroff="destroy" on_reboot="restart" on_crash="destroy" localtime=0 keymap="en-us" builder="linux" bootloader="/usr/lib/xen/boot/domUloader.py" bootargs="--entry=xvda2:/boot/vmlinuz-xen,/boot/initrd-xen" extra=" " disk=[ 'file:/var/lib/xen/images/build1/disk0,xvda,w', 'file:/home/ghoerner/Desktop/openSUSE-11.1-DVD-x86_64.iso,xvdb:cdrom,r', ] vif=[ 'ip=192.168.1.99,mac=00:16:3e:50:0f:b7,bridge=pan0', ] vfb=['type=vnc,vncunused=1']


Reply With Quote

Bookmarks