before trying to flush all rules on the fedora machine (I shoul ask
permission to do so), I wanna try to migrate from that machine to my
debian machine (over which I have full control and no iptables rule).
Actually process migration seems to start, even if it doesn't go on...
I found an error saving the VM:
[root@localhost fedora6]# xm migrate 13
143.225.229.137
Error: /usr/lib/xen/bin/xc_save 18 13 0 0 0 failed
Usage: xm migrate <Domain> <Host>
that's the xend.log:
[2007-07-18 08:
59:38 xend 3634] DEBUG (XendCheckpoint:83) [xc_save]:
/usr/lib/xen/bin/xc_save 18 13 0 0 0[2007-07-18 08:59:39 xend 3634]
DEBUG (XendCheckpoint:209) suspend
[2007-07-18 08:59:39 xend 3634]
DEBUG (XendCheckpoint:86) In saveInputHandler suspend[2007-07-18 08:59:
39 xend 3634] DEBUG (XendCheckpoint:88) Suspending 13 ...
[2007-07-18
08:59:39 xend.XendDomainInfo 3634] DEBUG (XendDomainInfo:933)
XendDomainInfo.handleShutdownWatch
[2007-07-18 08:59:39 xend.
XendDomainInfo 3634] DEBUG (XendDomainInfo:933) XendDomainInfo.
handleShutdownWatch
[2007-07-18 08:59:39 xend.XendDomainInfo 3634] INFO
(XendDomainInfo:892) Domain has shutdown: name=migrating-fedora6 id=13
reason=suspend.
[2007-07-18 08:59:39 xend 3634] INFO (XendCheckpoint:
93) Domain 13 suspended.
[2007-07-18 08:59:39 xend 3634] DEBUG
(XendCheckpoint:98) Written done
[2007-07-18 08:59:39 xend 3634] ERROR
(XendCheckpoint:236) Had 0 unexplained entries in p2m table
[2007-07-18
08:59:39 xend 3634] ERROR (XendCheckpoint:236) Saving memory pages:
iter 1 0%Error when writing to state file (2): 32
[2007-07-18 08:59:
39 xend 3634] ERROR (XendCheckpoint:236) Save exit rc=1
[2007-07-18 08:
59:39 xend 3634] ERROR (XendCheckpoint:106) Save failed on domain
fedora6 (13).
Traceback (most recent call last):
File
"/usr/lib/python2.4/site-packages/xen/xend/XendCheckpoint.py", line
100, in save
forkHelper(cmd, fd, saveInputHandler, False)
File
"/usr/lib/python2.4/site-packages/xen/xend/XendCheckpoint.py", line
227, in forkHelper
raise XendError("%s failed" % string.join(cmd))
XendError: /usr/lib/xen/bin/xc_save 18 13 0 0 0 failed
One thing is a
bit strange...if I try to explicitly save the VM state by "xm save", it
works fine;I'm also able to restore VM execution.
I dont'know what to
think at...
thanks
----Messaggio originale----
Da:
mail4dla@xxxxxxxxxxxxxx
Data: 16-lug-2007 6.05 PM
A: "andrea15@xxxxxx"
<andrea15@xxxxxx>
Cc: <xen-users@xxxxxxxxxxxxxxxxxxx>
Ogg: Re: R:Re:
[Xen-users] Can't migrate domains
Yes, i'd guess so. Try iptables -
F on the target machine.
Even if you use block devices, the transfer
itself should work, but expect
the migrated domain to hang.
On
7/16/07, andrea15@xxxxxx <andrea15@xxxxxx> wrote:
>
> my source machine
is a debian I've recently installed, so all present
> rules were set by
me.
> but my target machine is a fedora5 I'm using only
> to test
migration. Since fedora was already installed for other
> purposes,
there are some rules in iptables....
> the only line with
> target
"REJECT" is:
>
> target prot opt in out
>
source destination
> REJECT all -- any any
>
anywhere anywhere reject-with icmp-host-
>
prohibited
>
> it's set either in the INPUT chain and the FORWARD
chain.
> all other rules have target "ACCEPT" so I think they can't do
anything
> bad...
> Unfortunately I'm not sure to be allowed to delete
the
> preexisting iptables rules.
> Do you think it could be my
problem???
>
>
> ----Messaggio originale----
> Da: andrea15@xxxxxx
>
Data: 16-lug-2007 10.54
> AM
> A: <xen-users@xxxxxxxxxxxxxxxxxxx>
>
>
Ogg: R: Re: [Xen-users] Can'
> t migrate domains
>
> I tried so
>
(xend-relocation-hosts-allow '^.*$')
> but
> I had the same
>
results.....
> debian:~# xm migrate vm01 143.225.229.138
> Error: can't
> connect: No route to host
> Usage: xm migrate <Domain>
> <Host>
>
>
however I
> haven't yet used a networked solution for my disk
> images.
they're
> stored on local hard disk.I wanted to be sure of my
>
configuration
> before, facing the problem after.
> But I don't think
It's
> the reason for
> which migration doesn't start at all...
>
> Any
other
> suggestion?
> ----
> Messaggio originale----
> Da:
mail4dla@xxxxxxxxxxxxxx
> Data: 16-lug-2007
> 10.22 AM
> A:
"andrea15@xxxxxx"<andrea15@xxxxxx>
> Cc:
> <xen-users@lists.
>
xensource.com>
> Ogg: Re: [Xen-users] Can't migrate
> domains
>
>
Hi,
>
> On
> 7/15/07, andrea15@xxxxxx <andrea15@xxxxxx> wrote:
> >
> >
> (xend-relocation-
> address '')
> > (xend-relocation-hosts-allow '')
> > #
> (xend-
> > relocation-
> hosts-allow '^localhost$ ^localhost\\.
> localdomain$')
> > etc.....
> > I
> think in this way I should have
avoided
> to block connections
> > from ra
> emote host, allowing whole
them.
>
>
> I
> think you are actually rejecting
> connections from
everywhere.
> To allow
> all connections, you should try
> '^.*$', but
I suggest that you add
> some more restrictive regexp in a
> non-test
environment ;-)
>
> hth
> dla
>
>
>
>
>
>
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|