I recently used the Xen virtual machine backup tools, such as ''xm save'' command. And I found that before this tool save the memory and CPU state, it first pauses the VM. Do Xen have same tools for online backup the VMs? If it do not have one, can I saty that Xen don''t support VM online backup? -- View this message in context: http://xen.1045712.n5.nabble.com/Xen-support-online-backup-tp4641514p4641514.html Sent from the Xen - Dev mailing list archive at Nabble.com. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Thu, 28 Jul 2011, pengfei zhang wrote:> I recently used the Xen virtual machine backup tools, such as ''xm save'' > command. And I found that before this tool save the memory and CPU state, it > first pauses the VM. Do Xen have same tools for online backup the VMs? If it > do not have one, can I saty that Xen don''t support VM online backup? >you are probably looking for xl (or xm) save -c: Usage: xl [-v] save [options] <Domain> <CheckpointFile> [<ConfigFile>] Save a domain state to restore later. Options: -h Print this help. -c Leave domain running after creating the snapshot. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
> > I recently used the Xen virtual machine backup tools, such as ''xmsave''> command. And I found that before this tool save the memory and CPUstate, it> first pauses the VM. Do Xen have same tools for online backup the VMs?If it> do not have one, can I saty that Xen don''t support VM online backup? >I''m curious... what use is the memory and CPU state in an online backup? James _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
> Subject: RE: [Xen-devel] Xen support online backup? > Date: Thu, 28 Jul 2011 21:51:09 +1000 > From: james.harper@bendigoit.com.au > To: zpfalpc23@hotmail.com; xen-devel@lists.xensource.com > > > > > I recently used the Xen virtual machine backup tools, such as ''xm > save'' > > command. And I found that before this tool save the memory and CPU > state, it > > first pauses the VM. Do Xen have same tools for online backup the VMs? > If it > > do not have one, can I saty that Xen don''t support VM online backup? > > > > I''m curious... what use is the memory and CPU state in an online backup? > > JamesYeah, for example, VMware Workstation have a feature call snapshot manager,it can make a snapshot of the VM state online, which don''t need to pause the service, etc apache Web server maybe.I think it dumps the memory and CPU state, oh, and of cause the virtual disk.So, what I curious about, is how about Xen do the similar things. Thank you for your reply! pengfei zhang --_18e3889a-9bb8-4190-9217-8bcb50ed6a71_ Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: 8bit <html> <head> <style><!-- .hmmessage P { margin:0px; padding:0px } body.hmmessage { font-size: 10pt; font-family:微软雅黑 } --></style> </head> <body class=''hmmessage''><div dir=''ltr''> <div>> Subject: RE: [Xen-devel] Xen support online backup?<br>> Date: Thu, 28 Jul 2011 21:51:09 +1000<br>> From: james.harper@bendigoit.com.au<br>> To: zpfalpc23@hotmail.com; xen-devel@lists.xensource.com<br>> <br>> > <br>> > I recently used the Xen virtual machine backup tools, such as ''xm<br>> save''<br>> > command. And I found that before this tool save the memory and CPU<br>> state, it<br>> > first pauses the VM. Do Xen have same tools for online backup the VMs?<br>> If it<br>> > do not have one, can I saty that Xen don''t support VM online backup?<br>> > <br>> <br>> I''m curious... what use is the memory and CPU state in an online backup?<br>> <br>> James<br></div><div><br></div><div>Yeah, for example, VMware Workstation have a feature call snapshot manager,</div><div>it can make a snapshot of the VM state online, which don''t need to pause the </div><div>service, etc apache Web server maybe.</div><div>I think it dumps the memory and CPU state, oh, and of cause the virtual disk.</div><div>So, what I curious about, is how about Xen do the similar things.</div><div><br></div><div>Thank you for your reply!</div><div><br></div><div>pengfei zhang</div> </div></body> </html> --_18e3889a-9bb8-4190-9217-8bcb50ed6a71_-- --===============1650300548=Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1650300548==--
> Date: Thu, 28 Jul 2011 12:22:21 +0100 > From: stefano.stabellini@eu.citrix.com > To: zpfalpc23@hotmail.com > CC: xen-devel@lists.xensource.com > Subject: Re: [Xen-devel] Xen support online backup? > > On Thu, 28 Jul 2011, pengfei zhang wrote: > > I recently used the Xen virtual machine backup tools, such as ''xm save'' > > command. And I found that before this tool save the memory and CPU state, it > > first pauses the VM. Do Xen have same tools for online backup the VMs? If it > > do not have one, can I saty that Xen don''t support VM online backup? > > > > you are probably looking for xl (or xm) save -c: > > Usage: xl [-v] save [options] <Domain> <CheckpointFile> [<ConfigFile>] > > Save a domain state to restore later. > > Options: > > -h Print this help. > -c Leave domain running after creating the snapshot.Thank you for your reply!I have tested the command use ''-c'' option. The virtual machine has about 20 seconds paused.If the virtual machine works as a server, no user can tolarate 20 seconds access delay, I think. What I curious is that VMware Workstation have a feature call snapshot manager,it can make a snapshot of the VM state online, which don''t need to pause the service. How about Xen?Thanks a lot! pengfei zhang --_d6c49093-6dbb-4b7a-9979-11c0413c927a_ Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: 8bit <html> <head> <style><!-- .hmmessage P { margin:0px; padding:0px } body.hmmessage { font-size: 10pt; font-family:微软雅黑 } --></style> </head> <body class=''hmmessage''><div dir=''ltr''> <br><br><div>> Date: Thu, 28 Jul 2011 12:22:21 +0100<br>> From: stefano.stabellini@eu.citrix.com<br>> To: zpfalpc23@hotmail.com<br>> CC: xen-devel@lists.xensource.com<br>> Subject: Re: [Xen-devel] Xen support online backup?<br>> <br>> On Thu, 28 Jul 2011, pengfei zhang wrote:<br>> > I recently used the Xen virtual machine backup tools, such as ''xm save''<br>> > command. And I found that before this tool save the memory and CPU state, it<br>> > first pauses the VM. Do Xen have same tools for online backup the VMs? If it<br>> > do not have one, can I saty that Xen don''t support VM online backup?<br>> > <br>> <br>> you are probably looking for xl (or xm) save -c:<br>> <br>> Usage: xl [-v] save [options] <Domain> <CheckpointFile> [<ConfigFile>]<br>> <br>> Save a domain state to restore later.<br>> <br>> Options:<br>> <br>> -h Print this help.<br>> -c Leave domain running after creating the snapshot.<br></div><div><br></div><div>Thank you for your reply!</div><div>I have tested the command use ''-c'' option. The virtual machine has about 20 seconds paused.</div><div>If the virtual machine works as a server, no user can tolarate 20 seconds access delay, I think.</div><div><br></div><div>What I curious is that <span class="Apple-style-span" style="border-collapse: collapse; font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; ">VMware Workstation have a feature call snapshot manager,</span></div><span class="Apple-style-span" style="border-collapse: collapse; font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><div>it can make a snapshot of the VM state online, which don''t need to pause the </div><div>service. How about Xen?</div></span><span class="Apple-style-span" style="border-collapse: collapse; font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; ">Thanks a lot!</span><span class="Apple-style-span" style="border-collapse: collapse; font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><div><br></div><div>pengfei zhang</div></span> </div></body> </html> --_d6c49093-6dbb-4b7a-9979-11c0413c927a_-- --===============1513777198=Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1513777198==--
On Thu, 28 Jul 2011 12:11:12 +0000, 张鹏飞 wrote:> > What I curious is that VMware Workstation have a feature call > snapshot > manager, > it can make a snapshot of the VM state online, which don''t need to > pause the > service. How about Xen?Thanks a lot! > > pengfei zhangIn xen you can do this: 1) freezefs FIFREEZE ioctl 2) xm save -c 3) unfreezefs FITHAW ioctl afte that you have consistent backup. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel