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

Re: [Xen-users] Cloning VM from Xen



Hey Emerson and all,
same problem on boot.
If i start Yast i only find the old network device in the list with old
mac-adress, which i changed in the config. And the network device isn't
available.
If i change the network device on the config to br0, i get the follow
error to start the vm with xm create
Error: Device 1 (vif) could not be connected. Could not find bridge
device br0

But on a other vm the device br0 run.

If i change it to bridge=eth0,model=rtl8139 it starts, but i find only a
loop-back device on ifconfig and in Yast i find only the old network
device with old ip-adess and mac-adress.
I get this errors on boot.

--------

modprobe: FATAL: Could not load
/lib/modules/2.6.27.45-0.1-xen/modules.dep: No such file or directory

modprobe: FATAL: Could not load
/lib/modules/2.6.27.45-0.1-xen/modules.dep: No such file or directory

Setting up the hardware clockCannot access the Hardware Clock via any
known method.
Use the --debug option to see the details of our search for an access
method.
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access
method.
                                                                     failed


Setting up loopback interface Interface is not available
                                                                     failed


getcfg[899]: segfault at 38 ip 00007fa879d90930 sp 00007fff16e9ae88
error 4 in libsysfs.so.1.0.3[7fa879d87000+c000]
getcfg[907]: segfault at 38 ip 00007f60ff13f930 sp 00007fff057f2b38
error 4 in libsysfs.so.1.0.3[7f60ff136000+c000]
getcfg[916]: segfault at 38 ip 00007fb4dbf2a930 sp 00007ffff8243bd8
error 4 in libsysfs.so.1.0.3[7fb4dbf21000+c000]
Setting up network interfaces:
Interface is not available                                           failed
Interface is not available                                           failed
Waiting for mandatory devices:  eth-id-00:16:3e:00:00:12 __NSC__
20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
    eth-id-00:16:3e:00:00:12            No interface found           failed
Setting up service network  .  .  .  .  .  .  .  .  .  .  .  .  .  . failed


Checking/updating CPU microcode FATAL: Could not load
/lib/modules/2.6.27.45-0.1-xen/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/2.6.27.45-0.1-xen/modules.dep: No
such file or directory
                                                                     failed

Try to get initial date and time via NTP from ntps1.gwdg.de
ntps2.gwdg.de ntps3.gwdg.deError : Temporary failure in name resolution
Error : Temporary failure in name resolution
Error : Temporary failure in name resolution
                                                                     failed
Starting network time protocol daemon (NTPD)                         failed

Failed services in runlevel 3:                     network microcode ntp
Skipped services in runlevel 3:       acpid irq_balancer xend xendomains
-------

Best regards
Benjamin

Am 19.08.2010 14:27, schrieb Ribeiro Emerson Gomes:
> Hey Benjamin,
>
> Just modify the cloned VM conf file so it will use the new network
> schema.
> Something like "vif = [ "bridge=br0" ]
>
> You can rename the name of the bridge, but don't go there... 
>
> Emerson
>
> -----Original Message-----
> From: Benjamin Knoth [mailto:knoth@xxxxxxxxxxx] 
> Sent: Thursday, August 19, 2010 6:40 AM
> To: Ribeiro Emerson Gomes
> Subject: Re: [Xen-users] Cloning VM from Xen
>
> Hi Emerson and all,
> i test it again with rsync and dd but on both solutions i got some
> errors on boot of my vm.
> I modified the config succesfully and edit /etc/fstab and /etc/hosts
> I can log in in the vm and can start Yast.
> But on boot sles write that he can't find the network device and if i
> log in i didn't find a network device on ifconfig.
> The Hostname of the VM isn't the new name which i changed in the config,
> it's the old hostname.
>
> How can i cycle the problem?
>
> I saw that all vm's on SLES 10 has a bridge (xenbr0) and on SLES 11
> (br0).
> Can i easy rename the bridge on the config or does it need a
> modification of Dom-0? Or does it need also a modification in a file in
> the new vm?
>
> Best regards
>
> Benjamin Knoth
>
> Am 18.08.2010 19:31, schrieb Ribeiro Emerson Gomes:
>   
>> Log on to source server and fire a:
>> dd if=/dev/[vg name]/[lv name] | ssh user@DestinationServer dd
>> of=/dev/[vg name]/[lv name]
>>
>> Emerson
>>
>> -----Original Message-----
>> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
>> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Benjamin
>> Knoth
>> Sent: Wednesday, August 18, 2010 12:31 PM
>> To: xen-users@xxxxxxxxxxxxxxxxxxx
>> Subject: [Xen-users] Cloning VM from Xen
>>
>> Hi all,
>> i created some virtual machines on SLES 10 with Xen.
>> Now i would like to use Xen on SLES 11.
>> My harddisks from all vm are lvm.
>> Is it possible to clone my existing vm to my new server which runs
>>     
> with
>   
>> SLES 11?
>> If it's possible how do i do that?
>>
>> best regards
>>
>> Benjamin Knoth
>>
>>   
>>     
>   

-- 
Benjamin Knoth
Max Planck Digital Library (MPDL)
Systemadministration
Amalienstrasse 33
80799 Munich, Germany
http://www.mpdl.mpg.de

Mail: knoth@xxxxxxxxxxx
Phone:  +49 89 38602 202
Fax:    +49-89-38602-280


_______________________________________________
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®.