[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Cloning VM from Xen



On Fri, Aug 20, 2010 at 3:33 PM, Benjamin Knoth <knoth@xxxxxxxxxxx> wrote:
> If i start brctl show i get on both server this with other interface
> numbers.
>
> bridge name    bridge id        STP enabled    interfaces
> eth0        8000.001d096deb32    no        peth0
>                                                                 vif56.0
>                                                                 vif8.0
>                                                                 vif4.0

So your dom0 bridge name is eth0. Remember that.

> VM on SLES 11
>
>
> xm_vars.check()
>
>
> #kernel = "/boot/vmlinuz-xen"
> kernel = "/boot/vmlinuz-2.6.16.60-0.34-xen"
> ramdisk = "/boot/initrd-2.6.16.60-0.34-xen"
> #ramdisk = "/boot/initrd-xen"

You need to copy original vmlinuz-xen and initrd-xen from old server,
and use that.
Do you still have module loading issue with kernel and initrd from the
old server?

> vif = [ 'mac=00:16:3e:00:00:d5, bridge=br0', ]

change the bridge to eth0. That's what "brctl show" says.

> netmask="255.255.255.0"
> # Set default gateway.
> gateway="134.76.28.254"
> hostname="vm35"

irrelevant, as domU sets its own hostname and networking parameters.
Might as well delete those lines.

-- 
Fajar

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.