I am trying to get live migration working on SLES11. I went in and uncommented out the following from /etc/xen/xend-config.sxp (xend-relocation-port 8002) (xend-relocation-address '''') (xend-relocation-hosts-allow) Then performed a rcxend restart on both nodes however, when I run: xm migrate --live test4 vmc1n1 I get the following error: vmc1n4:~ # xm migrate --live test4 vmc1n1 Error: /usr/lib64/xen/bin/xc_save 21 5 0 0 5 failed Usage: xm migrate <Domain> <Host> Can anyone help me not sure what I am missing or if I am doing wrong.. I am using a shared NFS volume which is were the VM''S are stored /var/campusVM Thanks, Joe _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Try specifying the DomU by Dom ID and the server you want to migrate to by IP address and see if you get any more luck? On Sun, Nov 1, 2009 at 5:00 PM, Joseph Coleman < joe.coleman@infinitecampus.com> wrote:> I am trying to get live migration working on SLES11. I went in and > uncommented out the following from /etc/xen/xend-config.sxp > > (xend-relocation-port 8002) > (xend-relocation-address '''') > (xend-relocation-hosts-allow) > Then performed a rcxend restart on both nodes however, when I run: > > > > xm migrate --live test4 vmc1n1 > > > > I get the following error: > > > vmc1n4:~ # xm migrate --live test4 vmc1n1 > Error: /usr/lib64/xen/bin/xc_save 21 5 0 0 5 failed > Usage: xm migrate <Domain> <Host> > > Can anyone help me not sure what I am missing or if I am doing wrong.. I am > using a shared NFS volume which is were the VM''S are stored /var/campusVM > > Thanks, > Joe > > _______________________________________________ > 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
Joseph Coleman wrote:> I am trying to get live migration working on SLES11. I went in and uncommented out the following from /etc/xen/xend-config.sxp > > (xend-relocation-port 8002) > (xend-relocation-address '''') > (xend-relocation-hosts-allow) > Then performed a rcxend restart on both nodes however, when I run: > > xm migrate --live test4 vmc1n1 > > I get the following error: > > vmc1n4:~ # xm migrate --live test4 vmc1n1 > Error: /usr/lib64/xen/bin/xc_save 21 5 0 0 5 failed > Usage: xm migrate <Domain> <Host> > > Can anyone help me not sure what I am missing or if I am doing wrong.. I am using a shared NFS volume which is were the VM''S are stored /var/campusVMTry explicitly adding hosts to the xend-relocation-hosts-allow line. By default an empty line should allow any host to connect, but I''ve found better luck adding hosts there manually. So if your current host is vmc1n0, on the target vmc1n1 you''d add: (xend-relocation-hosts-allow ''^vmc1n0$'') The regex notation is mandatory. For multiple hosts, put then inside the single set of '''' with no commas separating them, e.g. ''^vmc1n0$ ^vmc1n2$ ^vmc1n3$''. Also put an IP in the xend-relocation-address line. It doesn''t hurt to be explicit with everything in xend-config.sxp. Finally, check iptables, and watch xend.log on both hosts. It will show where the migration failed. If adding those options doesn''t help, it will at least get you further and throw a different error :) Regards, Jamon _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, Nov 2, 2009 at 12:00 AM, Joseph Coleman <joe.coleman@infinitecampus.com> wrote:> I am trying to get live migration working on SLES11.> vmc1n4:~ # xm migrate --live test4 vmc1n1 > Error: /usr/lib64/xen/bin/xc_save 21 5 0 0 5 failed > Usage: xm migrate <Domain> <Host>Since you use SLES, why don''t you file a support request to Novell? It''d be interesting to hear their response. Last time I test with forward-ported 2.6.29 xen kernel, live migration (or to be excact: xm save) does not work. Something to do with "xm save" tells guest to suspend, but the -xen kernel does not support suspend. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
In xend-config.sxp: unmask this item: (xend-relocation-hosts-allow '''') mask this item: #(xend-relocation-hosts-allow ''^localhost$ ^localhost\\.localdomain$'') Jamon Camisso-2 wrote:> > Joseph Coleman wrote: >> I am trying to get live migration working on SLES11. I went in and >> uncommented out the following from /etc/xen/xend-config.sxp >> >> (xend-relocation-port 8002) >> (xend-relocation-address '''') >> (xend-relocation-hosts-allow) >> Then performed a rcxend restart on both nodes however, when I run: >> >> xm migrate --live test4 vmc1n1 >> >> I get the following error: >> >> vmc1n4:~ # xm migrate --live test4 vmc1n1 >> Error: /usr/lib64/xen/bin/xc_save 21 5 0 0 5 failed >> Usage: xm migrate <Domain> <Host> >> >> Can anyone help me not sure what I am missing or if I am doing wrong.. I >> am using a shared NFS volume which is were the VM''S are stored >> /var/campusVM > > Try explicitly adding hosts to the xend-relocation-hosts-allow line. By > default an empty line should allow any host to connect, but I''ve found > better luck adding hosts there manually. So if your current host is > vmc1n0, on the target vmc1n1 you''d add: > > (xend-relocation-hosts-allow ''^vmc1n0$'') > > The regex notation is mandatory. For multiple hosts, put then inside the > single set of '''' with no commas separating them, e.g. ''^vmc1n0$ ^vmc1n2$ > ^vmc1n3$''. > > Also put an IP in the xend-relocation-address line. It doesn''t hurt to > be explicit with everything in xend-config.sxp. > > Finally, check iptables, and watch xend.log on both hosts. It will show > where the migration failed. If adding those options doesn''t help, it > will at least get you further and throw a different error :) > > Regards, Jamon > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >-- View this message in context: http://old.nabble.com/XEN-and-Live-Migration-tp26152778p26156632.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users