zHihaO
2006-Apr-19 07:51 UTC
[Xen-users] migrating domU from one dom0 to another dom0 error
Hi all, I tried to migrate a domain from 1 server to the other one. This is what I did... clever2:/var/log# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 512 4 r----- 95.7 clever2vm01 3 128 1 -b---- 10.1 clever2:/var/log# xm migrate clever2vm01 10.0.0.36 Error: Received invalid response from Xend, twice. clever2:/var/log# clever2:/var/log# xm migrate 3 10.0.0.36 Error: Received invalid response from Xend, twice. clever2:/var/log# I got the invalid response message. Can anyone point me in a right direction to make things work? Heres my machine config : debian sarge xen 3.01, 2.6.12.6-xen0 Running LVMs on top of raid 1 for my xen domains. Can anyone point me in the right direction please? Here are the logs from my xend-dedug.log... error: (104, ''Connection reset by peer'') Exception in thread Thread-19:Traceback (most recent call last): File "/usr/lib/python2.3/threading.py", line 442, in __bootstrap self.run() File "/usr/lib/python2.3/threading.py", line 422, in run self.__target(*self.__args, **self.__kwargs) File "/usr/lib/python/xen/web/httpserver.py", line 61, in main self.call() File "/usr/lib/python/xen/web/httpserver.py", line 57, in call self.req.resultErr(ex) File "/usr/lib/python/xen/web/httpserver.py", line 53, in call self.fn(*self.args, **self.kwds) File "/usr/lib/python/xen/xend/server/SrvDomain.py", line 95, in do_migrate return fn(req.args, {''dom'': self.dom.domid}) File "/usr/lib/python/xen/xend/Args.py", line 166, in __call__ return self.call_with_form_args(self.fn, fargs, xargs=xargs) File "/usr/lib/python/xen/xend/Args.py", line 138, in call_with_form_args return fn(*params, **keys) File "/usr/lib/python/xen/xend/XendDomain.py", line 410, in domain_migrate sock.recv(80) error: (104, ''Connection reset by peer'') Best regards, Zhihao _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
visi
2006-Apr-19 09:20 UTC
Re: [Xen-users] migrating domU from one dom0 to another dom0 error
On Wednesday 19 April 2006 09:51, zHihaO wrote:> domain_migrateas far as I know u need the partition of domU connected to it via some kind of network protocol like nfs or nbd u can''t migrate a machine that has it''s partition in an lvm volume on the machine itself (at least not directly connected (u can always put nfs on domain0 and connect domU to nfs dom0)) maybe I misunderstood your problem bye Marco _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
zHihaO
2006-Apr-19 10:03 UTC
Re: [Xen-users] migrating domU from one dom0 to another dom0 error
Hi Marco, Thanks for the lead. Anyone else has got experiences in migrating domU from dom0 to dom0? thanks a million! -zhihao visi wrote:>On Wednesday 19 April 2006 09:51, zHihaO wrote: > > >> domain_migrate >> >> >as far as I know u need the partition of domU connected to it via some kind of >network protocol like nfs or nbd u can''t migrate a machine that has it''s >partition in an lvm volume on the machine itself (at least not directly >connected (u can always put nfs on domain0 and connect domU to nfs dom0)) >maybe I misunderstood your problem >bye > Marco > >_______________________________________________ >Xen-users mailing list >Xen-users@lists.xensource.com >http://lists.xensource.com/xen-users > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nate Carlson
2006-Apr-19 13:13 UTC
Re: [Xen-users] migrating domU from one dom0 to another dom0 error
On Wed, 19 Apr 2006, zHihaO wrote:> Thanks for the lead. Anyone else has got experiences in migrating domU > from dom0 to dom0?If you don''t have network storage of some kind, you will need to shut the domU down, migrate the domU''s disk image by hand (dd?), copy the config file over, and boot it up on the new dom0. ------------------------------------------------------------------------ | nate carlson | natecars@natecarlson.com | http://www.natecarlson.com | | depriving some poor village of its idiot since 1981 | ------------------------------------------------------------------------ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users