<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
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/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>FAQforge &#187; Virtualisation</title> <atom:link href="http://www.faqforge.com/category/linux/virtualisation/feed/" rel="self" type="application/rss+xml" /><link>http://www.faqforge.com</link> <description>Just another WordPress weblog</description> <lastBuildDate>Wed, 01 Sep 2010 10:19:51 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.1</generator> <item><title>How to solve the PHP XCache error: /dev/zero: No space left on device</title><link>http://www.faqforge.com/linux/controlpanels/how-to-solve-the-php-xcache-error-devzero-no-space-left-on-device/</link> <comments>http://www.faqforge.com/linux/controlpanels/how-to-solve-the-php-xcache-error-devzero-no-space-left-on-device/#comments</comments> <pubDate>Wed, 01 Sep 2010 10:19:51 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[Controlpanels]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[Distributions]]></category> <category><![CDATA[ISPConfig 2]]></category> <category><![CDATA[ISPConfig 3]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[Virtualisation]]></category> <category><![CDATA[Webserver]]></category> <category><![CDATA[OpenVZ]]></category> <category><![CDATA[XCache]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=508</guid> <description><![CDATA[If you get the error &#8220;/dev/zero: No space left on device&#8221; in the apache error.log on a OpenVZ virtual machine, then the shared memory size in the xcache.ini is too high or the xcache.mm_path is set wrong. Edit the file /etc/php5/conf.d/xcache.ini vi /etc/php5/conf.d/xcache.ini and check the mm_path. On a OpenVZ virtual machine it should be [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fhow-to-solve-the-php-xcache-error-devzero-no-space-left-on-device%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fhow-to-solve-the-php-xcache-error-devzero-no-space-left-on-device%2F&amp;source=tweetmeme&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br
/> </a></div><p>If you get the error &#8220;<span
class="system">/dev/zero: No space left on device</span>&#8221; in the apache error.log on a OpenVZ virtual machine, then the shared memory size in the xcache.ini is too high or the xcache.mm_path is set wrong.</p><p>Edit the file /etc/php5/conf.d/xcache.ini<br
/><p
class="command">vi /etc/php5/conf.d/xcache.ini</p><br
/> and check the mm_path. On a OpenVZ virtual machine it should be set to &#8220;/tmp/xcache&#8221; as /dev/zero might not work correctly in a virtual machine:<br
/><p
class="system">xcache.mmap_path = &quot;/tmp/xcache&quot;</p><br
/> Then restart apache2:<br
/><p
class="command">/etc/init.d/apache2 restart</p><br
/> and check if the error has been resolved.</p><p>If the roor still occurs after some time, you will have to reduce the xcache.size.</p><p>Edite the xcache.ini file:<br
/><p
class="command">vi /etc/php5/conf.d/xcache.ini</p><br
/> and set xcache.size to e.g. 8 MB<br
/><p
class="system">xcache.size  =                8M</p><br
/> Then restart apache2:<br
/><p
class="command">/etc/init.d/apache2 restart</p></p><div
class="sociable"><div
class="sociable_tagline"> <strong>Share and Enjoy:</strong></div><ul><li
class="sociablefirst"><a
rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fhow-to-solve-the-php-xcache-error-devzero-no-space-left-on-device%2F&amp;partner=sociable" title="Print"><img
src="http://www.faqforge.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a></li><li><a
rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fhow-to-solve-the-php-xcache-error-devzero-no-space-left-on-device%2F&amp;title=How%20to%20solve%20the%20PHP%20XCache%20error%3A%20%2Fdev%2Fzero%3A%20No%20space%20left%20on%20device&amp;bodytext=If%20you%20get%20the%20error%20%22%2Fdev%2Fzero%3A%20No%20space%20left%20on%20device%22%20in%20the%20apache%20error.log%20on%20a%20OpenVZ%20virtual%20machine%2C%20then%20the%20shared%20memory%20size%20in%20the%20xcache.ini%20is%20too%20high%20or%20the%20xcache.mm_path%20is%20set%20wrong.%0D%0A%0D%0AEdit%20the%20file%20%2Fetc%2Fphp5%2Fconf.d%2Fxcache.ini%0D" title="Digg"><img
src="http://www.faqforge.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li><li><a
rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fhow-to-solve-the-php-xcache-error-devzero-no-space-left-on-device%2F&amp;title=How%20to%20solve%20the%20PHP%20XCache%20error%3A%20%2Fdev%2Fzero%3A%20No%20space%20left%20on%20device&amp;notes=If%20you%20get%20the%20error%20%22%2Fdev%2Fzero%3A%20No%20space%20left%20on%20device%22%20in%20the%20apache%20error.log%20on%20a%20OpenVZ%20virtual%20machine%2C%20then%20the%20shared%20memory%20size%20in%20the%20xcache.ini%20is%20too%20high%20or%20the%20xcache.mm_path%20is%20set%20wrong.%0D%0A%0D%0AEdit%20the%20file%20%2Fetc%2Fphp5%2Fconf.d%2Fxcache.ini%0D" title="del.icio.us"><img
src="http://www.faqforge.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li><li><a
rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fhow-to-solve-the-php-xcache-error-devzero-no-space-left-on-device%2F&amp;t=How%20to%20solve%20the%20PHP%20XCache%20error%3A%20%2Fdev%2Fzero%3A%20No%20space%20left%20on%20device" title="Facebook"><img
src="http://www.faqforge.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li><li><a
rel="nofollow"  href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fhow-to-solve-the-php-xcache-error-devzero-no-space-left-on-device%2F&amp;title=How%20to%20solve%20the%20PHP%20XCache%20error%3A%20%2Fdev%2Fzero%3A%20No%20space%20left%20on%20device" title="Mixx"><img
src="http://www.faqforge.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a></li><li><a
rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fhow-to-solve-the-php-xcache-error-devzero-no-space-left-on-device%2F&amp;title=How%20to%20solve%20the%20PHP%20XCache%20error%3A%20%2Fdev%2Fzero%3A%20No%20space%20left%20on%20device&amp;annotation=If%20you%20get%20the%20error%20%22%2Fdev%2Fzero%3A%20No%20space%20left%20on%20device%22%20in%20the%20apache%20error.log%20on%20a%20OpenVZ%20virtual%20machine%2C%20then%20the%20shared%20memory%20size%20in%20the%20xcache.ini%20is%20too%20high%20or%20the%20xcache.mm_path%20is%20set%20wrong.%0D%0A%0D%0AEdit%20the%20file%20%2Fetc%2Fphp5%2Fconf.d%2Fxcache.ini%0D" title="Google Bookmarks"><img
src="http://www.faqforge.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li><li><a
rel="nofollow"  href="http://twitter.com/home?status=How%20to%20solve%20the%20PHP%20XCache%20error%3A%20%2Fdev%2Fzero%3A%20No%20space%20left%20on%20device%20-%20http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fhow-to-solve-the-php-xcache-error-devzero-no-space-left-on-device%2F" title="Twitter"><img
src="http://www.faqforge.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li><li><a
rel="nofollow"  href="http://www.friendfeed.com/share?title=How%20to%20solve%20the%20PHP%20XCache%20error%3A%20%2Fdev%2Fzero%3A%20No%20space%20left%20on%20device&amp;link=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fhow-to-solve-the-php-xcache-error-devzero-no-space-left-on-device%2F" title="FriendFeed"><img
src="http://www.faqforge.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a></li><li><a
rel="nofollow"  href="http://www.mister-wong.com/addurl/?bm_url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fhow-to-solve-the-php-xcache-error-devzero-no-space-left-on-device%2F&amp;bm_description=How%20to%20solve%20the%20PHP%20XCache%20error%3A%20%2Fdev%2Fzero%3A%20No%20space%20left%20on%20device&amp;plugin=soc" title="MisterWong"><img
src="http://www.faqforge.com/wp-content/plugins/sociable/images/misterwong.png" title="MisterWong" alt="MisterWong" class="sociable-hovers" /></a></li><li
class="sociablelast"><a
rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fhow-to-solve-the-php-xcache-error-devzero-no-space-left-on-device%2F&amp;title=How%20to%20solve%20the%20PHP%20XCache%20error%3A%20%2Fdev%2Fzero%3A%20No%20space%20left%20on%20device" title="StumbleUpon"><img
src="http://www.faqforge.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li></ul></div> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/controlpanels/how-to-solve-the-php-xcache-error-devzero-no-space-left-on-device/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Secure /tmp and /dev/shm directories in a OpenVZ enviroment</title><link>http://www.faqforge.com/linux/controlpanels/ispconfig2/secure-tmp-and-devshm-directories-in-a-openvz-enviroment/</link> <comments>http://www.faqforge.com/linux/controlpanels/ispconfig2/secure-tmp-and-devshm-directories-in-a-openvz-enviroment/#comments</comments> <pubDate>Tue, 31 Aug 2010 09:06:27 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[ISPConfig 2]]></category> <category><![CDATA[ISPConfig 3]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Virtualisation]]></category> <category><![CDATA[OpenVZ]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=504</guid> <description><![CDATA[The /tmp and /dev/shm directories of a OpenVZ virtual machine shall be mounted without suid and exec permissions. To achieve this, create a a shell script on the host server for every virtual machine which contains the commands to remount the directories. This script will be started automatically by openvz when the VM is started. [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fispconfig2%2Fsecure-tmp-and-devshm-directories-in-a-openvz-enviroment%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fispconfig2%2Fsecure-tmp-and-devshm-directories-in-a-openvz-enviroment%2F&amp;source=tweetmeme&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br
/> </a></div><p>The /tmp and /dev/shm directories of a OpenVZ virtual machine shall be mounted without suid and exec permissions. To achieve this, create a a shell script on the host server for every virtual machine which contains the commands to remount the directories. This script will be started automatically by openvz when the VM is started.</p><p>I will use VPSID as placeholder for the ID of the virtual machine in the commands and the script. Replace VPSID with the id of the virtual machine that you want to create the script for, e.g. replace VPSID with 101.</p><p>Create the script:<br
/><p
class="command">vi /etc/vz/conf/VPSID.mount</p><br
/> and insert the following lines:<br
/><pre><p class="system">#!/bin/bash
mount -n --bind -onosuid,noexec /vz/vps/VPSID/tmp /vz/root/VPSID/tmp
mount -n --bind -onosuid,noexec /vz/vps/VPSID/shm /vz/root/VPSID/dev/shm
exit ${?}</p></pre><br
/> now make the sscript executable:<br
/><p
class="command">chmod 700 /etc/vz/conf/VPSID.mount</p></p><div
class="sociable"><div
class="sociable_tagline"> <strong>Share and Enjoy:</strong></div><ul><li
class="sociablefirst"><a
rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fispconfig2%2Fsecure-tmp-and-devshm-directories-in-a-openvz-enviroment%2F&amp;partner=sociable" title="Print"><img
src="http://www.faqforge.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a></li><li><a
rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fispconfig2%2Fsecure-tmp-and-devshm-directories-in-a-openvz-enviroment%2F&amp;title=Secure%20%2Ftmp%20and%20%2Fdev%2Fshm%20directories%20in%20a%20OpenVZ%20enviroment&amp;bodytext=The%20%2Ftmp%20and%20%2Fdev%2Fshm%20directories%20of%20a%20OpenVZ%20virtual%20machine%20shall%20be%20mounted%20without%20suid%20and%20exec%20permissions.%20To%20achieve%20this%2C%20create%20a%20a%20shell%20script%20on%20the%20host%20server%20for%20every%20virtual%20machine%20which%20contains%20the%20commands%20to%20remount%20the%20directo" title="Digg"><img
src="http://www.faqforge.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li><li><a
rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fispconfig2%2Fsecure-tmp-and-devshm-directories-in-a-openvz-enviroment%2F&amp;title=Secure%20%2Ftmp%20and%20%2Fdev%2Fshm%20directories%20in%20a%20OpenVZ%20enviroment&amp;notes=The%20%2Ftmp%20and%20%2Fdev%2Fshm%20directories%20of%20a%20OpenVZ%20virtual%20machine%20shall%20be%20mounted%20without%20suid%20and%20exec%20permissions.%20To%20achieve%20this%2C%20create%20a%20a%20shell%20script%20on%20the%20host%20server%20for%20every%20virtual%20machine%20which%20contains%20the%20commands%20to%20remount%20the%20directo" title="del.icio.us"><img
src="http://www.faqforge.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li><li><a
rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fispconfig2%2Fsecure-tmp-and-devshm-directories-in-a-openvz-enviroment%2F&amp;t=Secure%20%2Ftmp%20and%20%2Fdev%2Fshm%20directories%20in%20a%20OpenVZ%20enviroment" title="Facebook"><img
src="http://www.faqforge.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li><li><a
rel="nofollow"  href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fispconfig2%2Fsecure-tmp-and-devshm-directories-in-a-openvz-enviroment%2F&amp;title=Secure%20%2Ftmp%20and%20%2Fdev%2Fshm%20directories%20in%20a%20OpenVZ%20enviroment" title="Mixx"><img
src="http://www.faqforge.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a></li><li><a
rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fispconfig2%2Fsecure-tmp-and-devshm-directories-in-a-openvz-enviroment%2F&amp;title=Secure%20%2Ftmp%20and%20%2Fdev%2Fshm%20directories%20in%20a%20OpenVZ%20enviroment&amp;annotation=The%20%2Ftmp%20and%20%2Fdev%2Fshm%20directories%20of%20a%20OpenVZ%20virtual%20machine%20shall%20be%20mounted%20without%20suid%20and%20exec%20permissions.%20To%20achieve%20this%2C%20create%20a%20a%20shell%20script%20on%20the%20host%20server%20for%20every%20virtual%20machine%20which%20contains%20the%20commands%20to%20remount%20the%20directo" title="Google Bookmarks"><img
src="http://www.faqforge.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li><li><a
rel="nofollow"  href="http://twitter.com/home?status=Secure%20%2Ftmp%20and%20%2Fdev%2Fshm%20directories%20in%20a%20OpenVZ%20enviroment%20-%20http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fispconfig2%2Fsecure-tmp-and-devshm-directories-in-a-openvz-enviroment%2F" title="Twitter"><img
src="http://www.faqforge.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li><li><a
rel="nofollow"  href="http://www.friendfeed.com/share?title=Secure%20%2Ftmp%20and%20%2Fdev%2Fshm%20directories%20in%20a%20OpenVZ%20enviroment&amp;link=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fispconfig2%2Fsecure-tmp-and-devshm-directories-in-a-openvz-enviroment%2F" title="FriendFeed"><img
src="http://www.faqforge.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a></li><li><a
rel="nofollow"  href="http://www.mister-wong.com/addurl/?bm_url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fispconfig2%2Fsecure-tmp-and-devshm-directories-in-a-openvz-enviroment%2F&amp;bm_description=Secure%20%2Ftmp%20and%20%2Fdev%2Fshm%20directories%20in%20a%20OpenVZ%20enviroment&amp;plugin=soc" title="MisterWong"><img
src="http://www.faqforge.com/wp-content/plugins/sociable/images/misterwong.png" title="MisterWong" alt="MisterWong" class="sociable-hovers" /></a></li><li
class="sociablelast"><a
rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fispconfig2%2Fsecure-tmp-and-devshm-directories-in-a-openvz-enviroment%2F&amp;title=Secure%20%2Ftmp%20and%20%2Fdev%2Fshm%20directories%20in%20a%20OpenVZ%20enviroment" title="StumbleUpon"><img
src="http://www.faqforge.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li></ul></div> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/controlpanels/ispconfig2/secure-tmp-and-devshm-directories-in-a-openvz-enviroment/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Migrate physical server system to OpenVZ virtual machine</title><link>http://www.faqforge.com/linux/controlpanels/migrate-physical-server-system-to-openvz-virtual-machine/</link> <comments>http://www.faqforge.com/linux/controlpanels/migrate-physical-server-system-to-openvz-virtual-machine/#comments</comments> <pubDate>Tue, 31 Aug 2010 08:51:13 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[Controlpanels]]></category> <category><![CDATA[ISPConfig 2]]></category> <category><![CDATA[ISPConfig 3]]></category> <category><![CDATA[Virtualisation]]></category> <category><![CDATA[OpenVZ]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=501</guid> <description><![CDATA[In case you plan to virtualize your server infrastructure and migrate physical servers to OpenVZ virtual machines, you may find this tutorial helpful: http://wiki.openvz.org/Physical_to_container I used this to migrate a ISPConfig Debian system to OpenVZ successfully. Share and Enjoy:]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fmigrate-physical-server-system-to-openvz-virtual-machine%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fmigrate-physical-server-system-to-openvz-virtual-machine%2F&amp;source=tweetmeme&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br
/> </a></div><p>In case you plan to virtualize your server infrastructure and migrate physical servers to OpenVZ virtual machines, you may find this tutorial helpful:</p><p><a
href="http://wiki.openvz.org/Physical_to_container" target="_blank">http://wiki.openvz.org/Physical_to_container</a></p><p>I used this to migrate a ISPConfig Debian system to OpenVZ successfully.</p><div
class="sociable"><div
class="sociable_tagline"> <strong>Share and Enjoy:</strong></div><ul><li
class="sociablefirst"><a
rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fmigrate-physical-server-system-to-openvz-virtual-machine%2F&amp;partner=sociable" title="Print"><img
src="http://www.faqforge.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a></li><li><a
rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fmigrate-physical-server-system-to-openvz-virtual-machine%2F&amp;title=Migrate%20physical%20server%20system%20to%20OpenVZ%20virtual%20machine&amp;bodytext=In%20case%20you%20plan%20to%20virtualize%20your%20server%20infrastructure%20and%20migrate%20physical%20servers%20to%20OpenVZ%20virtual%20machines%2C%20you%20may%20find%20this%20tutorial%20helpful%3A%0D%0A%0D%0Ahttp%3A%2F%2Fwiki.openvz.org%2FPhysical_to_container%0D%0A%0D%0AI%20used%20this%20to%20migrate%20a%20ISPConfig%20Debian%20system" title="Digg"><img
src="http://www.faqforge.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li><li><a
rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fmigrate-physical-server-system-to-openvz-virtual-machine%2F&amp;title=Migrate%20physical%20server%20system%20to%20OpenVZ%20virtual%20machine&amp;notes=In%20case%20you%20plan%20to%20virtualize%20your%20server%20infrastructure%20and%20migrate%20physical%20servers%20to%20OpenVZ%20virtual%20machines%2C%20you%20may%20find%20this%20tutorial%20helpful%3A%0D%0A%0D%0Ahttp%3A%2F%2Fwiki.openvz.org%2FPhysical_to_container%0D%0A%0D%0AI%20used%20this%20to%20migrate%20a%20ISPConfig%20Debian%20system" title="del.icio.us"><img
src="http://www.faqforge.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li><li><a
rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fmigrate-physical-server-system-to-openvz-virtual-machine%2F&amp;t=Migrate%20physical%20server%20system%20to%20OpenVZ%20virtual%20machine" title="Facebook"><img
src="http://www.faqforge.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li><li><a
rel="nofollow"  href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fmigrate-physical-server-system-to-openvz-virtual-machine%2F&amp;title=Migrate%20physical%20server%20system%20to%20OpenVZ%20virtual%20machine" title="Mixx"><img
src="http://www.faqforge.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a></li><li><a
rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fmigrate-physical-server-system-to-openvz-virtual-machine%2F&amp;title=Migrate%20physical%20server%20system%20to%20OpenVZ%20virtual%20machine&amp;annotation=In%20case%20you%20plan%20to%20virtualize%20your%20server%20infrastructure%20and%20migrate%20physical%20servers%20to%20OpenVZ%20virtual%20machines%2C%20you%20may%20find%20this%20tutorial%20helpful%3A%0D%0A%0D%0Ahttp%3A%2F%2Fwiki.openvz.org%2FPhysical_to_container%0D%0A%0D%0AI%20used%20this%20to%20migrate%20a%20ISPConfig%20Debian%20system" title="Google Bookmarks"><img
src="http://www.faqforge.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li><li><a
rel="nofollow"  href="http://twitter.com/home?status=Migrate%20physical%20server%20system%20to%20OpenVZ%20virtual%20machine%20-%20http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fmigrate-physical-server-system-to-openvz-virtual-machine%2F" title="Twitter"><img
src="http://www.faqforge.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li><li><a
rel="nofollow"  href="http://www.friendfeed.com/share?title=Migrate%20physical%20server%20system%20to%20OpenVZ%20virtual%20machine&amp;link=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fmigrate-physical-server-system-to-openvz-virtual-machine%2F" title="FriendFeed"><img
src="http://www.faqforge.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a></li><li><a
rel="nofollow"  href="http://www.mister-wong.com/addurl/?bm_url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fmigrate-physical-server-system-to-openvz-virtual-machine%2F&amp;bm_description=Migrate%20physical%20server%20system%20to%20OpenVZ%20virtual%20machine&amp;plugin=soc" title="MisterWong"><img
src="http://www.faqforge.com/wp-content/plugins/sociable/images/misterwong.png" title="MisterWong" alt="MisterWong" class="sociable-hovers" /></a></li><li
class="sociablelast"><a
rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fmigrate-physical-server-system-to-openvz-virtual-machine%2F&amp;title=Migrate%20physical%20server%20system%20to%20OpenVZ%20virtual%20machine" title="StumbleUpon"><img
src="http://www.faqforge.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li></ul></div> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/controlpanels/migrate-physical-server-system-to-openvz-virtual-machine/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Backing up OpenVZ virtual machines with vzdump</title><link>http://www.faqforge.com/linux/virtualisation/backing-up-openvz-virtual-machines-with-vzdump/</link> <comments>http://www.faqforge.com/linux/virtualisation/backing-up-openvz-virtual-machines-with-vzdump/#comments</comments> <pubDate>Tue, 04 Aug 2009 20:30:56 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[Virtualisation]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[OpenVZ]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=117</guid> <description><![CDATA[Vzdump is a perl script that makes live backups of OpenVZ virtual machines very easy. The following steps are for Debian Linux but vzdump can be used on all other linux distributions. Only the installation may vary. Download and install vzdump from http://download.openvz.org/contrib/utils/vzdump/ cd /tmp wget http://download.openvz.org/contrib/utils/vzdump/vzdump_1.1-2_all.deb dpkg -i vzdump_1.1-2_all.deb Create the backup directory &#60;p [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fvirtualisation%2Fbacking-up-openvz-virtual-machines-with-vzdump%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fvirtualisation%2Fbacking-up-openvz-virtual-machines-with-vzdump%2F&amp;source=tweetmeme&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br
/> </a></div><p>Vzdump is a perl script that makes live backups of OpenVZ virtual machines very easy. The following steps are for Debian Linux but vzdump can be used on all other linux distributions. Only the installation may vary.</p><p>Download and install vzdump from <a
href="http://download.openvz.org/contrib/utils/vzdump/">http://download.openvz.org/contrib/utils/vzdump/</a><br
/><pre><p class="command">cd /tmp
wget http://download.openvz.org/contrib/utils/vzdump/vzdump_1.1-2_all.deb
dpkg -i vzdump_1.1-2_all.deb

Create the backup directory
&lt;p class=&quot;command&quot;&gt;mkdir /home/backup</p></pre></p><p>Create a backup of all virtual machines as compressed (tar.gz) archive and send a email report to the root user when finished.<br
/><p
class="command">vzdump --dumpdir /home/backup --suspend --compress --mailto root --all</p></p><p>vzdump can also be used to restore a backup.  Example: restore the backup of the virtual machine 101:<br
/><p
class="command">vzdump --restore /home/backup/vzdump-101.tgz 101</p></p><p>To restore the backup to a different virtual machine, you can specify a differnt target ID. E.g. restore the backup of vm 101 to the virtual machine with the ID 500:<br
/><p
class="command">vzdump --restore /home/backup/vzdump-101.tgz 500</p></p><div
class="sociable"><div
class="sociable_tagline"> <strong>Share and Enjoy:</strong></div><ul><li
class="sociablefirst"><a
rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fvirtualisation%2Fbacking-up-openvz-virtual-machines-with-vzdump%2F&amp;partner=sociable" title="Print"><img
src="http://www.faqforge.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a></li><li><a
rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fvirtualisation%2Fbacking-up-openvz-virtual-machines-with-vzdump%2F&amp;title=Backing%20up%20OpenVZ%20virtual%20machines%20with%20vzdump&amp;bodytext=Vzdump%20is%20a%20perl%20script%20that%20makes%20live%20backups%20of%20OpenVZ%20virtual%20machines%20very%20easy.%20The%20following%20steps%20are%20for%20Debian%20Linux%20but%20vzdump%20can%20be%20used%20on%20all%20other%20linux%20distributions.%20Only%20the%20installation%20may%20vary.%0D%0A%0D%0ADownload%20and%20install%20vzdump%20fro" title="Digg"><img
src="http://www.faqforge.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li><li><a
rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fvirtualisation%2Fbacking-up-openvz-virtual-machines-with-vzdump%2F&amp;title=Backing%20up%20OpenVZ%20virtual%20machines%20with%20vzdump&amp;notes=Vzdump%20is%20a%20perl%20script%20that%20makes%20live%20backups%20of%20OpenVZ%20virtual%20machines%20very%20easy.%20The%20following%20steps%20are%20for%20Debian%20Linux%20but%20vzdump%20can%20be%20used%20on%20all%20other%20linux%20distributions.%20Only%20the%20installation%20may%20vary.%0D%0A%0D%0ADownload%20and%20install%20vzdump%20fro" title="del.icio.us"><img
src="http://www.faqforge.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li><li><a
rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fvirtualisation%2Fbacking-up-openvz-virtual-machines-with-vzdump%2F&amp;t=Backing%20up%20OpenVZ%20virtual%20machines%20with%20vzdump" title="Facebook"><img
src="http://www.faqforge.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li><li><a
rel="nofollow"  href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fvirtualisation%2Fbacking-up-openvz-virtual-machines-with-vzdump%2F&amp;title=Backing%20up%20OpenVZ%20virtual%20machines%20with%20vzdump" title="Mixx"><img
src="http://www.faqforge.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a></li><li><a
rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fvirtualisation%2Fbacking-up-openvz-virtual-machines-with-vzdump%2F&amp;title=Backing%20up%20OpenVZ%20virtual%20machines%20with%20vzdump&amp;annotation=Vzdump%20is%20a%20perl%20script%20that%20makes%20live%20backups%20of%20OpenVZ%20virtual%20machines%20very%20easy.%20The%20following%20steps%20are%20for%20Debian%20Linux%20but%20vzdump%20can%20be%20used%20on%20all%20other%20linux%20distributions.%20Only%20the%20installation%20may%20vary.%0D%0A%0D%0ADownload%20and%20install%20vzdump%20fro" title="Google Bookmarks"><img
src="http://www.faqforge.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li><li><a
rel="nofollow"  href="http://twitter.com/home?status=Backing%20up%20OpenVZ%20virtual%20machines%20with%20vzdump%20-%20http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fvirtualisation%2Fbacking-up-openvz-virtual-machines-with-vzdump%2F" title="Twitter"><img
src="http://www.faqforge.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li><li><a
rel="nofollow"  href="http://www.friendfeed.com/share?title=Backing%20up%20OpenVZ%20virtual%20machines%20with%20vzdump&amp;link=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fvirtualisation%2Fbacking-up-openvz-virtual-machines-with-vzdump%2F" title="FriendFeed"><img
src="http://www.faqforge.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a></li><li><a
rel="nofollow"  href="http://www.mister-wong.com/addurl/?bm_url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fvirtualisation%2Fbacking-up-openvz-virtual-machines-with-vzdump%2F&amp;bm_description=Backing%20up%20OpenVZ%20virtual%20machines%20with%20vzdump&amp;plugin=soc" title="MisterWong"><img
src="http://www.faqforge.com/wp-content/plugins/sociable/images/misterwong.png" title="MisterWong" alt="MisterWong" class="sociable-hovers" /></a></li><li
class="sociablelast"><a
rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fvirtualisation%2Fbacking-up-openvz-virtual-machines-with-vzdump%2F&amp;title=Backing%20up%20OpenVZ%20virtual%20machines%20with%20vzdump" title="StumbleUpon"><img
src="http://www.faqforge.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li></ul></div> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/virtualisation/backing-up-openvz-virtual-machines-with-vzdump/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 16/34 queries in 0.017 seconds using disk

Served from: www.faqforge.com @ 2010-09-06 18:22:43 -->