Hello everyone, I am currently working on a project, where I migrate one VM from one machine to another. Hence, I was wondering, if I pause (xm pause) the VM before I invoke the xen --live migrate command will I encounter any problems? Also, will I have to resume it (xm resume) on the destination machine? Thank you, Nick _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
On Wed, Jun 05, 2013 at 11:42:45AM +0300, Nick Katsipoulakis wrote:> Hello everyone, > > I am currently working on a project, where I migrate one VM from one > machine to another. Hence, I was wondering, if I pause (xm pause) the VM > before I invoke the xen --live migrate command will I encounter any > problems? Also, will I have to resume it (xm resume) on the destination > machine? > > Thank you, > > NickI believe that during the process of migration (the step when the actual move takes place) the domU gets paused anyway. It certainly shouldn''t hurt anything. I don''t know whether it gets auto-resumed or of the pause state is preserved, but that''s easy enough to test. --Sean
If it gets pause anyways (which was maybe your concern?) Perhaps you don''t need the additional step? Just a thought. M ----- Original Message ----- From: Sean Greenslade [mailto:sean@seangreenslade.com] Sent: Wednesday, June 05, 2013 07:27 AM To: Nick Katsipoulakis <popanik@gmail.com> Cc: xen-users@lists.xen.org <xen-users@lists.xen.org> Subject: Re: [Xen-users] Live Migrating a VM while it is paused On Wed, Jun 05, 2013 at 11:42:45AM +0300, Nick Katsipoulakis wrote:> Hello everyone, > > I am currently working on a project, where I migrate one VM from one > machine to another. Hence, I was wondering, if I pause (xm pause) the VM > before I invoke the xen --live migrate command will I encounter any > problems? Also, will I have to resume it (xm resume) on the destination > machine? > > Thank you, > > NickI believe that during the process of migration (the step when the actual move takes place) the domU gets paused anyway. It certainly shouldn''t hurt anything. I don''t know whether it gets auto-resumed or of the pause state is preserved, but that''s easy enough to test. --Sean _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Actually, I want to pause it in order to block IO calls from getting written to the disk. That is why I asked. But I noticed that if my VM is paused, Xen won''t let me migrate it. Is this behaviour by default, that paused VMs are not migrated? Thanks, Nick 2013/6/5 mitch@bitblock.net <mitch@bitblock.net>> If it gets pause anyways (which was maybe your concern?) Perhaps you don''t > need the additional step? Just a thought. M > > ----- Original Message ----- > From: Sean Greenslade [mailto:sean@seangreenslade.com] > Sent: Wednesday, June 05, 2013 07:27 AM > To: Nick Katsipoulakis <popanik@gmail.com> > Cc: xen-users@lists.xen.org <xen-users@lists.xen.org> > Subject: Re: [Xen-users] Live Migrating a VM while it is paused > > On Wed, Jun 05, 2013 at 11:42:45AM +0300, Nick Katsipoulakis wrote: > > Hello everyone, > > > > I am currently working on a project, where I migrate one VM from one > > machine to another. Hence, I was wondering, if I pause (xm pause) the VM > > before I invoke the xen --live migrate command will I encounter any > > problems? Also, will I have to resume it (xm resume) on the destination > > machine? > > > > Thank you, > > > > Nick > > I believe that during the process of migration (the step when the actual > move takes place) the domU gets paused anyway. It certainly shouldn''t > hurt anything. I don''t know whether it gets auto-resumed or of the pause > state is preserved, but that''s easy enough to test. > > --Sean > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
On Wed, Jun 05, 2013 at 06:50:47PM +0300, Nick Katsipoulakis wrote:> Actually, I want to pause it in order to block IO calls from getting > written to the disk. That is why I asked. > But I noticed that if my VM is paused, Xen won''t let me migrate it. Is this > behaviour by default, that paused VMs are not migrated? > > Thanks, > > Nick >I''m curious why you want that. The Xen migration system is designed to make the migration basically seamless (and as I mentioned before, pauses the domain momentarily to achieve this). You already need shared storage to do migration (unless you''re using Remus, which is a whole nother ballgame), so why block IO? --Sean