<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Commenti a: Backup di virtual machines Xen senza interruzione</title>
	<atom:link href="http://www.robertocespa.com/2009/08/07/backup-di-virtual-machines-xen-senza-interruzione/423/index.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.robertocespa.com/2009/08/07/backup-di-virtual-machines-xen-senza-interruzione/423/index.html#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
	<description>Il mondo è bello perché è avariato...</description>
	<lastBuildDate>Sun, 04 Jul 2010 17:25:39 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.3</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Di: Robert Wunsch</title>
		<link>http://www.robertocespa.com/2009/08/07/backup-di-virtual-machines-xen-senza-interruzione/423/index.html/comment-page-1#comment-112</link>
		<dc:creator>Robert Wunsch</dc:creator>
		<pubDate>Sun, 04 Jul 2010 17:25:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertocespa.com/?p=423#comment-112</guid>
		<description>Hello Roberto, Hello Jan,

I am using Xen 5.6.0 and just starting off virtualising. 
i found your script, Roberto, and want to try using it in my desaster recovery.
Jan, could  you let me know if you ot that script running on 5.6?
It would be very kind of you to let me know your insights. 
Maybe you could send it to Roberto, so he would be able to publish it?

Thanks in advance!
Robert</description>
		<content:encoded><![CDATA[<p>Hello Roberto, Hello Jan,</p>
<p>I am using Xen 5.6.0 and just starting off virtualising.<br />
i found your script, Roberto, and want to try using it in my desaster recovery.<br />
Jan, could  you let me know if you ot that script running on 5.6?<br />
It would be very kind of you to let me know your insights.<br />
Maybe you could send it to Roberto, so he would be able to publish it?</p>
<p>Thanks in advance!<br />
Robert</p>
]]></content:encoded>
	</item>
	<item>
		<title>Di: felice</title>
		<link>http://www.robertocespa.com/2009/08/07/backup-di-virtual-machines-xen-senza-interruzione/423/index.html/comment-page-1#comment-111</link>
		<dc:creator>felice</dc:creator>
		<pubDate>Tue, 29 Jun 2010 06:48:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertocespa.com/?p=423#comment-111</guid>
		<description>Io ho un problema, spero si possa risolvere.
Non posso fare snapshot perche il disco locale non ha spazio.
Non posso usare iscsi e simili.
E&#039; possibile eseguire le snaoshot su un disco usb collegato a xen o a una macchina virtuale su cui c&#039;e&#039; xencenter? 
Utilizzo xen 5.5.0.

Grazie.</description>
		<content:encoded><![CDATA[<p>Io ho un problema, spero si possa risolvere.<br />
Non posso fare snapshot perche il disco locale non ha spazio.<br />
Non posso usare iscsi e simili.<br />
E&#8217; possibile eseguire le snaoshot su un disco usb collegato a xen o a una macchina virtuale su cui c&#8217;e&#8217; xencenter?<br />
Utilizzo xen 5.5.0.</p>
<p>Grazie.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Di: admin</title>
		<link>http://www.robertocespa.com/2009/08/07/backup-di-virtual-machines-xen-senza-interruzione/423/index.html/comment-page-1#comment-106</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 03 Jun 2010 08:05:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertocespa.com/?p=423#comment-106</guid>
		<description>Hi Jan,
I&#039;m happy you found the script useful.
Unfortunaley, I moved to from Xen to KVM mainly for two reasons:
&lt;ul&gt;
	&lt;li&gt;KVM has KSM (Kernel Same Page) feature that permits a very high overlapping: if you have several cloned virtual machines probably the RAM contents mostly the same data and KSM will do data deduplication and you&#039;ll be able to run more VMs with same amount of RAM&lt;/li&gt;

	&lt;li&gt;Citrix Xen Server 5.5.0 had the ugly bug of snapshot coalescing on my storage and I&#039;ve found my NFS repository filled with snapshot&lt;/li&gt;

&lt;/ul&gt;
Now I&#039;m focusing my attention on KVM (mainly using Proxmox VE distro: you can really be up and running in 10 minutes) and I hope to find some spare time to post something about VM migration from Xen to KVM.
I&#039;m also starting to use &lt;a href=&quot;http://www.mongodb.org&quot; rel=&quot;nofollow&quot;&gt;MongoDB&lt;/a&gt;, a document database, and I hope to write something about MongoDB + PHP ( + Lithium PHP framework).

I&#039;ll be glad to publish your script in this post once debugged!
Ciao,
Roberto</description>
		<content:encoded><![CDATA[<p>Hi Jan,<br />
I&#8217;m happy you found the script useful.<br />
Unfortunaley, I moved to from Xen to KVM mainly for two reasons:</p>
<ul>
<li>KVM has KSM (Kernel Same Page) feature that permits a very high overlapping: if you have several cloned virtual machines probably the RAM contents mostly the same data and KSM will do data deduplication and you&#8217;ll be able to run more VMs with same amount of RAM</li>
<li>Citrix Xen Server 5.5.0 had the ugly bug of snapshot coalescing on my storage and I&#8217;ve found my NFS repository filled with snapshot</li>
</ul>
<p>Now I&#8217;m focusing my attention on KVM (mainly using Proxmox VE distro: you can really be up and running in 10 minutes) and I hope to find some spare time to post something about VM migration from Xen to KVM.<br />
I&#8217;m also starting to use <a href="http://www.mongodb.org" rel="nofollow">MongoDB</a>, a document database, and I hope to write something about MongoDB + PHP ( + Lithium PHP framework).</p>
<p>I&#8217;ll be glad to publish your script in this post once debugged!<br />
Ciao,<br />
Roberto</p>
]]></content:encoded>
	</item>
	<item>
		<title>Di: Jan Schulenburg</title>
		<link>http://www.robertocespa.com/2009/08/07/backup-di-virtual-machines-xen-senza-interruzione/423/index.html/comment-page-1#comment-105</link>
		<dc:creator>Jan Schulenburg</dc:creator>
		<pubDate>Thu, 03 Jun 2010 07:46:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertocespa.com/?p=423#comment-105</guid>
		<description>Hi Roberto,

I ran your script (slightly adjusted) on XenServer 5.5.0 Update 2 and it ran fine! Many thankz! I updated to XenServer 5.6.0 (grr, lot&#039;s of issues) and now i try to get the backup script running again. It seems i&#039;ve got a few issues:
- @ snapshot, error: ^CFatal error: exception Unix.Unix_error(13, &quot;tcsetattr&quot;, &quot;&quot;)
- i added coalesce-leaf, this isn&#039;t supported anymore.

I could sent you my backup script if needed.</description>
		<content:encoded><![CDATA[<p>Hi Roberto,</p>
<p>I ran your script (slightly adjusted) on XenServer 5.5.0 Update 2 and it ran fine! Many thankz! I updated to XenServer 5.6.0 (grr, lot&#8217;s of issues) and now i try to get the backup script running again. It seems i&#8217;ve got a few issues:<br />
- @ snapshot, error: ^CFatal error: exception Unix.Unix_error(13, &#8220;tcsetattr&#8221;, &#8220;&#8221;)<br />
- i added coalesce-leaf, this isn&#8217;t supported anymore.</p>
<p>I could sent you my backup script if needed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Di: Gianluca C.</title>
		<link>http://www.robertocespa.com/2009/08/07/backup-di-virtual-machines-xen-senza-interruzione/423/index.html/comment-page-1#comment-63</link>
		<dc:creator>Gianluca C.</dc:creator>
		<pubDate>Thu, 18 Mar 2010 10:32:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertocespa.com/?p=423#comment-63</guid>
		<description>Ho provato lo script e non mi parte, per farlo funzionare ho dovuto usare perl5.8.8 ( sia sostituendolo sulla prima riga dello script, che per farlo runnare perl5.8.8 backup.pl), usando il comadno perl backup.pl non mi restituiva nessun output..non so perche&#039; essendo abbastanza ignorante in ambito linux :)</description>
		<content:encoded><![CDATA[<p>Ho provato lo script e non mi parte, per farlo funzionare ho dovuto usare perl5.8.8 ( sia sostituendolo sulla prima riga dello script, che per farlo runnare perl5.8.8 backup.pl), usando il comadno perl backup.pl non mi restituiva nessun output..non so perche&#8217; essendo abbastanza ignorante in ambito linux <img src='http://www.robertocespa.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Di: Roberto Capua</title>
		<link>http://www.robertocespa.com/2009/08/07/backup-di-virtual-machines-xen-senza-interruzione/423/index.html/comment-page-1#comment-56</link>
		<dc:creator>Roberto Capua</dc:creator>
		<pubDate>Wed, 23 Sep 2009 23:47:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertocespa.com/?p=423#comment-56</guid>
		<description>Su questo blog c&#039;è qualche linea guida per fare gli script di backup da windows e la cosa carina è che funziona anche quando cambia il master del pool con winscp...
http://virtualgreen.wordpress.com/2009/09/22/uno-xen-virtual-consolidated-backup-server-artigianale/</description>
		<content:encoded><![CDATA[<p>Su questo blog c&#8217;è qualche linea guida per fare gli script di backup da windows e la cosa carina è che funziona anche quando cambia il master del pool con winscp&#8230;<br />
<a href="http://virtualgreen.wordpress.com/2009/09/22/uno-xen-virtual-consolidated-backup-server-artigianale/" rel="nofollow">http://virtualgreen.wordpress.com/2009/09/22/uno-xen-virtual-consolidated-backup-server-artigianale/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Di: Francesco Dipietromaria WebLog</title>
		<link>http://www.robertocespa.com/2009/08/07/backup-di-virtual-machines-xen-senza-interruzione/423/index.html/comment-page-1#comment-52</link>
		<dc:creator>Francesco Dipietromaria WebLog</dc:creator>
		<pubDate>Wed, 02 Sep 2009 15:31:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertocespa.com/?p=423#comment-52</guid>
		<description>&lt;strong&gt;Backup snapshot based delle macchine virtuali su XenServer 5.5...&lt;/strong&gt;

Una delle più importanti novità di XenServer 5.5 è la possibilità di effettuare e gestire gli snapshot delle macchine virtuali a prescindere dal tipo di Storage Repository. Questo ha ovviamente un importante impatto sulle procedure di backup.
Un po......</description>
		<content:encoded><![CDATA[<p><strong>Backup snapshot based delle macchine virtuali su XenServer 5.5&#8230;</strong></p>
<p>Una delle più importanti novità di XenServer 5.5 è la possibilità di effettuare e gestire gli snapshot delle macchine virtuali a prescindere dal tipo di Storage Repository. Questo ha ovviamente un importante impatto sulle procedure di backup.<br />
Un po&#8230;&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Di: Roberto Cespa</title>
		<link>http://www.robertocespa.com/2009/08/07/backup-di-virtual-machines-xen-senza-interruzione/423/index.html/comment-page-1#comment-49</link>
		<dc:creator>Roberto Cespa</dc:creator>
		<pubDate>Fri, 21 Aug 2009 08:44:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertocespa.com/?p=423#comment-49</guid>
		<description>Hi, Steve
Recovering a VM from an .xva file is a simple operation that you can start from XenCenter console; the whole operation is wizard driven and it&#039;s point&#039;n&#039;click.
I have not access to a XenCenter in this very moment (I&#039;m out of office) but, as far as I can remember, is something like &quot;File -&gt; Import VM&quot; from the menu to start the wizard.
Then you have to browse your computer (or a network share) to find the .xva file, select the home server (in case of server pools), select the Storage Repository and click the finish button.
I tested recovery several times and it needed something like 30 to 45 minute each time to bring back the VM to life.
If you don&#039;t want to set up Windows networking again you should manually set the network adater MAC address to the same value of the initial machine.

If you do the recovery by CLI, you should have an option to preserve the MAC  (as &quot;Anonymous&quot; says
&lt;a href=&quot;http://community.citrix.com/display/xs/0+downtime+snapshot+based+XENServer+5.5+backup+script.?focusedCommentId=79462767&amp;#comment-79463139&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;: )

&lt;blockquote&gt;
Add &quot;preserve=true&quot; when importing to keep the MAC, from the administrator&#039;s guide:

Import a VM from a previously-exported file. If preserve is set to true, the MAC address of the original VM will be preserved.&lt;/blockquote&gt;

Ciao,
Roberto</description>
		<content:encoded><![CDATA[<p>Hi, Steve<br />
Recovering a VM from an .xva file is a simple operation that you can start from XenCenter console; the whole operation is wizard driven and it&#8217;s point&#8217;n'click.<br />
I have not access to a XenCenter in this very moment (I&#8217;m out of office) but, as far as I can remember, is something like &#8220;File -> Import VM&#8221; from the menu to start the wizard.<br />
Then you have to browse your computer (or a network share) to find the .xva file, select the home server (in case of server pools), select the Storage Repository and click the finish button.<br />
I tested recovery several times and it needed something like 30 to 45 minute each time to bring back the VM to life.<br />
If you don&#8217;t want to set up Windows networking again you should manually set the network adater MAC address to the same value of the initial machine.</p>
<p>If you do the recovery by CLI, you should have an option to preserve the MAC  (as &#8220;Anonymous&#8221; says<br />
<a href="http://community.citrix.com/display/xs/0+downtime+snapshot+based+XENServer+5.5+backup+script.?focusedCommentId=79462767&#comment-79463139" rel="nofollow">here</a>: )</p>
<blockquote><p>
Add &#8220;preserve=true&#8221; when importing to keep the MAC, from the administrator&#8217;s guide:</p>
<p>Import a VM from a previously-exported file. If preserve is set to true, the MAC address of the original VM will be preserved.</p></blockquote>
<p>Ciao,<br />
Roberto</p>
]]></content:encoded>
	</item>
	<item>
		<title>Di: Steve</title>
		<link>http://www.robertocespa.com/2009/08/07/backup-di-virtual-machines-xen-senza-interruzione/423/index.html/comment-page-1#comment-48</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Thu, 20 Aug 2009 23:56:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertocespa.com/?p=423#comment-48</guid>
		<description>I&#039;ve not worked with Xenserver at this point so bear with me.  Nothing in this discussion has talked about how you go about restoring the snapshot should the need arrise.  Is it as simple as copying the .xva back up to the Xenserver data store?

Thanks
Steve</description>
		<content:encoded><![CDATA[<p>I&#8217;ve not worked with Xenserver at this point so bear with me.  Nothing in this discussion has talked about how you go about restoring the snapshot should the need arrise.  Is it as simple as copying the .xva back up to the Xenserver data store?</p>
<p>Thanks<br />
Steve</p>
]]></content:encoded>
	</item>
	<item>
		<title>Di: Roberto Cespa</title>
		<link>http://www.robertocespa.com/2009/08/07/backup-di-virtual-machines-xen-senza-interruzione/423/index.html/comment-page-1#comment-43</link>
		<dc:creator>Roberto Cespa</dc:creator>
		<pubDate>Fri, 07 Aug 2009 16:43:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertocespa.com/?p=423#comment-43</guid>
		<description>Purtroppo il mio storage non è né NetApp né niente di fascia alta; ho utilizzato un server con Win2K3 e il target iSCSI della StarWind.
Sto cercando di fare il tutto spendendo il meno possibile (al limite anche zero).

Nella sua incarnazione free, il target di StarWind non permette lo snapshotting.

Tutto questo, inoltre, ha il grosso difetto legato ad un bug (secondo gli utenti) / feature (secondo Citrix) relativo agli snapshot su shared SR e LVM: http://forums.citrix.com/thread.jspa?threadID=249121&amp;tstart=75 .

Praticamente se faccio uno snapshot di un disco da 20GB e lo converto in una nuova VM per il backup (occupando 20GB+ &lt;em&gt;x&lt;/em&gt; MB +20GB), poi non c&#039;è più modo di riavere indietro quello spazio, nemmeno cancellando lo snapshot e la macchina da esso derivata.
L&#039;unica soluzione è di cancellare la macchina originaria (quella di cui è stato fatto lo snapshot) e reimportarla dal backup :(

Quindi con uno storage da 800GB, puoi più o meno usare 380GB per le VM: altrettanti saranno necessari per i cloni e un po&#039; me li tengo di riserva per qualsiasi evenienza.
Questa cosa, abbastanza fastidiosa quando hai dei vincoli economici, mi sta portando a valutare l&#039;idea di farmi un file server NFS con 4 o 6 dischi SATA e metterci sopra Linux: NFS sotto Windows non ne vuole sapere di andare con performance decenti, almeno non con i file delle dimensioni di quelli usati per i VHD.</description>
		<content:encoded><![CDATA[<p>Purtroppo il mio storage non è né NetApp né niente di fascia alta; ho utilizzato un server con Win2K3 e il target iSCSI della StarWind.<br />
Sto cercando di fare il tutto spendendo il meno possibile (al limite anche zero).</p>
<p>Nella sua incarnazione free, il target di StarWind non permette lo snapshotting.</p>
<p>Tutto questo, inoltre, ha il grosso difetto legato ad un bug (secondo gli utenti) / feature (secondo Citrix) relativo agli snapshot su shared SR e LVM: <a href="http://forums.citrix.com/thread.jspa?threadID=249121&#038;tstart=75" rel="nofollow">http://forums.citrix.com/thread.jspa?threadID=249121&#038;tstart=75</a> .</p>
<p>Praticamente se faccio uno snapshot di un disco da 20GB e lo converto in una nuova VM per il backup (occupando 20GB+ <em>x</em> MB +20GB), poi non c&#8217;è più modo di riavere indietro quello spazio, nemmeno cancellando lo snapshot e la macchina da esso derivata.<br />
L&#8217;unica soluzione è di cancellare la macchina originaria (quella di cui è stato fatto lo snapshot) e reimportarla dal backup <img src='http://www.robertocespa.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Quindi con uno storage da 800GB, puoi più o meno usare 380GB per le VM: altrettanti saranno necessari per i cloni e un po&#8217; me li tengo di riserva per qualsiasi evenienza.<br />
Questa cosa, abbastanza fastidiosa quando hai dei vincoli economici, mi sta portando a valutare l&#8217;idea di farmi un file server NFS con 4 o 6 dischi SATA e metterci sopra Linux: NFS sotto Windows non ne vuole sapere di andare con performance decenti, almeno non con i file delle dimensioni di quelli usati per i VHD.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
