This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


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-"
> ramdisk = "/boot/initrd-"
> #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=""
> # Set default gateway.
> gateway=""
> hostname="vm35"

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


Xen-users mailing list