<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.openvz.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Fayette</id>
	<title>OpenVZ Virtuozzo Containers Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.openvz.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Fayette"/>
	<link rel="alternate" type="text/html" href="https://wiki.openvz.org/Special:Contributions/Fayette"/>
	<updated>2026-06-13T16:32:39Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=User_talk:Fayette&amp;diff=9321</id>
		<title>User talk:Fayette</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=User_talk:Fayette&amp;diff=9321"/>
		<updated>2010-11-04T10:37:30Z</updated>

		<summary type="html">&lt;p&gt;Fayette: /* Ubuntu Lucid */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Ubuntu Lucid ==&lt;br /&gt;
* (from comment in [[Ubuntu Lucid]] page) Why zlib1g-dev package is needed? There is some strange if you have obtained a 2.6.32.14-ovz32 kernel, when with the guide you should be compiling at least for 2.6.32.22-openvz. Have you seen the updated guide? --[[User:Narcisgarcia|Narcis Garcia]] 10:06, 4 November 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
* I can't say why it was needed other than the compile failed with a missing zlib.h, if I recall correctly.  I followed the instructions on the web site.  I can't say for sure how I arrived at 2.6.32.14 but I recall having some difficulty locating the kernel source.  I will go back and see if I can find a newer kernel and try again.  Thanks, Jim.&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Ubuntu_Lucid&amp;diff=9318</id>
		<title>Ubuntu Lucid</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Ubuntu_Lucid&amp;diff=9318"/>
		<updated>2010-11-04T09:49:22Z</updated>

		<summary type="html">&lt;p&gt;Fayette: Added a dependency and results.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There is a guide to install and run OpenVZ in Ubuntu GNU/Linux 10.04 LTS (Lucid Lynx), when the patch for Linux 2.6.32 is not yet completely stable:&lt;br /&gt;
&lt;br /&gt;
[https://help.ubuntu.com/community/OpenVZ#10.04%20LTS%20(Lucid) https://help.ubuntu.com/community/OpenVZ#10.04 LTS (Lucid)]&lt;br /&gt;
&lt;br /&gt;
Note: there is at least one missing dependency.  Be sure zlib1g-dev is installed before you attempt to build an OpenVZ kernel using this guide.  &lt;br /&gt;
&lt;br /&gt;
 uname -a&lt;br /&gt;
 Linux chinaberry 2.6.32.14-ovz32 #1 SMP Sat Oct 30 09:22:38 EDT 2010 i686 GNU/Linux&lt;br /&gt;
&lt;br /&gt;
It's working for me.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Debian]]&lt;br /&gt;
[[Category:Ubuntu]]&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Locales_inside_VE&amp;diff=9317</id>
		<title>Locales inside VE</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Locales_inside_VE&amp;diff=9317"/>
		<updated>2010-11-04T09:38:09Z</updated>

		<summary type="html">&lt;p&gt;Fayette: Added one more fix&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Problem description ==&lt;br /&gt;
&lt;br /&gt;
After creating a VE (e.g. using centos-4-i386-default template)&lt;br /&gt;
running perl (any perl script), results in the warning message:&lt;br /&gt;
&lt;br /&gt;
 perl: warning: Setting locale failed.&lt;br /&gt;
 perl: warning: Please check that your locale settings:&lt;br /&gt;
         LANGUAGE = &amp;quot;en_US:en&amp;quot;,&lt;br /&gt;
         LC_ALL = (unset),&lt;br /&gt;
         LANG = &amp;quot;en_US&amp;quot;&lt;br /&gt;
     are supported and installed on your system.&lt;br /&gt;
 perl: warning: Falling back to the standard locale (&amp;quot;C&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
Another common problem is with PostgreSQL, if it won't start up and you see something like this in your &amp;amp;lt;pgsql_data_dir&amp;amp;gt;/serverlog:&lt;br /&gt;
&lt;br /&gt;
 invalid value for parameter &amp;quot;lc_messages&amp;quot;: &amp;quot;en_US.UTF-8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Resolution ==&lt;br /&gt;
&lt;br /&gt;
Some of templates have removed locales inside, since locales take really much space (~20Mb)&lt;br /&gt;
while not needed in most cases (except for the default &amp;quot;C&amp;quot; locale).&lt;br /&gt;
&lt;br /&gt;
So in this example '''/usr/lib/locale/en_US/LC_TIME''' and other files are missing.&lt;br /&gt;
&lt;br /&gt;
== Fix 1 ==&lt;br /&gt;
&lt;br /&gt;
reinstall glibc-common package using the command:&lt;br /&gt;
 # rpm -ihv --force glibc-common.rpm&lt;br /&gt;
&lt;br /&gt;
== Fix 2 ==&lt;br /&gt;
&lt;br /&gt;
Or '''disable''' overriding of LC_* variables in '''/etc/ssh/sshd_config''':&lt;br /&gt;
&lt;br /&gt;
 # Allow client to pass locale environment variables&lt;br /&gt;
 AcceptEnv LANG LC_*&lt;br /&gt;
&lt;br /&gt;
to&lt;br /&gt;
&lt;br /&gt;
 #AcceptEnv LANG LC_*&lt;br /&gt;
&lt;br /&gt;
so the default LC will be used.&lt;br /&gt;
&lt;br /&gt;
== Fix 3 ==&lt;br /&gt;
&lt;br /&gt;
To fix this permanently for all new vzs you create, edit your '''/vz/templates/&amp;amp;lt;distro&amp;amp;gt;/&amp;amp;lt;version&amp;amp;gt;/&amp;amp;lt;platform&amp;amp;gt;/.rpmmacros''' and change the line &amp;lt;b&amp;gt;%_install_langs C&amp;lt;/b&amp;gt;&lt;br /&gt;
to include the language(s) you want, for example:&lt;br /&gt;
&lt;br /&gt;
 %_install_langs C:pt_PT:pt_PT.UTF-8:en_US:en_US.UTF-8&lt;br /&gt;
&lt;br /&gt;
or simply&lt;br /&gt;
&lt;br /&gt;
 %_install_langs all&lt;br /&gt;
&lt;br /&gt;
After this you will need to rebuild your [[OS template cache]], for example:&lt;br /&gt;
&lt;br /&gt;
 vzpkgcache -r centos-4-i386-vmirth&lt;br /&gt;
 vzpkgcache centos-4-i386-vmirth&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Troubleshooting]]&lt;br /&gt;
[[Category: Templates]]&lt;br /&gt;
&lt;br /&gt;
== Fix 4 (working on Ubuntu 8.04) ==&lt;br /&gt;
&lt;br /&gt;
Simply install this package:&lt;br /&gt;
&lt;br /&gt;
 aptitude install language-pack-en-base&lt;br /&gt;
&lt;br /&gt;
== Fix 5 (works on Debian-like systems) ==&lt;br /&gt;
&lt;br /&gt;
Generate the locale:&lt;br /&gt;
 dpkg-reconfigure locales&lt;br /&gt;
select the one missing and generate.&lt;br /&gt;
&lt;br /&gt;
== Fix 6 (should work on recent Debian and Ubuntu distros) ==&lt;br /&gt;
&lt;br /&gt;
 export LANGUAGE=en_US.UTF-8&lt;br /&gt;
 export LANG=en_US.UTF-8&lt;br /&gt;
 export LC_ALL=en_US.UTF-8&lt;br /&gt;
 locale-gen en_US.UTF-8&lt;br /&gt;
 dpkg-reconfigure locales&lt;br /&gt;
&lt;br /&gt;
Obviously change the en_US to your preferred language.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Troubleshooting]]&lt;br /&gt;
[[Category: Templates]]&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Control_panels&amp;diff=7532</id>
		<title>Control panels</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Control_panels&amp;diff=7532"/>
		<updated>2009-09-17T14:55:39Z</updated>

		<summary type="html">&lt;p&gt;Fayette: /* Proprietary / non-free */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains links to different control panels for OpenVZ, written by third parties. If you know the project that's missing here, please add it.&lt;br /&gt;
&lt;br /&gt;
== Free software / Open source (in alphabetical order) ==&lt;br /&gt;
* fosvm (Free Open Source Virtual Machine manager): [http://fosvm.sourceforge.net/ homepage] |  Uses php and bash scripts, monitors bandwidth, Version 0.02a. Last updated 2009-05-15.&lt;br /&gt;
* Proxmox Virtual Environment: [http://pve.proxmox.com Proxmox VE Wiki] - including bare-metal ISO installer&lt;br /&gt;
* [http://solukom.com/software/slkvm slkvm]: console scripts to handle vz virtualization in a two node cluster.&lt;br /&gt;
* unxsVZ OpenVZ Infrastructure Manager: [http://openisp.net/openisp/unxsVZ unxsVZ Trac Wiki] | Includes autonomic UBC adjusting and per container traffic graphs. Supports hot-spare clones and mount/umount conf file templates. Very active development. Last change to public svn code base June 20, 2009. &lt;br /&gt;
* Webmin: [http://www.webmin.com/ homepage] | [http://www.webmin.com/cgi-bin/search_third.cgi?search=OpenVZ OpenVZ plugin] | Version 1.0, last updated 2006-02-07&lt;br /&gt;
* WebVZ: [http://webvz.sourceforge.net/ homepage] Uses Ruby on Rails which makes it a poor choice for Debian, Ubuntu and other .deb style distros.  In the comments section of http://www.howtoforge.com/install-webvz-2.0-on-debian-etch-to-administrate-openvz there is a suggestion of how to get this one running under Ubuntu Hardy.  The authors like it.&lt;br /&gt;
&lt;br /&gt;
== Proprietary / non-free ==&lt;br /&gt;
* Panenthe: [http://www.panenthe.com/ homepage (English)] • [http://www.panenthe.com/products/panenthe-media/cat_id=4/ Screen shots] &lt;br /&gt;
* vePortal: [http://www.veportal.com/ homepage (English)] • [http://www.veportal.com/index.php?cmd=screenshots Screen shots]&lt;br /&gt;
* FluidVM: [http://www.fluidvm.com Home Page]&lt;br /&gt;
* VZ-Manager: [http://vzmanager.de/ homepage (German)]&lt;br /&gt;
* vzAdmin: [http://www.vzAdmin.info/ homepage (German)]&lt;br /&gt;
* Aventurin{e}: [http://www.aventurin.net/ homepage (English)]&lt;br /&gt;
* SolusVM [http://www.solusvm.com homepage], Appears to be reasonably priced.  Advertised as $10 per node.&lt;br /&gt;
*vcPanel :[http://vcpanel.net Home Page], The first centralized VPS control panel for managing VPS around the globe [http://vcpanel.net/Demo Demo]&lt;br /&gt;
&lt;br /&gt;
== Frozen projects ==&lt;br /&gt;
* VZAdmin: [http://www.ronny-goerner.de/ homepage] ''seems not available now''&lt;br /&gt;
* WVZ: [http://homaly.dunanet.hu/wvz/ homepage] ''seems frozen''&lt;br /&gt;
* New OpenVZ Web Based Control Panel by rsailor: {{forum|230}} ''seems not available now''&lt;br /&gt;
* EasyVZ: [http://easyvz.sourceforge.net/ screenshots] | [http://sourceforge.net/projects/easyvz sf.net project page] (little bit outdated, but working and free.  Last update Feb 2007) (requires Unix/Linux)&lt;br /&gt;
* Mwamko: [http://mwamko.devjavu.com/ homepage] Last activity May 2007&lt;br /&gt;
* RoboVZ: [http://sharesource.org/project/robovz homepage] {{forum|2559}} Lots of promises since announced in May 2007, nothing usable yet.  Possibly GPL license.  No activity in 2 years, calling it frozen.&lt;br /&gt;
* HyperVM: [http://lxlabs.com/software/hypervm/ homepage] - No longer being developed after the sole developer sadly committed suicide in June 09.&lt;br /&gt;
* Vtonf: [http://www.vtonf.com/ homepage] | According to the documentation only runs on CentOS 4.5 or higher. Last change April 2008 - No longer supported. Does not work on CentOS 5+. Web page is no longer valid.  Consider this one dead.&lt;br /&gt;
* WIVZ/GIVZ: [http://source.icenetx.net/ homepage] Release scheduled for October 2008 - never released.  Unknown license.&lt;br /&gt;
&lt;br /&gt;
== In development ==&lt;br /&gt;
* VS-Admin: [http://www.veportal.com/ homepage] Beta testers wanted (19-06-2009) - Project Changed to vePortal.&lt;br /&gt;
* speedCP [http://blog.vpsspeed.com/tag/speedcp homepage] Developed by an in-house team from VPSSpeed.com - Private licensing on request.&lt;br /&gt;
* SolusVM [http://www.solusvm.com homepage] In development - Initial release release scheduled for August 21st 2009. Released August 14th 1009.&lt;br /&gt;
* VZWave [http://www.vzwave.com homepage] In development - release expected July 09.&lt;br /&gt;
* DTC-Xen [http://www.gplhost.com/software-dtc-xen.html homepage] - Currently being ported to OpenVZ by its main developers.&lt;br /&gt;
* vpsAdmin [http://www.vpsadmin.org/ homepage] - In development - available from mercurial repository, GPLv3 license, stable release scheduled for October 1, 2009&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Control_panels&amp;diff=7531</id>
		<title>Control panels</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Control_panels&amp;diff=7531"/>
		<updated>2009-09-17T14:53:50Z</updated>

		<summary type="html">&lt;p&gt;Fayette: /* In development */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains links to different control panels for OpenVZ, written by third parties. If you know the project that's missing here, please add it.&lt;br /&gt;
&lt;br /&gt;
== Free software / Open source (in alphabetical order) ==&lt;br /&gt;
* fosvm (Free Open Source Virtual Machine manager): [http://fosvm.sourceforge.net/ homepage] |  Uses php and bash scripts, monitors bandwidth, Version 0.02a. Last updated 2009-05-15.&lt;br /&gt;
* Proxmox Virtual Environment: [http://pve.proxmox.com Proxmox VE Wiki] - including bare-metal ISO installer&lt;br /&gt;
* [http://solukom.com/software/slkvm slkvm]: console scripts to handle vz virtualization in a two node cluster.&lt;br /&gt;
* unxsVZ OpenVZ Infrastructure Manager: [http://openisp.net/openisp/unxsVZ unxsVZ Trac Wiki] | Includes autonomic UBC adjusting and per container traffic graphs. Supports hot-spare clones and mount/umount conf file templates. Very active development. Last change to public svn code base June 20, 2009. &lt;br /&gt;
* Webmin: [http://www.webmin.com/ homepage] | [http://www.webmin.com/cgi-bin/search_third.cgi?search=OpenVZ OpenVZ plugin] | Version 1.0, last updated 2006-02-07&lt;br /&gt;
* WebVZ: [http://webvz.sourceforge.net/ homepage] Uses Ruby on Rails which makes it a poor choice for Debian, Ubuntu and other .deb style distros.  In the comments section of http://www.howtoforge.com/install-webvz-2.0-on-debian-etch-to-administrate-openvz there is a suggestion of how to get this one running under Ubuntu Hardy.  The authors like it.&lt;br /&gt;
&lt;br /&gt;
== Proprietary / non-free ==&lt;br /&gt;
* Panenthe: [http://www.panenthe.com/ homepage (English)] • [http://www.panenthe.com/products/panenthe-media/cat_id=4/ Screen shots] &lt;br /&gt;
* vePortal: [http://www.veportal.com/ homepage (English)] • [http://www.veportal.com/index.php?cmd=screenshots Screen shots]&lt;br /&gt;
* FluidVM: [http://www.fluidvm.com Home Page]&lt;br /&gt;
* VZ-Manager: [http://vzmanager.de/ homepage (German)]&lt;br /&gt;
* vzAdmin: [http://www.vzAdmin.info/ homepage (German)]&lt;br /&gt;
* Aventurin{e}: [http://www.aventurin.net/ homepage (English)]&lt;br /&gt;
* SolusVM [http://www.solusvm.com homepage]&lt;br /&gt;
*vcPanel :[http://vcpanel.net Home Page], The first centralized VPS control panel for managing VPS around the globe [http://vcpanel.net/Demo Demo]&lt;br /&gt;
&lt;br /&gt;
== Frozen projects ==&lt;br /&gt;
* VZAdmin: [http://www.ronny-goerner.de/ homepage] ''seems not available now''&lt;br /&gt;
* WVZ: [http://homaly.dunanet.hu/wvz/ homepage] ''seems frozen''&lt;br /&gt;
* New OpenVZ Web Based Control Panel by rsailor: {{forum|230}} ''seems not available now''&lt;br /&gt;
* EasyVZ: [http://easyvz.sourceforge.net/ screenshots] | [http://sourceforge.net/projects/easyvz sf.net project page] (little bit outdated, but working and free.  Last update Feb 2007) (requires Unix/Linux)&lt;br /&gt;
* Mwamko: [http://mwamko.devjavu.com/ homepage] Last activity May 2007&lt;br /&gt;
* RoboVZ: [http://sharesource.org/project/robovz homepage] {{forum|2559}} Lots of promises since announced in May 2007, nothing usable yet.  Possibly GPL license.  No activity in 2 years, calling it frozen.&lt;br /&gt;
* HyperVM: [http://lxlabs.com/software/hypervm/ homepage] - No longer being developed after the sole developer sadly committed suicide in June 09.&lt;br /&gt;
* Vtonf: [http://www.vtonf.com/ homepage] | According to the documentation only runs on CentOS 4.5 or higher. Last change April 2008 - No longer supported. Does not work on CentOS 5+. Web page is no longer valid.  Consider this one dead.&lt;br /&gt;
* WIVZ/GIVZ: [http://source.icenetx.net/ homepage] Release scheduled for October 2008 - never released.  Unknown license.&lt;br /&gt;
&lt;br /&gt;
== In development ==&lt;br /&gt;
* VS-Admin: [http://www.veportal.com/ homepage] Beta testers wanted (19-06-2009) - Project Changed to vePortal.&lt;br /&gt;
* speedCP [http://blog.vpsspeed.com/tag/speedcp homepage] Developed by an in-house team from VPSSpeed.com - Private licensing on request.&lt;br /&gt;
* SolusVM [http://www.solusvm.com homepage] In development - Initial release release scheduled for August 21st 2009. Released August 14th 1009.&lt;br /&gt;
* VZWave [http://www.vzwave.com homepage] In development - release expected July 09.&lt;br /&gt;
* DTC-Xen [http://www.gplhost.com/software-dtc-xen.html homepage] - Currently being ported to OpenVZ by its main developers.&lt;br /&gt;
* vpsAdmin [http://www.vpsadmin.org/ homepage] - In development - available from mercurial repository, GPLv3 license, stable release scheduled for October 1, 2009&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Control_panels&amp;diff=7530</id>
		<title>Control panels</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Control_panels&amp;diff=7530"/>
		<updated>2009-09-17T14:43:16Z</updated>

		<summary type="html">&lt;p&gt;Fayette: /* Frozen projects */  Marked vtonf as a dead project.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains links to different control panels for OpenVZ, written by third parties. If you know the project that's missing here, please add it.&lt;br /&gt;
&lt;br /&gt;
== Free software / Open source (in alphabetical order) ==&lt;br /&gt;
* fosvm (Free Open Source Virtual Machine manager): [http://fosvm.sourceforge.net/ homepage] |  Uses php and bash scripts, monitors bandwidth, Version 0.02a. Last updated 2009-05-15.&lt;br /&gt;
* Proxmox Virtual Environment: [http://pve.proxmox.com Proxmox VE Wiki] - including bare-metal ISO installer&lt;br /&gt;
* [http://solukom.com/software/slkvm slkvm]: console scripts to handle vz virtualization in a two node cluster.&lt;br /&gt;
* unxsVZ OpenVZ Infrastructure Manager: [http://openisp.net/openisp/unxsVZ unxsVZ Trac Wiki] | Includes autonomic UBC adjusting and per container traffic graphs. Supports hot-spare clones and mount/umount conf file templates. Very active development. Last change to public svn code base June 20, 2009. &lt;br /&gt;
* Webmin: [http://www.webmin.com/ homepage] | [http://www.webmin.com/cgi-bin/search_third.cgi?search=OpenVZ OpenVZ plugin] | Version 1.0, last updated 2006-02-07&lt;br /&gt;
* WebVZ: [http://webvz.sourceforge.net/ homepage] Uses Ruby on Rails which makes it a poor choice for Debian, Ubuntu and other .deb style distros.  In the comments section of http://www.howtoforge.com/install-webvz-2.0-on-debian-etch-to-administrate-openvz there is a suggestion of how to get this one running under Ubuntu Hardy.  The authors like it.&lt;br /&gt;
&lt;br /&gt;
== Proprietary / non-free ==&lt;br /&gt;
* Panenthe: [http://www.panenthe.com/ homepage (English)] • [http://www.panenthe.com/products/panenthe-media/cat_id=4/ Screen shots] &lt;br /&gt;
* vePortal: [http://www.veportal.com/ homepage (English)] • [http://www.veportal.com/index.php?cmd=screenshots Screen shots]&lt;br /&gt;
* FluidVM: [http://www.fluidvm.com Home Page]&lt;br /&gt;
* VZ-Manager: [http://vzmanager.de/ homepage (German)]&lt;br /&gt;
* vzAdmin: [http://www.vzAdmin.info/ homepage (German)]&lt;br /&gt;
* Aventurin{e}: [http://www.aventurin.net/ homepage (English)]&lt;br /&gt;
* SolusVM [http://www.solusvm.com homepage]&lt;br /&gt;
*vcPanel :[http://vcpanel.net Home Page], The first centralized VPS control panel for managing VPS around the globe [http://vcpanel.net/Demo Demo]&lt;br /&gt;
&lt;br /&gt;
== Frozen projects ==&lt;br /&gt;
* VZAdmin: [http://www.ronny-goerner.de/ homepage] ''seems not available now''&lt;br /&gt;
* WVZ: [http://homaly.dunanet.hu/wvz/ homepage] ''seems frozen''&lt;br /&gt;
* New OpenVZ Web Based Control Panel by rsailor: {{forum|230}} ''seems not available now''&lt;br /&gt;
* EasyVZ: [http://easyvz.sourceforge.net/ screenshots] | [http://sourceforge.net/projects/easyvz sf.net project page] (little bit outdated, but working and free.  Last update Feb 2007) (requires Unix/Linux)&lt;br /&gt;
* Mwamko: [http://mwamko.devjavu.com/ homepage] Last activity May 2007&lt;br /&gt;
* RoboVZ: [http://sharesource.org/project/robovz homepage] {{forum|2559}} Lots of promises since announced in May 2007, nothing usable yet.  Possibly GPL license.  No activity in 2 years, calling it frozen.&lt;br /&gt;
* HyperVM: [http://lxlabs.com/software/hypervm/ homepage] - No longer being developed after the sole developer sadly committed suicide in June 09.&lt;br /&gt;
* Vtonf: [http://www.vtonf.com/ homepage] | According to the documentation only runs on CentOS 4.5 or higher. Last change April 2008 - No longer supported. Does not work on CentOS 5+. Web page is no longer valid.  Consider this one dead.&lt;br /&gt;
* WIVZ/GIVZ: [http://source.icenetx.net/ homepage] Release scheduled for October 2008 - never released.  Unknown license.&lt;br /&gt;
&lt;br /&gt;
== In development ==&lt;br /&gt;
* VS-Admin: [http://www.veportal.com/ homepage] Beta testers wanted (19-06-2009) - Project Changed to vePortal.&lt;br /&gt;
* speedCP [http://blog.vpsspeed.com/tag/speedcp homepage] Developed by an in-house team from VPSSpeed.com - Private licensing on request.&lt;br /&gt;
* SolusVM [http://www.solusvm.com homepage] In development - Initial release release scheduled for August 21st 2009.&lt;br /&gt;
* VZWave [http://www.vzwave.com homepage] In development - release expected July 09.&lt;br /&gt;
* DTC-Xen [http://www.gplhost.com/software-dtc-xen.html homepage] - Currently being ported to OpenVZ by its main developers.&lt;br /&gt;
* vpsAdmin [http://www.vpsadmin.org/ homepage] - In development - available from mercurial repository, GPLv3 license, stable release scheduled for October 1, 2009&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=OS_template_cache_preparation&amp;diff=7209</id>
		<title>OS template cache preparation</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=OS_template_cache_preparation&amp;diff=7209"/>
		<updated>2009-04-07T23:22:05Z</updated>

		<summary type="html">&lt;p&gt;Fayette: /* Alternative: use precreated template cache */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article describes the procedure of an OS template cache creation.  It assumes you already have OpenVZ installed and running. The steps needed to achieve it are documented in the [[Quick installation]] document.&lt;br /&gt;
&lt;br /&gt;
== Terminology ==&lt;br /&gt;
&lt;br /&gt;
Please make sure you understand the following terms.&lt;br /&gt;
&lt;br /&gt;
{{:OS template}}&lt;br /&gt;
{{:OS template metadata}}&lt;br /&gt;
{{:OS template cache}}&lt;br /&gt;
&lt;br /&gt;
== Creating an OS template cache ==&lt;br /&gt;
You can create an [[OS template cache]] using template utilities and [[OS template metadata]] right on your [[hardware node]]. The process is automated and will take from about 10 minutes to a few hours, depending on the network speed, and the result will be most up-to-date template cache.&lt;br /&gt;
&lt;br /&gt;
=== Installing template utilities ===&lt;br /&gt;
&lt;br /&gt;
You have to install a few packages in order to be able to create/update OS template cache(s).&lt;br /&gt;
&lt;br /&gt;
==== Using yum ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# yum install vzpkg vzyum vzrpm43-python vzrpm44-python vzctl-lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Using rpm ====&lt;br /&gt;
Packages are available from [http://openvz.org/download/template/utils/ Download » Templates » Utilities]. You need both &amp;lt;tt&amp;gt;vzpkg&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;vzyum&amp;lt;/tt&amp;gt; packages, as well as one or both &amp;lt;tt&amp;gt;vzrpm43&amp;lt;/tt&amp;gt;/&amp;lt;tt&amp;gt;vzrpm44&amp;lt;/tt&amp;gt; (including their &amp;lt;tt&amp;gt;-python&amp;lt;/tt&amp;gt; counterparts), depending on the OS templates being used.&lt;br /&gt;
&lt;br /&gt;
Install these utilities using rpm:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# rpm -ihv vzpkg*.rpm vzyum*.rpm vzrpm44*.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In Red Hat Enterprise Linux, to install &amp;lt;tt&amp;gt;vzyum&amp;lt;/tt&amp;gt; you will need &amp;lt;tt&amp;gt;[http://rpmfind.net/linux/rpm2html/search.php?query=python-elementtree&amp;amp;system=redhat python-elementtree]&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;[http://rpmfind.net/linux/rpm2html/search.php?query=python-sqlite&amp;amp;system=redhat python-sqlite]&amp;lt;/tt&amp;gt;, and &amp;lt;tt&amp;gt;[http://rpmfind.net/linux/rpm2html/search.php?query=python-urlgrabber&amp;amp;system=redhat python-urlgrabber]&amp;lt;/tt&amp;gt;. These packages might have dependencies of their own. For example, &amp;lt;tt&amp;gt;python-sqlite&amp;lt;/tt&amp;gt; needs &amp;lt;tt&amp;gt;[http://rpmfind.net/linux/rpm2html/search.php?query=sqlite&amp;amp;system=redhat sqlite]&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Installing OS template metadata ===&lt;br /&gt;
&lt;br /&gt;
To create an [[OS template cache]], you need to get the [[OS template metadata|metadata]] for the chosen OS template(s).&lt;br /&gt;
&lt;br /&gt;
==== Using yum ====&lt;br /&gt;
To see which templates are available, run&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# yum search vztmpl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To install some of the templates, run&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# yum install vztmpl-XXX [...]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Using rpm ====&lt;br /&gt;
Get the chosen &amp;lt;tt&amp;gt;vztmpl-*&amp;lt;/tt&amp;gt; packages from [http://openvz.org/download/template/metadata/ Downloads » Templates » Metadata] (or directly from [http://download.openvz.org/template/metadata/ download.openvz.org/template/metadata] or one of the [[Download mirrors|mirrors]] and install them:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# rpm -ihv vztmpl-*.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Running &amp;lt;tt&amp;gt;vzpkgcache&amp;lt;/tt&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Run the &amp;lt;tt&amp;gt;vzpkgcache&amp;lt;/tt&amp;gt; utility; see the vzpkgcache(8) man page for details. It will create or update the caches of all the templates for which the corresponding metadata exist.&lt;br /&gt;
&lt;br /&gt;
 # vzpkgcache centos-4-i386-minimal&lt;br /&gt;
&lt;br /&gt;
== Alternative: use precreated template cache ==&lt;br /&gt;
&lt;br /&gt;
As an alternative to creating a cache using template metadata, you can use precreated template cache taken from [http://openvz.org/download/template/cache Downloads » Templates » Precreated], or directly from [http://download.openvz.org/template/precreated/ download.openvz.org/template/precreated], or from one of the [[Download mirrors|mirrors]].&lt;br /&gt;
&lt;br /&gt;
Precreated templates can be easily updated using the following algorithm:&lt;br /&gt;
# create temporary [[container]] based on template&lt;br /&gt;
# update [[container]] using OS-specific tools (yum, apt or similar)&lt;br /&gt;
# pack [[container]] as a new template&lt;br /&gt;
Examples of this procedure are described in details at [[Updating Ubuntu template]], [[Updating Debian template]], [[Fedora template update]]&lt;br /&gt;
&lt;br /&gt;
In order to use precreated template cache files, download files for chosen OS distributions and place them as-is (no unpacking needed) to the &amp;lt;tt&amp;gt;/vz/template/cache&amp;lt;/tt&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' On Ubuntu and probably recent Debian distros, the path is &amp;lt;tt&amp;gt;/var/lib/vz/template/cache&amp;lt;/tt&amp;gt; if you installed OpenVZ from the repositories.&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' If you use precreated CentOS-4 templates and wish to install software using vzyum, you will probably run into error like this:&lt;br /&gt;
&lt;br /&gt;
 [root@localhost tmp]# vzyum CTID install mypackage&lt;br /&gt;
 [root@localhost tmp]# ERROR: No such OS template: install&lt;br /&gt;
&lt;br /&gt;
This might apply to Fedora also. To fix this problem, install the appropriate [[OS template metadata]] on the OpenVZ host, for example&lt;br /&gt;
&lt;br /&gt;
 yum install vztmpl-centos-4&lt;br /&gt;
&lt;br /&gt;
[Unverified note] : After creating a new OSTemplate cache called &amp;quot;centos4-i386-[ASINGLEWORD].tar.gz from a Container (on which vzyum worked) based on centos4-i386-default.tar.gz, vzyum failed to work (showing &amp;quot;No such OS template: install&amp;quot;). &lt;br /&gt;
&lt;br /&gt;
Here is the &amp;quot;solution&amp;quot; I worked out :&lt;br /&gt;
The new OSTemplate should be named &amp;quot;centos4-i386-[ASINGLEWORD].tar.gz&amp;quot;, and in /vz/template/centos/4/i386/config you should copy the default.list to [ASINGLEWORD].list. vzyum then works (for me!). I have tried to verify this by creating templates with [MULTIPLEWORDS], which fail, and by creating templates without a corresponding [ASINGLEWORLD].conf file, which also fail - indicating that using a single word seems to be important (no hyphens etc). Good luck.&lt;br /&gt;
&lt;br /&gt;
== Next step ==&lt;br /&gt;
&lt;br /&gt;
Follow on to the [[container creation]] article.&lt;br /&gt;
&lt;br /&gt;
[[Category: Installation]]&lt;br /&gt;
[[Category: Templates]]&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Ubuntu_template&amp;diff=7206</id>
		<title>Ubuntu template</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Ubuntu_template&amp;diff=7206"/>
		<updated>2009-04-07T11:12:31Z</updated>

		<summary type="html">&lt;p&gt;Fayette: Warning that dapper isn't supported any longer.  This page should be deleted or updated.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''&lt;br /&gt;
== Warning.  Dapper is no longer supported and the repositories are no longer available.  Do not install the dapper template unless you have a copy of the repository. ==&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
The ubuntu template is an OpenVZ [[OS template]] that allows you to run ubuntu dapper in your [[container]], as opposed to the normal Debian stable or Fedora. &lt;br /&gt;
''Please note, that this package is really minimal, you must even install your own language pack!''&lt;br /&gt;
&lt;br /&gt;
==Why would I want to use ubuntu template?==&lt;br /&gt;
The ubuntu template includes more up-to-date software.  For example, it allows you to install apache 2.0.55, php 5, mysql 5, apache mono and more.  Also, if you are used to using ubuntu as a Linux distribution for your desktop,  you would be more familiar with it, as they use the same exact packages and repositories. Also, you can just follow the [http://wiki.ubuntu.com Ubuntu wiki] easily to install your software, as ubuntu has really good documentation. In addition, ubuntu dapper LTS has a 5 year time period of support. &lt;br /&gt;
&lt;br /&gt;
==How do I get it?==&lt;br /&gt;
You may download it from one of the following places:&lt;br /&gt;
* [http://download.openvz.org/contrib/template/precreated/ubuntu-6.06-i386-minimal.tar.gz download.openvz.org]&lt;br /&gt;
* One of the [[download mirrors]]&lt;br /&gt;
&lt;br /&gt;
You must place this file in &amp;lt;tt&amp;gt;/vz/template/cache/&amp;lt;/tt&amp;gt; directory on your [[hardware node]].&lt;br /&gt;
&lt;br /&gt;
==How do I create a container that uses this template?==&lt;br /&gt;
All you have to do is simply create a normal container but specify ubuntu-6.06-i386-minimal as the template. For example:&lt;br /&gt;
&amp;lt;pre&amp;gt; vzctl create 1002 --ostemplate ubuntu-6.06-i386-minimal &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Please note that in order to get the correct network settings and more, you must copy the debian configuration file(debian.conf) to ubuntu.conf. This is because Openvz does not yet reconize that ubuntu is its own os, and falls back to another linux distribution. Usually this file is located in /etc/vz/dists but can very depending on your distribution. For CentOS/Fedora this will be located in /etc/sysconfig/vz-scripts/dists. See {{bug|190}}.''&lt;br /&gt;
&lt;br /&gt;
==How do I set it up?==&lt;br /&gt;
You can either do those modifications on already existing container, or, if you want these changes to be incorporated into your template, create a temporary container, do these changes, stop the container and tar the result into the same template file.&lt;br /&gt;
&lt;br /&gt;
Well, the first thing you *must* do is install a language pack.  You can do this by typing in&lt;br /&gt;
&amp;lt;pre&amp;gt; apt-get install language-pack-en &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Bug alert: I (Shane Hathaway) got the following error when I tried to install language-pack-en.&lt;br /&gt;
&lt;br /&gt;
  debconf: apt-extracttemplates failed: Bad file descriptordpkg: dpkg - error: PATH is not set.&lt;br /&gt;
&lt;br /&gt;
I patched the problem by typing &amp;quot;export PATH&amp;quot;.  Even though the path is set, for some&lt;br /&gt;
reason it is not exported by default.  I also added &amp;quot;export PATH&amp;quot; to /etc/profile .&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then you should create another user. To do this, just type in &amp;lt;pre&amp;gt; adduser bob &amp;lt;/pre&amp;gt;&lt;br /&gt;
You will probably want to install some other basic utilities: &amp;lt;pre&amp;gt;apt-get install man traceroute wget&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then all you have to do is follow the ubuntu tutorials [https://wiki.ubuntu.com/ApacheMySQLPHP here].&lt;br /&gt;
&lt;br /&gt;
==Packages already installed==&lt;br /&gt;
*Basic debootstrap system&lt;br /&gt;
*nano&lt;br /&gt;
*ssh/sshd&lt;br /&gt;
*quota&lt;br /&gt;
&lt;br /&gt;
==How was this template created?==&lt;br /&gt;
This package was created using debootstrap, and using the ubuntu dapper repositories. There were some hacks that needed to be done to the enviorment to get it working correctly, mainly for networking. The system was bootstrapped on a real ubuntu dapper system with ovzkernel-2.6.8. I checked it with my own server and then my webhosts, and it works correctly.&lt;br /&gt;
&lt;br /&gt;
==Network issues==&lt;br /&gt;
If the template seems to have no working network it most probably needs more time to bring up the interfaces. The issue is, that&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/etc/network/if-up.d/ntpdate&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
wants to set the clock during network start and runs into a very long timeout. Since ntpdate is not needed at all inside a container this script can simply be deleted. And Magic - the container starts up as fast as I would expect it to and all network interfaces are up and running at once.&lt;br /&gt;
&lt;br /&gt;
==Bugs==&lt;br /&gt;
Any problems with this template? Post either on the [[Talk: {{PAGENAME}}|discussion page]] or on the forums. Or post on my userpage [[User_talk:Dmb]].&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Debian template creation]] howto.&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [http://ubuntu.com/ Ubuntu web site]&lt;br /&gt;
* [http://wiki.ubuntu.com/ Ubuntu wiki]&lt;br /&gt;
&lt;br /&gt;
[[Category: Templates]]&lt;br /&gt;
[[Category: HOWTO]]&lt;br /&gt;
[[Category:Ubuntu]]&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Install_yum&amp;diff=7191</id>
		<title>Install yum</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Install_yum&amp;diff=7191"/>
		<updated>2009-04-06T23:48:56Z</updated>

		<summary type="html">&lt;p&gt;Fayette: A little grammatical correction.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''This article is specific to CentOS, however the packages required for yum here are the same on other flavors''&lt;br /&gt;
&lt;br /&gt;
The  scripts shown below install all the packages upon which yum depends for a 386 distro (Need separate 64 bit instructions)&lt;br /&gt;
&lt;br /&gt;
'''Please note''' - that the version numbers of the packages WILL change as later releases come out, it is up to you to ensure that the packages used are the latest.  If you find a package in this script has become deprecated, please update this page with the latest package so others do not have to search for it as well.&lt;br /&gt;
== CentOS 4 i386 ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos-4/4/os/i386/CentOS/RPMS/gmp-4.1.4-3.i386.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos-4/4/os/i386/CentOS/RPMS/readline-4.3-13.i386.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos-4/4/os/i386/CentOS/RPMS/python-2.3.4-14.7.el4.i386.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos-4/4/os/i386/CentOS/RPMS/libxml2-2.6.16-12.i386.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos-4/4/os/i386/CentOS/RPMS/libxml2-python-2.6.16-12.i386.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos-4/4/os/i386/CentOS/RPMS/expat-1.95.7-4.i386.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos-4/4/os/i386/CentOS/RPMS/python-elementtree-1.2.6-5.el4.centos.i386.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos-4/4/os/i386/CentOS/RPMS/sqlite-3.3.6-2.i386.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos-4/4/os/i386/CentOS/RPMS/python-sqlite-1.1.7-1.2.1.i386.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos-4/4/os/i386/CentOS/RPMS/elfutils-libelf-0.97.1-5.i386.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos-4/4/os/i386/CentOS/RPMS/elfutils-0.97.1-5.i386.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos-4/4/os/i386/CentOS/RPMS/rpm-4.3.3-26_nonptl.i386.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos-4/4/os/i386/CentOS/RPMS/rpm-python-4.3.3-26_nonptl.i386.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos-4/4/os/i386/CentOS/RPMS/python-urlgrabber-2.9.8-2.noarch.rpm&lt;br /&gt;
rpm -Uvh ftp://ftp.pbone.net/mirror/ftp.centos.org/4.6/os/alpha/CentOS/RPMS/centos-yumconf-4-4.5.noarch.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos-4/4/os/i386/CentOS/RPMS/yum-metadata-parser-1.0-8.el4.centos.i386.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos-4/4/os/i386/CentOS/RPMS/yum-2.4.3-4.el4.centos.noarch.rpm&lt;br /&gt;
yum -y update&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: CentOS 4 i386 updated 10 November 2008&lt;br /&gt;
&lt;br /&gt;
== CentOS 4 X86_64 ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos/4/os/x86_64/CentOS/RPMS/gmp-4.1.4-3.x86_64.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos/4/os/x86_64/CentOS/RPMS/readline-4.3-13.x86_64.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos/4/os/x86_64/CentOS/RPMS/python-2.3.4-14.7.el4.x86_64.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos/4/os/x86_64/CentOS/RPMS/libxml2-2.6.16-12.x86_64.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos/4/os/x86_64/CentOS/RPMS/libxml2-python-2.6.16-12.x86_64.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos/4/os/x86_64/CentOS/RPMS/expat-1.95.7-4.x86_64.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos/4/os/x86_64/CentOS/RPMS/python-elementtree-1.2.6-5.el4.centos.x86_64.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos/4/os/x86_64/CentOS/RPMS/sqlite-3.3.6-2.x86_64.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos/4/os/x86_64/CentOS/RPMS/python-sqlite-1.1.7-1.2.1.x86_64.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos/4/os/x86_64/CentOS/RPMS/elfutils-libelf-0.97.1-5.x86_64.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos/4/os/x86_64/CentOS/RPMS/elfutils-0.97.1-5.x86_64.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos/4/os/x86_64/CentOS/RPMS/rpm-4.3.3-26_nonptl.x86_64.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos/4/os/x86_64/CentOS/RPMS/rpm-python-4.3.3-26_nonptl.x86_64.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos/4/os/x86_64/CentOS/RPMS/python-urlgrabber-2.9.8-2.noarch.rpm&lt;br /&gt;
rpm -Uvh ftp://ftp.pbone.net/mirror/ftp.centos.org/4.6/os/alpha/CentOS/RPMS/centos-yumconf-4-4.5.noarch.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos/4/os/x86_64/CentOS/RPMS/yum-metadata-parser-1.0-8.el4.centos.x86_64.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos/4/os/x86_64/CentOS/RPMS/yum-2.4.3-4.el4.centos.noarch.rpm&lt;br /&gt;
yum -y update&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: CentOS 4 X86_64 updated 15 December 2008&lt;br /&gt;
&lt;br /&gt;
== CentOS 5 i386 ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos-5/5/os/i386/CentOS/elfutils-libs-0.125-3.el5.i386.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos-5/5/os/i386/CentOS/gmp-4.1.4-10.el5.i386.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos-5/5/os/i386/CentOS/readline-5.1-1.1.i386.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos-5/5/os/i386/CentOS/python-2.4.3-21.el5.i386.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos-5/5/os/i386/CentOS/python-iniparse-0.2.3-4.el5.noarch.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos-5/5/os/i386/CentOS/libxml2-2.6.26-2.1.2.1.i386.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos-5/5/os/i386/CentOS/libxml2-python-2.6.26-2.1.2.1.i386.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos-5/5/os/i386/CentOS/expat-1.95.8-8.2.1.i386.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos-5/5/os/i386/CentOS/python-elementtree-1.2.6-5.i386.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos-5/5/os/i386/CentOS/sqlite-3.3.6-2.i386.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos-5/5/os/i386/CentOS/python-sqlite-1.1.7-1.2.1.i386.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos-5/5/os/i386/CentOS/elfutils-0.125-3.el5.i386.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos-5/5/os/i386/CentOS/rpm-python-4.4.2-48.el5.i386.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos-5/5/os/i386/CentOS/m2crypto-0.16-6.el5.2.i386.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos-5/5/os/i386/CentOS/python-urlgrabber-3.1.0-2.noarch.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos-5/5/os/i386/CentOS/yum-metadata-parser-1.1.2-2.el5.i386.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos-5/5/os/i386/CentOS/yum-3.2.8-9.el5.centos.1.noarch.rpm&lt;br /&gt;
yum -y update&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Note: Updated 8 July 2008&lt;br /&gt;
&lt;br /&gt;
== CentOS 5 x86_64 ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/gmp-4.1.4-10.el5.x86_64.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/readline-5.1-1.1.x86_64.rpm	&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/python-2.4.3-21.el5.x86_64.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/libxml2-2.6.26-2.1.2.1.x86_64.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/libxml2-python-2.6.26-2.1.2.1.x86_64.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/expat-1.95.8-8.2.1.x86_64.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/python-elementtree-1.2.6-5.x86_64.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/sqlite-3.3.6-2.x86_64.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/python-sqlite-1.1.7-1.2.1.x86_64.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/elfutils-libelf-0.125-3.el5.x86_64.rpm&lt;br /&gt;
rpm --nodeps -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/elfutils-0.125-3.el5.x86_64.rpm&lt;br /&gt;
rpm --nodeps -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/rpm-4.4.2-48.el5.x86_64.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/rpm-python-4.4.2-48.el5.x86_64.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/m2crypto-0.16-6.el5.2.x86_64.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/python-urlgrabber-3.1.0-2.noarch.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/yum-metadata-parser-1.1.2-2.el5.x86_64.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/python-iniparse-0.2.3-4.el5.noarch.rpm&lt;br /&gt;
rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/yum-3.2.8-9.el5.centos.1.noarch.rpm&lt;br /&gt;
yum -y update&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Note: Updated 28 Feb 2009&lt;br /&gt;
&lt;br /&gt;
[[Category:HOWTO]]&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Control_panels&amp;diff=7190</id>
		<title>Control panels</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Control_panels&amp;diff=7190"/>
		<updated>2009-04-06T23:36:38Z</updated>

		<summary type="html">&lt;p&gt;Fayette: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains links to different control panels for OpenVZ, written by third parties. If you know the project that's missing here, please add it.&lt;br /&gt;
&lt;br /&gt;
== Free software / Open source (in alphabetical order) ==&lt;br /&gt;
* Proxmox Virtual Environment: [http://pve.proxmox.com Proxmox VE Wiki] - including bare-metal ISO installer&lt;br /&gt;
* Vtonf: [http://www.vtonf.com/ homepage] | According to the documentation only runs on Centos 4.5 or higher. Marked as beta, but works quite well.  Last change April 2008&lt;br /&gt;
* Webmin: [http://www.webmin.com/ homepage] | [http://www.webmin.com/cgi-bin/search_third.cgi?search=OpenVZ OpenVZ plugin] | Version 1.0, last updated 2006-02-07&lt;br /&gt;
* WebVZ: [http://webvz.sourceforge.net/ homepage] Uses Ruby on Rails which makes it a poor choice for Debian, Ubuntu and other .deb style distros.  In the comments section of http://www.howtoforge.com/install-webvz-2.0-on-debian-etch-to-administrate-openvz there is a suggestion of how to get this one running under Ubuntu Hardy.  The authors like it.&lt;br /&gt;
&lt;br /&gt;
== Proprietary / non-free ==&lt;br /&gt;
* FluidVM: [http://www.binarykarma.com Home Page] • [http://www.binarykarma.com/demo.php Demo Videos] • [http://www.binarykarma.com/fluidvm_screenshots.php Screen shots]&lt;br /&gt;
* VZ-Manager: [http://vzmanager.de/ homepage (German)]&lt;br /&gt;
* HyperVM: [http://lxlabs.com/software/hypervm/ homepage]&lt;br /&gt;
* vzAdmin: [http://www.vzAdmin.info/ homepage (German)]&lt;br /&gt;
* Aventurin{e}: [http://www.aventurin.net/ homepage (English)]&lt;br /&gt;
&lt;br /&gt;
== Frozen projects ==&lt;br /&gt;
* VZAdmin: [http://www.ronny-goerner.de/ homepage] ''seems not available now''&lt;br /&gt;
* WVZ: [http://homaly.dunanet.hu/wvz/ homepage] ''seems frozen''&lt;br /&gt;
* New OpenVZ Web Based Control Panel by rsailor: {{forum|230}} ''seems not available now''&lt;br /&gt;
* EasyVZ: [http://easyvz.sourceforge.net/ screenshots] | [http://sourceforge.net/projects/easyvz sf.net project page] (little bit outdated, but working and free.  Last update Feb 2007) (requires Unix/Linux)&lt;br /&gt;
* Mwamko: [http://mwamko.devjavu.com/ homepage] Last activity May 2007&lt;br /&gt;
* RoboVZ: [http://sharesource.org/project/robovz homepage] {{forum|2559}} Lots of promises since announced in May 2007, nothing usable yet.  Possibly GPL license.  No activity in 2 years, calling it frozen.&lt;br /&gt;
&lt;br /&gt;
== In development ==&lt;br /&gt;
* WIVZ/GIVZ: [http://source.icenetx.net/ homepage] Release scheduled for October 2008.  Unknow license.  Link is currently broken as of 6 April 2009.  It's probably defunct.&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Control_panels&amp;diff=7189</id>
		<title>Control panels</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Control_panels&amp;diff=7189"/>
		<updated>2009-04-06T23:34:15Z</updated>

		<summary type="html">&lt;p&gt;Fayette: /* In development */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains links to different control panels for OpenVZ, written by third parties. If you know the project that's missing here, please add it.&lt;br /&gt;
&lt;br /&gt;
== Free software / Open source (in alphabetical order) ==&lt;br /&gt;
* Proxmox Virtual Environment: [http://pve.proxmox.com Proxmox VE Wiki] - including bare-metal ISO installer&lt;br /&gt;
* Vtonf: [http://www.vtonf.com/ homepage] | According to the documentation only runs on Centos 4.5 or higher. Marked as beta, but works quite well.  Last change April 2008&lt;br /&gt;
* Webmin: [http://www.webmin.com/ homepage] | [http://www.webmin.com/cgi-bin/search_third.cgi?search=OpenVZ OpenVZ plugin] | Version 1.0, last updated 2006-02-07&lt;br /&gt;
* WebVZ: [http://webvz.sourceforge.net/ homepage] Uses Ruby on Rails which makes it a poor choice for Debian, Ubuntu and other .deb style distros.  In the comments section of http://www.howtoforge.com/install-webvz-2.0-on-debian-etch-to-administrate-openvz there is a suggestion of how to get this one running under Ubuntu Hardy.  The authors like it.&lt;br /&gt;
&lt;br /&gt;
== Proprietary / non-free ==&lt;br /&gt;
* FluidVM: [http://www.binarykarma.com Home Page] • [http://www.binarykarma.com/demo.php Demo Videos] • [http://www.binarykarma.com/fluidvm_screenshots.php Screen shots]&lt;br /&gt;
* VZ-Manager: [http://vzmanager.de/ homepage (German)]&lt;br /&gt;
* HyperVM: [http://lxlabs.com/software/hypervm/ homepage]&lt;br /&gt;
* vzAdmin: [http://www.vzAdmin.info/ homepage (German)]&lt;br /&gt;
* Aventurin{e}: [http://www.aventurin.net/ homepage (English)]&lt;br /&gt;
&lt;br /&gt;
== Frozen projects ==&lt;br /&gt;
* VZAdmin: [http://www.ronny-goerner.de/ homepage] ''seems not available now''&lt;br /&gt;
* WVZ: [http://homaly.dunanet.hu/wvz/ homepage] ''seems frozen''&lt;br /&gt;
* New OpenVZ Web Based Control Panel by rsailor: {{forum|230}} ''seems not available now''&lt;br /&gt;
* EasyVZ: [http://easyvz.sourceforge.net/ screenshots] | [http://sourceforge.net/projects/easyvz sf.net project page] (little bit outdated, but working and free.  Last update Feb 2007) (requires Unix/Linux)&lt;br /&gt;
* Mwamko: [http://mwamko.devjavu.com/ homepage] Last activity May 2007&lt;br /&gt;
&lt;br /&gt;
== In development ==&lt;br /&gt;
* WIVZ/GIVZ: [http://source.icenetx.net/ homepage] Release scheduled for October 2008.  Unknow license.  Link is currently broken as of 6 April 2009&lt;br /&gt;
* RoboVZ: [http://sharesource.org/project/robovz homepage] {{forum|2559}} Lots of promises since announced in May 2007, nothing usable yet.  Possibly GPL license.&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Control_panels&amp;diff=7188</id>
		<title>Control panels</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Control_panels&amp;diff=7188"/>
		<updated>2009-04-06T23:32:14Z</updated>

		<summary type="html">&lt;p&gt;Fayette: /* Frozen projects */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains links to different control panels for OpenVZ, written by third parties. If you know the project that's missing here, please add it.&lt;br /&gt;
&lt;br /&gt;
== Free software / Open source (in alphabetical order) ==&lt;br /&gt;
* Proxmox Virtual Environment: [http://pve.proxmox.com Proxmox VE Wiki] - including bare-metal ISO installer&lt;br /&gt;
* Vtonf: [http://www.vtonf.com/ homepage] | According to the documentation only runs on Centos 4.5 or higher. Marked as beta, but works quite well.  Last change April 2008&lt;br /&gt;
* Webmin: [http://www.webmin.com/ homepage] | [http://www.webmin.com/cgi-bin/search_third.cgi?search=OpenVZ OpenVZ plugin] | Version 1.0, last updated 2006-02-07&lt;br /&gt;
* WebVZ: [http://webvz.sourceforge.net/ homepage] Uses Ruby on Rails which makes it a poor choice for Debian, Ubuntu and other .deb style distros.  In the comments section of http://www.howtoforge.com/install-webvz-2.0-on-debian-etch-to-administrate-openvz there is a suggestion of how to get this one running under Ubuntu Hardy.  The authors like it.&lt;br /&gt;
&lt;br /&gt;
== Proprietary / non-free ==&lt;br /&gt;
* FluidVM: [http://www.binarykarma.com Home Page] • [http://www.binarykarma.com/demo.php Demo Videos] • [http://www.binarykarma.com/fluidvm_screenshots.php Screen shots]&lt;br /&gt;
* VZ-Manager: [http://vzmanager.de/ homepage (German)]&lt;br /&gt;
* HyperVM: [http://lxlabs.com/software/hypervm/ homepage]&lt;br /&gt;
* vzAdmin: [http://www.vzAdmin.info/ homepage (German)]&lt;br /&gt;
* Aventurin{e}: [http://www.aventurin.net/ homepage (English)]&lt;br /&gt;
&lt;br /&gt;
== Frozen projects ==&lt;br /&gt;
* VZAdmin: [http://www.ronny-goerner.de/ homepage] ''seems not available now''&lt;br /&gt;
* WVZ: [http://homaly.dunanet.hu/wvz/ homepage] ''seems frozen''&lt;br /&gt;
* New OpenVZ Web Based Control Panel by rsailor: {{forum|230}} ''seems not available now''&lt;br /&gt;
* EasyVZ: [http://easyvz.sourceforge.net/ screenshots] | [http://sourceforge.net/projects/easyvz sf.net project page] (little bit outdated, but working and free.  Last update Feb 2007) (requires Unix/Linux)&lt;br /&gt;
* Mwamko: [http://mwamko.devjavu.com/ homepage] Last activity May 2007&lt;br /&gt;
&lt;br /&gt;
== In development ==&lt;br /&gt;
* WIVZ/GIVZ: [http://source.icenetx.net/ homepage] Release scheduled for October 2008.  Unknow license.&lt;br /&gt;
* RoboVZ: [http://sharesource.org/project/robovz homepage] {{forum|2559}} Lots of promises since announced in May 2007, nothing usable yet.  Possibly GPL license.&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Control_panels&amp;diff=7187</id>
		<title>Control panels</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Control_panels&amp;diff=7187"/>
		<updated>2009-04-06T23:30:12Z</updated>

		<summary type="html">&lt;p&gt;Fayette: /* Frozen projects */ Removed a frozen project whose link is broken.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains links to different control panels for OpenVZ, written by third parties. If you know the project that's missing here, please add it.&lt;br /&gt;
&lt;br /&gt;
== Free software / Open source (in alphabetical order) ==&lt;br /&gt;
* Proxmox Virtual Environment: [http://pve.proxmox.com Proxmox VE Wiki] - including bare-metal ISO installer&lt;br /&gt;
* Vtonf: [http://www.vtonf.com/ homepage] | According to the documentation only runs on Centos 4.5 or higher. Marked as beta, but works quite well.  Last change April 2008&lt;br /&gt;
* Webmin: [http://www.webmin.com/ homepage] | [http://www.webmin.com/cgi-bin/search_third.cgi?search=OpenVZ OpenVZ plugin] | Version 1.0, last updated 2006-02-07&lt;br /&gt;
* WebVZ: [http://webvz.sourceforge.net/ homepage] Uses Ruby on Rails which makes it a poor choice for Debian, Ubuntu and other .deb style distros.  In the comments section of http://www.howtoforge.com/install-webvz-2.0-on-debian-etch-to-administrate-openvz there is a suggestion of how to get this one running under Ubuntu Hardy.  The authors like it.&lt;br /&gt;
&lt;br /&gt;
== Proprietary / non-free ==&lt;br /&gt;
* FluidVM: [http://www.binarykarma.com Home Page] • [http://www.binarykarma.com/demo.php Demo Videos] • [http://www.binarykarma.com/fluidvm_screenshots.php Screen shots]&lt;br /&gt;
* VZ-Manager: [http://vzmanager.de/ homepage (German)]&lt;br /&gt;
* HyperVM: [http://lxlabs.com/software/hypervm/ homepage]&lt;br /&gt;
* vzAdmin: [http://www.vzAdmin.info/ homepage (German)]&lt;br /&gt;
* Aventurin{e}: [http://www.aventurin.net/ homepage (English)]&lt;br /&gt;
&lt;br /&gt;
== Frozen projects ==&lt;br /&gt;
* VZAdmin: [http://www.ronny-goerner.de/ homepage] ''seems not available now''&lt;br /&gt;
* WVZ: [http://homaly.dunanet.hu/wvz/ homepage] ''seems frozen''&lt;br /&gt;
* New OpenVZ Web Based Control Panel by rsailor: {{forum|230}} ''seems not available now''&lt;br /&gt;
* EasyVZ: [http://easyvz.sourceforge.net/ screenshots] | [http://sourceforge.net/projects/easyvz sf.net project page] (little bit outdated, but working and free.  Last update Feb 2007) (requires Unix/Linux)&lt;br /&gt;
* Mwamko: [http://mwamko.devjavu.com/ homepage]&lt;br /&gt;
&lt;br /&gt;
== In development ==&lt;br /&gt;
* WIVZ/GIVZ: [http://source.icenetx.net/ homepage] Release scheduled for October 2008.  Unknow license.&lt;br /&gt;
* RoboVZ: [http://sharesource.org/project/robovz homepage] {{forum|2559}} Lots of promises since announced in May 2007, nothing usable yet.  Possibly GPL license.&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Control_panels&amp;diff=7186</id>
		<title>Control panels</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Control_panels&amp;diff=7186"/>
		<updated>2009-04-06T23:28:45Z</updated>

		<summary type="html">&lt;p&gt;Fayette: /* Frozen projects */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains links to different control panels for OpenVZ, written by third parties. If you know the project that's missing here, please add it.&lt;br /&gt;
&lt;br /&gt;
== Free software / Open source (in alphabetical order) ==&lt;br /&gt;
* Proxmox Virtual Environment: [http://pve.proxmox.com Proxmox VE Wiki] - including bare-metal ISO installer&lt;br /&gt;
* Vtonf: [http://www.vtonf.com/ homepage] | According to the documentation only runs on Centos 4.5 or higher. Marked as beta, but works quite well.  Last change April 2008&lt;br /&gt;
* Webmin: [http://www.webmin.com/ homepage] | [http://www.webmin.com/cgi-bin/search_third.cgi?search=OpenVZ OpenVZ plugin] | Version 1.0, last updated 2006-02-07&lt;br /&gt;
* WebVZ: [http://webvz.sourceforge.net/ homepage] Uses Ruby on Rails which makes it a poor choice for Debian, Ubuntu and other .deb style distros.  In the comments section of http://www.howtoforge.com/install-webvz-2.0-on-debian-etch-to-administrate-openvz there is a suggestion of how to get this one running under Ubuntu Hardy.  The authors like it.&lt;br /&gt;
&lt;br /&gt;
== Proprietary / non-free ==&lt;br /&gt;
* FluidVM: [http://www.binarykarma.com Home Page] • [http://www.binarykarma.com/demo.php Demo Videos] • [http://www.binarykarma.com/fluidvm_screenshots.php Screen shots]&lt;br /&gt;
* VZ-Manager: [http://vzmanager.de/ homepage (German)]&lt;br /&gt;
* HyperVM: [http://lxlabs.com/software/hypervm/ homepage]&lt;br /&gt;
* vzAdmin: [http://www.vzAdmin.info/ homepage (German)]&lt;br /&gt;
* Aventurin{e}: [http://www.aventurin.net/ homepage (English)]&lt;br /&gt;
&lt;br /&gt;
== Frozen projects ==&lt;br /&gt;
* VZAdmin: [http://www.ronny-goerner.de/ homepage] ''seems not available now''&lt;br /&gt;
* WVZ: [http://homaly.dunanet.hu/wvz/ homepage] ''seems frozen''&lt;br /&gt;
* New OpenVZ Web Based Control Panel by rsailor: {{forum|230}} ''seems not available now''&lt;br /&gt;
* EasyVZ: [http://easyvz.sourceforge.net/ screenshots] | [http://sourceforge.net/projects/easyvz sf.net project page] (little bit outdated, but working and free.  Last update Feb 2007) (requires Unix/Linux)&lt;br /&gt;
* Mwamko: [http://mwamko.devjavu.com/ homepage]&lt;br /&gt;
* OpenVZ Control panel for Windows(r): {{forum|1491}} | [http://downloads.qmailrocks.ru/vz/ downloads] ''unknown license''&lt;br /&gt;
&lt;br /&gt;
== In development ==&lt;br /&gt;
* WIVZ/GIVZ: [http://source.icenetx.net/ homepage] Release scheduled for October 2008.  Unknow license.&lt;br /&gt;
* RoboVZ: [http://sharesource.org/project/robovz homepage] {{forum|2559}} Lots of promises since announced in May 2007, nothing usable yet.  Possibly GPL license.&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Control_panels&amp;diff=7185</id>
		<title>Control panels</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Control_panels&amp;diff=7185"/>
		<updated>2009-04-06T23:23:34Z</updated>

		<summary type="html">&lt;p&gt;Fayette: /* Free software / Open source (in alphabetical order) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains links to different control panels for OpenVZ, written by third parties. If you know the project that's missing here, please add it.&lt;br /&gt;
&lt;br /&gt;
== Free software / Open source (in alphabetical order) ==&lt;br /&gt;
* Proxmox Virtual Environment: [http://pve.proxmox.com Proxmox VE Wiki] - including bare-metal ISO installer&lt;br /&gt;
* Vtonf: [http://www.vtonf.com/ homepage] | According to the documentation only runs on Centos 4.5 or higher. Marked as beta, but works quite well.  Last change April 2008&lt;br /&gt;
* Webmin: [http://www.webmin.com/ homepage] | [http://www.webmin.com/cgi-bin/search_third.cgi?search=OpenVZ OpenVZ plugin] | Version 1.0, last updated 2006-02-07&lt;br /&gt;
* WebVZ: [http://webvz.sourceforge.net/ homepage] Uses Ruby on Rails which makes it a poor choice for Debian, Ubuntu and other .deb style distros.  In the comments section of http://www.howtoforge.com/install-webvz-2.0-on-debian-etch-to-administrate-openvz there is a suggestion of how to get this one running under Ubuntu Hardy.  The authors like it.&lt;br /&gt;
&lt;br /&gt;
== Proprietary / non-free ==&lt;br /&gt;
* FluidVM: [http://www.binarykarma.com Home Page] • [http://www.binarykarma.com/demo.php Demo Videos] • [http://www.binarykarma.com/fluidvm_screenshots.php Screen shots]&lt;br /&gt;
* VZ-Manager: [http://vzmanager.de/ homepage (German)]&lt;br /&gt;
* HyperVM: [http://lxlabs.com/software/hypervm/ homepage]&lt;br /&gt;
* vzAdmin: [http://www.vzAdmin.info/ homepage (German)]&lt;br /&gt;
* Aventurin{e}: [http://www.aventurin.net/ homepage (English)]&lt;br /&gt;
&lt;br /&gt;
== Frozen projects ==&lt;br /&gt;
* VZAdmin: [http://www.ronny-goerner.de/ homepage] ''seems not available now''&lt;br /&gt;
* WVZ: [http://homaly.dunanet.hu/wvz/ homepage] ''seems frozen''&lt;br /&gt;
* New OpenVZ Web Based Control Panel by rsailor: {{forum|230}} ''seems not available now''&lt;br /&gt;
* EasyVZ: [http://easyvz.sourceforge.net/ screenshots] | [http://sourceforge.net/projects/easyvz sf.net project page] (little bit outdated, but only working and free control panel?) (requires Unix/Linux)&lt;br /&gt;
* Mwamko: [http://mwamko.devjavu.com/ homepage]&lt;br /&gt;
* OpenVZ Control panel for Windows(r): {{forum|1491}} | [http://downloads.qmailrocks.ru/vz/ downloads] ''unknown license''&lt;br /&gt;
&lt;br /&gt;
== In development ==&lt;br /&gt;
* WIVZ/GIVZ: [http://source.icenetx.net/ homepage] Release scheduled for October 2008.  Unknow license.&lt;br /&gt;
* RoboVZ: [http://sharesource.org/project/robovz homepage] {{forum|2559}} Lots of promises since announced in May 2007, nothing usable yet.  Possibly GPL license.&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Control_panels&amp;diff=7184</id>
		<title>Control panels</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Control_panels&amp;diff=7184"/>
		<updated>2009-04-06T23:18:04Z</updated>

		<summary type="html">&lt;p&gt;Fayette: /* Free software / Open source (in alphabetical order) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains links to different control panels for OpenVZ, written by third parties. If you know the project that's missing here, please add it.&lt;br /&gt;
&lt;br /&gt;
== Free software / Open source (in alphabetical order) ==&lt;br /&gt;
* Proxmox Virtual Environment: [http://pve.proxmox.com Proxmox VE Wiki] - including bare-metal ISO installer&lt;br /&gt;
* Vtonf: [http://www.vtonf.com/ homepage] | According to the documentation only runs on Centos 4.5 or higher. Marked as beta, but works quite well.  Last change April 2008&lt;br /&gt;
* Webmin: [http://www.webmin.com/ homepage] | [http://www.webmin.com/cgi-bin/search_third.cgi?search=OpenVZ OpenVZ plugin] | Version 1.0, last updated 2006-02-07&lt;br /&gt;
* WebVZ: [http://webvz.sourceforge.net/ homepage] Uses Ruby on Rails which makes it a poor choice for Debian, Ubuntu and other .deb style distros.&lt;br /&gt;
&lt;br /&gt;
== Proprietary / non-free ==&lt;br /&gt;
* FluidVM: [http://www.binarykarma.com Home Page] • [http://www.binarykarma.com/demo.php Demo Videos] • [http://www.binarykarma.com/fluidvm_screenshots.php Screen shots]&lt;br /&gt;
* VZ-Manager: [http://vzmanager.de/ homepage (German)]&lt;br /&gt;
* HyperVM: [http://lxlabs.com/software/hypervm/ homepage]&lt;br /&gt;
* vzAdmin: [http://www.vzAdmin.info/ homepage (German)]&lt;br /&gt;
* Aventurin{e}: [http://www.aventurin.net/ homepage (English)]&lt;br /&gt;
&lt;br /&gt;
== Frozen projects ==&lt;br /&gt;
* VZAdmin: [http://www.ronny-goerner.de/ homepage] ''seems not available now''&lt;br /&gt;
* WVZ: [http://homaly.dunanet.hu/wvz/ homepage] ''seems frozen''&lt;br /&gt;
* New OpenVZ Web Based Control Panel by rsailor: {{forum|230}} ''seems not available now''&lt;br /&gt;
* EasyVZ: [http://easyvz.sourceforge.net/ screenshots] | [http://sourceforge.net/projects/easyvz sf.net project page] (little bit outdated, but only working and free control panel?) (requires Unix/Linux)&lt;br /&gt;
* Mwamko: [http://mwamko.devjavu.com/ homepage]&lt;br /&gt;
* OpenVZ Control panel for Windows(r): {{forum|1491}} | [http://downloads.qmailrocks.ru/vz/ downloads] ''unknown license''&lt;br /&gt;
&lt;br /&gt;
== In development ==&lt;br /&gt;
* WIVZ/GIVZ: [http://source.icenetx.net/ homepage] Release scheduled for October 2008.  Unknow license.&lt;br /&gt;
* RoboVZ: [http://sharesource.org/project/robovz homepage] {{forum|2559}} Lots of promises since announced in May 2007, nothing usable yet.  Possibly GPL license.&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=FUSE&amp;diff=6848</id>
		<title>FUSE</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=FUSE&amp;diff=6848"/>
		<updated>2009-01-04T11:12:46Z</updated>

		<summary type="html">&lt;p&gt;Fayette: /* Mounting filesystem I attempted to defeat the linkification, but it doesn't work*/&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page describes how to setup FUSE (filesystem in userspace) inside a container.&lt;br /&gt;
&lt;br /&gt;
[http://git.openvz.org/?p=linux-2.6.18-openvz;a=blob;h=a584f05403a412e778cf359e84d3690d5a22d1e4;hb=045f4a5fcb8c2625fe7505a8d9d4ebffd7e0d905;f=Documentation/filesystems/fuse.txt FUSE] is a filesystem in which data and metadata are provided by an ordinary userspace process. The filesystem can be accessed normally through the kernel interface.&lt;br /&gt;
&lt;br /&gt;
== Preparations ==&lt;br /&gt;
To use FUSE you need the following:&lt;br /&gt;
# OpenVZ kernel version [http://git.openvz.org/?p=linux-2.6.18-openvz;a=commit;h=045f4a5fcb8c2625fe7505a8d9d4ebffd7e0d905 028test005] or higher&lt;br /&gt;
# [http://mesh.dl.sourceforge.net/sourceforge/fuse/fuse-2.6.0.tar.gz Fuse lib]&lt;br /&gt;
# Any FUSE-based [http://fuse.sourceforge.net/wiki/index.php/FileSystems filesystem]&lt;br /&gt;
&lt;br /&gt;
In the examples below [http://fuse.sourceforge.net/sshfs.html sshfs] is used.&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
=== Kernel ===&lt;br /&gt;
Download appropriate kernel from [http://download.openvz.org/ openvz.org] or compile kernel with &amp;lt;code&amp;gt;CONFIG_FUSE_FS&amp;lt;/code&amp;gt; option set&lt;br /&gt;
&lt;br /&gt;
=== Userspace ===&lt;br /&gt;
&lt;br /&gt;
You have to fuse libraries and some fuse filesystem modules (here we use sshfs as an example).&lt;br /&gt;
&lt;br /&gt;
The best way to have it installed is to use the packages from your distro vendor. An alternative is compiling the stuff from source.&lt;br /&gt;
&lt;br /&gt;
==== Gentoo ====&lt;br /&gt;
&lt;br /&gt;
 # emerge sys-fs/sshfs-fuse&lt;br /&gt;
&lt;br /&gt;
==== Fedora ====&lt;br /&gt;
&lt;br /&gt;
 # yum install fuse-sshfs&lt;br /&gt;
&lt;br /&gt;
==== Debian/Ubuntu ====&lt;br /&gt;
&lt;br /&gt;
 # apt-get install sshfs&lt;br /&gt;
&lt;br /&gt;
==== Compiling from source ====&lt;br /&gt;
If there are no packages provided for you distribution, you have to compile from source.&lt;br /&gt;
&lt;br /&gt;
First, compile libfuse in a container without kernel module&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# vzctl enter 100&lt;br /&gt;
# tar xzf fuse-2.6.0.tar.gz&lt;br /&gt;
# cd fuse-2.6.0&lt;br /&gt;
# ./configure --disable-kernel-module&lt;br /&gt;
...&lt;br /&gt;
# make&lt;br /&gt;
...&lt;br /&gt;
# make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note|Sometimes &amp;lt;code&amp;gt;libfuse.so.X&amp;lt;/code&amp;gt; is unseen by your programs. Usually this file is installed in &amp;lt;code&amp;gt;/usr/local/lib&amp;lt;/code&amp;gt; directory so don't forget to add this directory into your &amp;lt;code&amp;gt;/etc/ld.so.conf&amp;lt;/code&amp;gt; and then run &amp;lt;code&amp;gt;ldconfig&amp;lt;/code&amp;gt;.}}&lt;br /&gt;
&lt;br /&gt;
Next, download and compile filesystem.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# vzctl enter 100&lt;br /&gt;
# tar xzf sshfs-fuse-1.7.tar.gz&lt;br /&gt;
# cd sshfs-fuse-1.7&lt;br /&gt;
# ./configure&lt;br /&gt;
...&lt;br /&gt;
# make&lt;br /&gt;
...&lt;br /&gt;
# make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Container tuning ===&lt;br /&gt;
You need to make a character device named &amp;lt;code&amp;gt;/dev/fuse&amp;lt;/code&amp;gt; and grant your container permissions to it&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# vzctl set 100 --devices c:10:229:rw --save&lt;br /&gt;
...&lt;br /&gt;
# vzctl exec 100 mknod /dev/fuse c 10 229&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Mounting filesystem ===&lt;br /&gt;
After this you may try to mount FUSE in a container.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# vzctl enter 100&lt;br /&gt;
# sshfs &amp;lt;nowiki&amp;gt;root@foo.org&amp;lt;/nowiki&amp;gt;:/root /mnt/foo.org.root&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Unmounting filesystem ====&lt;br /&gt;
In case of &amp;lt;code&amp;gt;sshfs&amp;lt;/code&amp;gt; after umounting an appropriate daemon must be killed. This may be done by the following command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# fusermount -u moutpoint&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Using fusectl filesystem ==&lt;br /&gt;
Fusectl is a helper filesystem for FUSE. You may mount it in a container as well.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# vzctl enter 100&lt;br /&gt;
# mount -t fusectl none /fuse_ctl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
&lt;br /&gt;
* [http://fuse.sourceforge.net/ FUSE site]&lt;br /&gt;
&lt;br /&gt;
[[Category:HOWTO]]&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Talk:Installing_Trixbox_2.0_in_CentOS_VE&amp;diff=6426</id>
		<title>Talk:Installing Trixbox 2.0 in CentOS VE</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Talk:Installing_Trixbox_2.0_in_CentOS_VE&amp;diff=6426"/>
		<updated>2008-09-07T20:46:59Z</updated>

		<summary type="html">&lt;p&gt;Fayette: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In attempting to follow these instructions I've found the following:&lt;br /&gt;
&lt;br /&gt;
I am using the http://download.openvz.org/beta/templates/precreated/centos-5-x86.tar.gz template.  &lt;br /&gt;
&lt;br /&gt;
Between the &amp;quot;Add character device&amp;quot; and the &amp;quot;Install rpmforge &amp;amp; apt&amp;quot; steps you'll probably want to do&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vzctl enter &amp;lt;VEID&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I found that for some reason rpm could not access the files so I had to do the following to install rpmforge:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SITE=&amp;quot;http://dag.wieers.com/packages/rpmforge-release/&amp;quot;&lt;br /&gt;
wget ${SITE}/rpmforge-release-0.3.6-1.el5.rf.i386.rpm&lt;br /&gt;
rpm -Uvh rpmforge-release-0.3.6-1.el5.rf.i386.rpm &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install apt:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SITE=&amp;quot;http://dag.wieers.com/packages/apt/&amp;quot;&lt;br /&gt;
wget ${SITE}/apt-0.5.15lorg3.2-1.el5.rf.i386.rpm &lt;br /&gt;
rpm -ivh apt-0.5.15lorg3.2-1.el5.rf.i386.rpm &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Also note that I am using the el5 versions of these rpms.&lt;br /&gt;
&lt;br /&gt;
Yum is available in the el5 template that I used so I didn't have to install it.&lt;br /&gt;
&lt;br /&gt;
In the step, &amp;quot;Install speex and libspeex-devel&amp;quot; I found it easier to use yum.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
yum install speex speex-devel&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It appears that the folks that brought us Trixbox would rather us download and install an ISO.  You have to dig pretty deep to find an RPM file.  I finally found one:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget http://yum.trixbox.org/centos/5/RPMS-2.6.0.7/trixbox-2.6.0.0-3.i386.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I found that there were a great number of dependencies that were not found by yum.  It appears that you must use a large number of the files at ftp://ftp.pbone.net/mirror/yum.trixbox.org/centos/5/RPMS/.  I wrote a simple perl script to download all the files and built a yum repository containing them.&lt;br /&gt;
&lt;br /&gt;
I used the following yum command to install: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
yum --nogpgcheck --enablerepo=trixbox localinstall trixbox-2.6.0.0-3.i386.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
None of the trixbox references at the end of the article are still valid URLs.&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Talk:Installing_Trixbox_2.0_in_CentOS_VE&amp;diff=6425</id>
		<title>Talk:Installing Trixbox 2.0 in CentOS VE</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Talk:Installing_Trixbox_2.0_in_CentOS_VE&amp;diff=6425"/>
		<updated>2008-09-06T13:32:05Z</updated>

		<summary type="html">&lt;p&gt;Fayette: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In attempting to follow these instructions I've found the following:&lt;br /&gt;
&lt;br /&gt;
I am using the http://download.openvz.org/beta/templates/precreated/centos-5-x86.tar.gz template.  &lt;br /&gt;
&lt;br /&gt;
Between the &amp;quot;Add character device&amp;quot; and the &amp;quot;Install rpmforge &amp;amp; apt&amp;quot; steps you'll probably want to do&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vzctl enter &amp;lt;VEID&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I found that for some reason rpm could not access the files so I had to do the following to install rpmforge:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SITE=&amp;quot;http://dag.wieers.com/packages/rpmforge-release/&amp;quot;&lt;br /&gt;
wget ${SITE}/rpmforge-release-0.3.6-1.el5.rf.i386.rpm&lt;br /&gt;
rpm -Uvh rpmforge-release-0.3.6-1.el5.rf.i386.rpm &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install apt:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SITE=&amp;quot;http://dag.wieers.com/packages/apt/&amp;quot;&lt;br /&gt;
wget ${SITE}/apt-0.5.15lorg3.2-1.el5.rf.i386.rpm &lt;br /&gt;
rpm -ivh apt-0.5.15lorg3.2-1.el5.rf.i386.rpm &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Also note that I am using the el5 versions of these rpms.&lt;br /&gt;
&lt;br /&gt;
Yum is available in the el5 template that I used so I didn't have to install it.&lt;br /&gt;
&lt;br /&gt;
In the step, &amp;quot;Install speex and libspeex-devel&amp;quot; I found it easier to use yum.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
yum install speex speex-devel&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Talk:Installing_Trixbox_2.0_in_CentOS_VE&amp;diff=6424</id>
		<title>Talk:Installing Trixbox 2.0 in CentOS VE</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Talk:Installing_Trixbox_2.0_in_CentOS_VE&amp;diff=6424"/>
		<updated>2008-09-06T13:26:32Z</updated>

		<summary type="html">&lt;p&gt;Fayette: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In attempting to follow these instructions I've found the following:&lt;br /&gt;
&lt;br /&gt;
I am using the http://download.openvz.org/beta/templates/precreated/centos-5-x86.tar.gz template.  &lt;br /&gt;
&lt;br /&gt;
Between the &amp;quot;Add character device&amp;quot; and the &amp;quot;Install rpmforge &amp;amp; apt&amp;quot; steps you'll probably want to do&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vzctl enter &amp;lt;VEID&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I found that for some reason rpm could not access the files so I had to do the following to install rpmforge:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SITE=&amp;quot;http://dag.wieers.com/packages/rpmforge-release/&amp;quot;&lt;br /&gt;
wget ${SITE}/rpmforge-release-0.3.6-1.el5.rf.i386.rpm&lt;br /&gt;
rpm -Uvh rpmforge-release-0.3.6-1.el5.rf.i386.rpm &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install apt:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SITE=&amp;quot;http://dag.wieers.com/packages/apt/&amp;quot;&lt;br /&gt;
wget ${SITE}/apt-0.5.15lorg3.2-1.el5.rf.i386.rpm &lt;br /&gt;
rpm -ivh apt-0.5.15lorg3.2-1.el5.rf.i386.rpm &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Also note that I am using the el5 versions of these rpms.&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Talk:Installing_Trixbox_2.0_in_CentOS_VE&amp;diff=6423</id>
		<title>Talk:Installing Trixbox 2.0 in CentOS VE</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Talk:Installing_Trixbox_2.0_in_CentOS_VE&amp;diff=6423"/>
		<updated>2008-09-06T13:14:32Z</updated>

		<summary type="html">&lt;p&gt;Fayette: New page: In attempting to follow these instructions I've found the following:  I am using the http://download.openvz.org/beta/templates/precreated/centos-5-x86.tar.gz template.    Between the &amp;quot;Add ...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In attempting to follow these instructions I've found the following:&lt;br /&gt;
&lt;br /&gt;
I am using the http://download.openvz.org/beta/templates/precreated/centos-5-x86.tar.gz template.  &lt;br /&gt;
&lt;br /&gt;
Between the &amp;quot;Add character device&amp;quot; and the &amp;quot;Install rpmforge &amp;amp; apt&amp;quot; steps you'll probably want to do&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vzctl enter &amp;lt;VEID&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I found that for some reason rpm could not access the files so I had to do the following to install rpmforge:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SITE=&amp;quot;http://dag.wieers.com/packages/rpmforge-release/&amp;quot;&lt;br /&gt;
wget ${SITE}/rpmforge-release-0.3.6-1.el4.rf.i386.rpm&lt;br /&gt;
rpm -Uvh rpmforge-release-0.3.6-1.el4.rf.i386.rpm &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Apt has unresolved dependencies, so rpm wouldn't install.  I used:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SITE=&amp;quot;http://dag.wieers.com/packages/apt/&amp;quot;&lt;br /&gt;
wget ${SITE}/apt-0.5.15lorg3.2-1.el4.rf.i386.rpm &lt;br /&gt;
yum localinstall apt-0.5.15lorg3.2-1.el4.rf.i386.rpm &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Using_veth_and_brctl_for_protecting_HN_and_saving_IP_addresses&amp;diff=6422</id>
		<title>Using veth and brctl for protecting HN and saving IP addresses</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Using_veth_and_brctl_for_protecting_HN_and_saving_IP_addresses&amp;diff=6422"/>
		<updated>2008-09-05T14:24:40Z</updated>

		<summary type="html">&lt;p&gt;Fayette: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Configuration described below has been suggested by Ugo123. Thank you.&lt;br /&gt;
&lt;br /&gt;
Consider we are facing the following task:&lt;br /&gt;
&lt;br /&gt;
1) We have limited range of IP addresses granted by ISP. &lt;br /&gt;
We want to assign as many granted IPs to containers as possible.&lt;br /&gt;
We do not want to protect containers from Internet.&lt;br /&gt;
2) We want to protect the [[HN]] OS ([[CT]]0) from Internet and make it possible to manage containers from [[CT0]] within local area network.&lt;br /&gt;
&lt;br /&gt;
Assume we have a [[HN]] with 2 Ethernet cards (interfaces eth0 and eth1), OpenVZ kernel 2.6.18-028stab033, vzctl version 3.0.16,&lt;br /&gt;
bridge-utils version 1.1. OpenVZ installation process is covered in [[quick installation]].&lt;br /&gt;
&lt;br /&gt;
This task can be effectively performed by setting up the configuration presented in Figure 1.&lt;br /&gt;
&lt;br /&gt;
Figure 1: Effective configuration. 10.0.98.96-10.0.98.X - range of IP addresses granted by ISP, 192.168.1.136 - IP address from LAN&lt;br /&gt;
&lt;br /&gt;
[[Image:fig.jpg]]&lt;br /&gt;
&lt;br /&gt;
Initial ifconfig output of HN is the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[HN]# ifconfig&lt;br /&gt;
eth0      Link encap:Ethernet  HWaddr XX:XX:XX:XX:XX:34&lt;br /&gt;
          inet addr:192.168.1.136  Bcast:192.168.3.255  Mask:255.255.252.0&lt;br /&gt;
          inet6 addr: fe80::230:48ff:fe5b:ab34/64 Scope:Link&lt;br /&gt;
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
          RX packets:3122 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
          TX packets:246 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
          collisions:0 txqueuelen:1000&lt;br /&gt;
          RX bytes:325879 (318.2 KiB)  TX bytes:57278 (55.9 KiB)&lt;br /&gt;
          Interrupt:20&lt;br /&gt;
&lt;br /&gt;
eth1      Link encap:Ethernet  HWaddr XX:XX:XX:XX:XX:35&lt;br /&gt;
          inet addr:192.168.0.32  Bcast:192.168.3.255  Mask:255.255.252.0&lt;br /&gt;
          inet6 addr: fe80::213:d4ff:fe90:4d50/64 Scope:Link&lt;br /&gt;
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
          RX packets:603734 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
          TX packets:36627 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
          collisions:0 txqueuelen:1000&lt;br /&gt;
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)&lt;br /&gt;
          Interrupt:21&lt;br /&gt;
&lt;br /&gt;
lo        Link encap:Local Loopback&lt;br /&gt;
          inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;
          inet6 addr: ::1/128 Scope:Host&lt;br /&gt;
          UP LOOPBACK RUNNING  MTU:16436  Metric:1&lt;br /&gt;
          RX packets:1376 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
          TX packets:1376 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
          collisions:0 txqueuelen:0&lt;br /&gt;
          RX bytes:2078718 (1.9 MiB)  TX bytes:2078718 (1.9 MiB)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Let us step through the setup process.&lt;br /&gt;
&lt;br /&gt;
1) Create 2 containers on the HN as described in http://download.openvz.org/doc/OpenVZ-Users-Guide.pdf.&lt;br /&gt;
For testing purposes I've used opensuse-10 precreated template from openvz.org:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[HN]# cd /vz/template/cache&lt;br /&gt;
[HN]# wget http://download.openvz.org/template/precreated/opensuse-10-i386-default.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Create container 101 and assign it one of the IP addresses obtained from ISP:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[HN]# vzctl create 101 --ostemplate opensuse-10-i386-default --ipadd 10.0.98.96&lt;br /&gt;
[HN]# vzctl set 101 --userpasswd root:XXX --save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And do the same for CT 102 ... CT N. When ready - start containers:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[HN]# vzctl start 101&lt;br /&gt;
[HN]# vzlist -a&lt;br /&gt;
      CTID      NPROC STATUS  IP_ADDR         HOSTNAME&lt;br /&gt;
       101          4 running 10.0.98.96      -&lt;br /&gt;
       102          4 running 10.0.98.97      -&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
2) By default containers use venet device for networking (see [[venet]]). But current&lt;br /&gt;
configuration requires using alternative networking - through veth devices (see [[Virtual Ethernet device]]).&lt;br /&gt;
Switch CT 101 to veth by doing the following:&lt;br /&gt;
&lt;br /&gt;
MAC address needed by eth0 of CT 101 and veth101.0 should be generated by easymac:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[HN]# wget http://www.easyvmx.com/software/easymac.sh&lt;br /&gt;
[HN]# chmod 0777 easymac.sh&lt;br /&gt;
[HN]# ./easymac.sh -R&lt;br /&gt;
00:0C:29:70:BB:34&lt;br /&gt;
[HN]# ./easymac.sh -R&lt;br /&gt;
00:0C:29:C0:2E:07&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Replace venet by veth device on HN:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[HN]# ifconfig venet0:0 down&lt;br /&gt;
[HN]# vzctl set 101 --netif_add eth0,00:0C:29:70:BB:34,veth101.0,00:0C:29:C0:2E:07 --save&lt;br /&gt;
[HN]# ifconfig veth101.0 0&lt;br /&gt;
[HN]# echo 0 &amp;gt; /proc/sys/net/ipv4/conf/veth101.0/forwarding&lt;br /&gt;
[HN]# echo 0 &amp;gt; /proc/sys/net/ipv4/conf/veth101.0/proxy_arp&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Enter the container and tune ifconfig within the container:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[CT 101]# vzctl enter 101&lt;br /&gt;
[CT 101]# ifconfig venet0:0 down&lt;br /&gt;
[CT 101]# ifconfig venet0 down&lt;br /&gt;
[CT 101]# ifconfig eth0 0&lt;br /&gt;
[CT 101]# ip addr add 10.0.98.96 dev eth0&lt;br /&gt;
[CT 101]# ip route add default dev eth0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The same (whole item 2) should be done for CT 102 ... CT N.&lt;br /&gt;
3) Now we should eliminate the IP address on eth1:&lt;br /&gt;
&lt;br /&gt;
 [HN]# vim /etc/sysconfig/network-scripts/ifcfg-eth1&lt;br /&gt;
&lt;br /&gt;
Edit like this:&lt;br /&gt;
 DEVICE=eth1&lt;br /&gt;
 #BOOTPROTO=dhcp                  &amp;lt;&amp;lt;== comment out&lt;br /&gt;
 HWADDR=XX:XX:XX:XX:XX:XX&lt;br /&gt;
 ONBOOT=yes&lt;br /&gt;
&lt;br /&gt;
and save changes (:wq).&lt;br /&gt;
&lt;br /&gt;
 [HN]# /etc/init.d/network restart&lt;br /&gt;
&lt;br /&gt;
And turn off forwarding and proxy_arp for eth1.&lt;br /&gt;
&lt;br /&gt;
 [HN]# ifconfig eth1 0&lt;br /&gt;
 [HN]# echo 0 &amp;gt; /proc/sys/net/ipv4/conf/eth1/forwarding&lt;br /&gt;
 [HN]# echo 0 &amp;gt; /proc/sys/net/ipv4/conf/eth1/proxy_arp&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
4) Create br0 bridge uniting eth1, veth101.0, ..., vethN.0:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[HN]# brctl addbr br0&lt;br /&gt;
[HN]# brctl addif br0 eth1&lt;br /&gt;
[HN]# brctl addif br0 veth101.0&lt;br /&gt;
..., veth102.0, vethN.0 etc.&lt;br /&gt;
[HN]# ifconfig br0 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And turn off frowarding and proxy_arp for br0:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[HN]# echo 0 &amp;gt; /proc/sys/net/ipv4/conf/br0/forwarding&lt;br /&gt;
[HN]# echo 0 &amp;gt; /proc/sys/net/ipv4/conf/br0/proxy_arp&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This is very important action. If skipped, network&lt;br /&gt;
can be broken on further steps due to incoming arp-requests provoked storm.&lt;br /&gt;
&lt;br /&gt;
As a result of above listed actions the ifconfig output like the following should be listed:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[HN]# ifconfig&lt;br /&gt;
br0       Link encap:Ethernet  HWaddr 00:0C:29:A7:A9:D9&lt;br /&gt;
          inet6 addr: fe80::20c:29ff:fea7:a9d9/64 Scope:Link&lt;br /&gt;
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
          RX packets:79 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
          TX packets:17 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
          collisions:0 txqueuelen:0&lt;br /&gt;
          RX bytes:2972 (2.9 KiB)  TX bytes:4390 (4.2 KiB)&lt;br /&gt;
&lt;br /&gt;
eth0      Link encap:Ethernet  HWaddr 00:30:48:5B:AB:34&lt;br /&gt;
          inet addr:192.168.1.136  Bcast:192.168.3.255  Mask:255.255.252.0&lt;br /&gt;
          inet6 addr: fe80::230:48ff:fe5b:ab34/64 Scope:Link&lt;br /&gt;
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
          RX packets:347855 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
          TX packets:4778 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
          collisions:0 txqueuelen:1000&lt;br /&gt;
          RX bytes:35964081 (34.2 MiB)  TX bytes:698801 (682.4 KiB)&lt;br /&gt;
          Interrupt:20&lt;br /&gt;
&lt;br /&gt;
eth1      Link encap:Ethernet  HWaddr 00:30:48:5B:AB:35&lt;br /&gt;
          inet6 addr: fe80::230:48ff:fe5b:ab35/64 Scope:Link&lt;br /&gt;
          UP BROADCAST MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
          RX packets:322 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
          TX packets:182 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
          collisions:0 txqueuelen:1000&lt;br /&gt;
          RX bytes:41943 (40.9 KiB)  TX bytes:21338 (20.8 KiB)&lt;br /&gt;
          Interrupt:21&lt;br /&gt;
&lt;br /&gt;
lo        Link encap:Local Loopback&lt;br /&gt;
          inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;
          inet6 addr: ::1/128 Scope:Host&lt;br /&gt;
          UP LOOPBACK RUNNING  MTU:16436  Metric:1&lt;br /&gt;
          RX packets:1376 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
          TX packets:1376 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
          collisions:0 txqueuelen:0&lt;br /&gt;
          RX bytes:2078718 (1.9 MiB)  TX bytes:2078718 (1.9 MiB)&lt;br /&gt;
&lt;br /&gt;
veth101.0 Link encap:Ethernet  HWaddr 00:0C:29:C0:2E:07&lt;br /&gt;
          inet6 addr: fe80::20c:29ff:fec0:2e07/64 Scope:Link&lt;br /&gt;
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
          RX packets:363 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
          TX packets:397 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
          collisions:0 txqueuelen:0&lt;br /&gt;
          RX bytes:31134 (30.4 KiB)  TX bytes:31440 (30.7 KiB)&lt;br /&gt;
&lt;br /&gt;
veth102.0 Link encap:Ethernet  HWaddr 00:0C:29:A7:A9:D9&lt;br /&gt;
          inet6 addr: fe80::20c:29ff:fea7:a9d9/64 Scope:Link&lt;br /&gt;
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
          RX packets:36 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
          TX packets:60 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
          collisions:0 txqueuelen:0&lt;br /&gt;
          RX bytes:1840 (1.7 KiB)  TX bytes:2350 (2.2 KiB)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
5) That is all. It's time to test the obtained configuration.&lt;br /&gt;
Now plug eth1 of HN into network wall outlet provided by ISP and carry out the following testing:&lt;br /&gt;
&lt;br /&gt;
- It should be tested that containers are accessible from Internet:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[INET]# ssh root@10.0.98.96&lt;br /&gt;
[CT 101]#  ...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
- HN is not accessible from Internet:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[INET]# ssh root@192.168.1.136&lt;br /&gt;
inaccessible&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
- containers can be managed from HN:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[HN]# vzctl enter 101&lt;br /&gt;
[CT 101]# ...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
- containers CT 101, CT 102 .. CT N &amp;quot;see&amp;quot; each other (ping).&lt;br /&gt;
&lt;br /&gt;
If all the steps are done as written, it should work.&lt;br /&gt;
Enjoy.&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Download/template&amp;diff=6421</id>
		<title>Download/template</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Download/template&amp;diff=6421"/>
		<updated>2008-09-05T14:17:52Z</updated>

		<summary type="html">&lt;p&gt;Fayette: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A '''template''' is an image of an OS (i.e. a Linux distribution) aimed for installation into a container. Template utilities are provided to assist in the creation of such images, but they are completely optional.&lt;br /&gt;
&lt;br /&gt;
;[[Download/template/precreated|Precreated]]&lt;br /&gt;
:Precreated templates of different distributions. &lt;br /&gt;
;[[Download/template/utils|Utilities]]&lt;br /&gt;
:Template utilities are programs designed to assist with template maintenance, such as the creation and update of templates and containers. Currently these consists of [[Download/vzpkg|'''vzpkg''']], [[Download/vzyum|'''vzyum''']] and several versions of the RPM utility repackaged for OpenVZ. '''All this is  optional and currently only supported on systems with x86 architecture and with python &amp;lt;= 2.4.'''&lt;br /&gt;
;[[Download/template/metadata|Metadata]]&lt;br /&gt;
: Template metadata is data needed to (re)create or update template cache using template utilities. Metadata for a template contains the following information: list of packages that form this template; locations of package repositories; scripts needed to be executed on various stages of template installation; public GPG key(s) needed to check signatures of packages; additional OpenVZ-specific packages.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[:Category:Templates]]&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Download/template&amp;diff=6420</id>
		<title>Download/template</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Download/template&amp;diff=6420"/>
		<updated>2008-09-05T14:15:02Z</updated>

		<summary type="html">&lt;p&gt;Fayette: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A '''template''' is an image of an OS (i.e. a Linux distribution) aimed for installation into a container. Template utilities are provided to assist in the creation of such images, but they are completely optional.&lt;br /&gt;
&lt;br /&gt;
;[[Download/template/precreated|Precreated]]&lt;br /&gt;
:Precreated templates of different distributions. &lt;br /&gt;
;[[Download/template/utils|Utilities]]&lt;br /&gt;
:Template utilities is a software aimed at template maintenance, such as creation and update of templates and containers. Currently these consists of [[Download/vzpkg|'''vzpkg''']], [[Download/vzyum|'''vzyum''']] and several versions of RPM utility repackaged for OpenVZ. '''All this stuff is highly optional and currently only supported on systems with x86 architecture and with python &amp;lt;= 2.4.'''&lt;br /&gt;
;[[Download/template/metadata|Metadata]]&lt;br /&gt;
: Template metadata is data needed to (re)create or update template cache using template utilities. Metadata for a template contains the following information: list of packages that form this template; locations of package repositories; scripts needed to be executed on various stages of template installation; public GPG key(s) needed to check signatures of packages; additional OpenVZ-specific packages.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[:Category:Templates]]&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Machine_check_exception&amp;diff=6419</id>
		<title>Machine check exception</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Machine_check_exception&amp;diff=6419"/>
		<updated>2008-09-05T14:11:45Z</updated>

		<summary type="html">&lt;p&gt;Fayette: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Machine check exception''' is when you see something like this in your logs:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Jul  9 12:19:41 vz01 kernel: CPU 0: Machine Check Exception: 0000000000000004&lt;br /&gt;
Jul  9 12:19:41 vz01 kernel: Bank 4: b604a00100000813 at 000000007e4f2f68&lt;br /&gt;
Jul  9 12:19:41 vz01 kernel: Kernel panic: CPU context corrupt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== What does that mean? ==&lt;br /&gt;
Such messages are printed when the CPU detects hardware problems, e.g. memory corruptions or some other problems. It is 100% hardware problem with your server.&lt;br /&gt;
&lt;br /&gt;
== What to do? ==&lt;br /&gt;
The best thing to do is check your server — see [[Hardware testing]].&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Machine_Check_Exception wikipedia:Machine Check Exception]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Troubleshooting]]&lt;br /&gt;
[[Category: FAQ]]&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=OS_template_metadata&amp;diff=6418</id>
		<title>OS template metadata</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=OS_template_metadata&amp;diff=6418"/>
		<updated>2008-09-05T14:10:37Z</updated>

		<summary type="html">&lt;p&gt;Fayette: /* Contributions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''OS template metadata''' is a set of a few files containing the following information:&lt;br /&gt;
&lt;br /&gt;
* List of packages that form this [[OS template]]&lt;br /&gt;
* Locations of package repositories&lt;br /&gt;
* Scripts needed to be executed on various stages of template installation&lt;br /&gt;
* Public GPG key(s) needed to check signatures of packages&lt;br /&gt;
* Additional OpenVZ-specific packages&lt;br /&gt;
&lt;br /&gt;
==Internals==&lt;br /&gt;
(Incomplete) Based off the centos-4 vztmpl:&lt;br /&gt;
&lt;br /&gt;
*addons/vzdev is a static list of most commonly used /dev entries. Provides dev package. Uses MAKEDEV.spec&lt;br /&gt;
*addons/MAKEDEV-3.3.13-1.3.swsoft is generated from a copy of fedora core 2's MAKEDEV-3.3.13. Uses MAKEDEV.spec which is a customized version to install only the essential devices and depend on vzdev&lt;br /&gt;
*dummy-centos-4 is a placeholder for kernel, module-init-tools, modutils, mingetty, kernel-utils, ethtool, and kernel-drm packages. Uses dummy.spec&lt;br /&gt;
*default.list, minimal.list, *.list are list of packages for a flavor of the template. Must contain dummy-centos-4, vzdev, and MAKEDEV packages&lt;br /&gt;
*config/yum.conf.in template for yum.conf with tokens replaced during build.&lt;br /&gt;
*config/install-pre or install-post is executed by cache-os which is executed by vzpkgcache when creating a template cache&lt;br /&gt;
*config/update-pre or update-post is executed when updating a template cache&lt;br /&gt;
*config/gpgkeys are the keys for the packages to be cached&lt;br /&gt;
*config/rpm contains the rpm version&lt;br /&gt;
*vztmpl.spec.in is template for the vztmpl package&lt;br /&gt;
*make.defs is the common variables for the make process&lt;br /&gt;
&lt;br /&gt;
Download the vztmpl-centos-4*.src.rpm. Install it. Modify it.&lt;br /&gt;
&lt;br /&gt;
To generate the OS template metadata rpm run &amp;quot;make rpms&amp;quot; inside the /usr/src/redhat/SOURCES/centos-4 dir. You will need gcc, rpmbuild, and createrepo packages.&lt;br /&gt;
&lt;br /&gt;
==Contributions==&lt;br /&gt;
* http://www.neonhost.com/openvz/ - Centos 5 rpm and patch for centos 4 template contributed by Chris Turan. See http://forum.openvz.org/index.php?t=msg&amp;amp;&amp;amp;th=5037&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Kir's beta templates - http://download.openvz.org/beta/templates/precreated/&lt;br /&gt;
Using OS template metadata and vzpkg tools, an OS template cache can be created.&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[OS template]]&lt;br /&gt;
* [[OS template cache]]&lt;br /&gt;
* [[OS template cache preparation]]&lt;br /&gt;
&lt;br /&gt;
[[Category: Definitions]]&lt;br /&gt;
[[Category: Templates]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Resource_shortage&amp;diff=6417</id>
		<title>Resource shortage</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Resource_shortage&amp;diff=6417"/>
		<updated>2008-09-05T14:06:44Z</updated>

		<summary type="html">&lt;p&gt;Fayette: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Sometimes you see strange failures from some programs inside your [[container]]. In some cases it means one of the resources controlled by OpenVZ has hit the limit.&lt;br /&gt;
&lt;br /&gt;
The first thing to do is to check the contents of the /proc/user_beancounters file in your [[container]]. The last column of output is the fail counter. Each time a resource hits the limit, the fail counter is incremented. So, if you see non-zero values in the failcnt column that means something is wrong.&lt;br /&gt;
&lt;br /&gt;
There are two ways to fix the situation: reconfigure (in some cases recompile) the application, or change the resource management settings.&lt;br /&gt;
&lt;br /&gt;
== [[UBC]] parameters ==&lt;br /&gt;
&lt;br /&gt;
Here is an example of current [[UBC]] values obtained from &amp;lt;code&amp;gt;/proc/user_beancounters&amp;lt;/code&amp;gt; file in container 123:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /proc/user_beancounters&lt;br /&gt;
Version: 2.5&lt;br /&gt;
       uid  resource           held    maxheld    barrier      limit    failcnt&lt;br /&gt;
       123: kmemsize         836919    1005343    2752512    2936012          0&lt;br /&gt;
            lockedpages           0          0         32         32          0&lt;br /&gt;
            privvmpages        4587       7289      49152      53575          0&lt;br /&gt;
            shmpages             39         39       8192       8192          0&lt;br /&gt;
            dummy                 0          0          0          0          0&lt;br /&gt;
            numproc              20         26         65         65          0&lt;br /&gt;
            physpages          2267       2399          0 2147483647          0&lt;br /&gt;
            vmguarpages           0          0       6144 2147483647          0&lt;br /&gt;
            oomguarpages       2267       2399       6144 2147483647          0&lt;br /&gt;
            numtcpsock            3          3         80         80          0&lt;br /&gt;
            numflock              3          4        100        110          0&lt;br /&gt;
            numpty                1          1         16         16          0&lt;br /&gt;
            numsiginfo            0          1        256        256          0&lt;br /&gt;
            tcpsndbuf             0          0     319488     524288          0&lt;br /&gt;
            tcprcvbuf             0          0     319488     524288          0&lt;br /&gt;
            othersockbuf       6684       7888     132096     336896          0&lt;br /&gt;
            dgramrcvbuf           0       8372     132096     132096          0&lt;br /&gt;
            numothersock          8         10         80         80          0&lt;br /&gt;
            dcachesize        87672      92168    1048576    1097728          0&lt;br /&gt;
            numfile             238        306       2048       2048          0&lt;br /&gt;
            dummy                 0          0          0          0          0&lt;br /&gt;
            dummy                 0          0          0          0          0&lt;br /&gt;
            dummy                 0          0          0          0          0&lt;br /&gt;
            numiptent            10         16        128        128          0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can see if you hit the limit for some [[UBC]] parameters by analyzing the last column (named &amp;lt;code&amp;gt;failcnt&amp;lt;/code&amp;gt;). It shows a number of failures for this counter, i.e. a number of times a parameter hit the limit. Usually what you need to do is to increase the parameter in question. But you need to do it carefully, and here is how.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Get the current values for the parameter's barrier and limit. For example, we want to increase kmemsize values. From &amp;lt;code&amp;gt;/proc/user_beancounters&amp;lt;/code&amp;gt; we see that &amp;lt;code&amp;gt;kmemsize&amp;lt;/code&amp;gt; barrier is 2752512, and its limit is 2936012.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Increase the values. Say, we want to double &amp;lt;code&amp;gt;kmemsize&amp;lt;/code&amp;gt;. This is how it can be done using built-in bash arithmetics:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# vzctl set 123 --kmemsize $((2752512*2)):$((2936012*2)) --save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
By using the &amp;lt;code&amp;gt;--save&amp;lt;/code&amp;gt; flag, we indicate we want to apply the new setting to the running container and save it in the configuration file (from which the settings will be taken during next container start).&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Check the new configuration. Issue the following command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# vzcfgvalidate /etc/vz/conf/123.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If something is wrong, you need to fix it as suggested by the utility.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For more in-depth explanation of different parameters, their meaning and how to set them properly, see [[setting UBC parameters]].&lt;br /&gt;
&lt;br /&gt;
== Disk quota ==&lt;br /&gt;
To check if your [[container]] exceeded its disk quota, use the following commands (inside a container):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# df&lt;br /&gt;
Filesystem           1K-blocks      Used Available Use% Mounted on&lt;br /&gt;
simfs                  1048576    327664    720912  32% /&lt;br /&gt;
# df -i&lt;br /&gt;
Filesystem            Inodes   IUsed   IFree IUse% Mounted on&lt;br /&gt;
simfs                 200000   18857  181143   10% /&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first command shows disk space usage and the second command shows the inodes usage (you can roughly use the inodes count as a number of files/directories on your system).&lt;br /&gt;
&lt;br /&gt;
If one of the commands shows a usage of 100% you have exceeded one of the disk quota limits. &lt;br /&gt;
&lt;br /&gt;
You can increase the limit from the host system ([[CT0]] [[aka]] [[VE0]]) only. This is how:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Get the current values for disk quota:&lt;br /&gt;
&amp;lt;pre&amp;gt;# vzquota stat 123&lt;br /&gt;
   resource          usage       softlimit      hardlimit    grace&lt;br /&gt;
  1k-blocks         327664         1048576        1153434&lt;br /&gt;
     inodes          18857          200000         220000&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;To increase the disk space quota, use vzctl set --diskspace. For example, we want to increase it by a factor of 2:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vzctl set 123 --diskspace $(( 1048576*2 )):$(( 1153434*2 )) --save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;To increase the disk inodes quota, use &amp;lt;tt&amp;gt;vzctl set --diskinodes&amp;lt;/tt&amp;gt;. For example, we want to increase it by a factor of 3:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vzctl set 123 --diskinodes $(( 200000*3 )):$(( 220000*3 )) --save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Note|shell does not support floating-point arithmetic, i.e. you can not use expressions like &amp;lt;code&amp;gt;$((&amp;amp;nbsp;220000*1.5&amp;amp;nbsp;))&amp;lt;/code&amp;gt;. To use floating point, try &amp;lt;code&amp;gt;bc&amp;lt;/code&amp;gt; instead, something like this: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$(echo&amp;amp;nbsp;220000*1.5&amp;amp;nbsp;|&amp;amp;nbsp;bc)&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;.}}&lt;br /&gt;
&lt;br /&gt;
== CPU ==&lt;br /&gt;
&lt;br /&gt;
There are two parameters controlling fair CPU scheduler in OpenVZ: cpuunits and cpulimit. &lt;br /&gt;
&lt;br /&gt;
Cpuunits are set via&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vzctl set 101 --cpuunits 1000 --save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
For example.  If you set a cpuunit for one container to a value and set a cpuunit on another container to a different value, the time allotted to each of the containers will be the ratio of the two units.  Let's use a real example.&lt;br /&gt;
&lt;br /&gt;
We did the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vzctl set 101 --cpuunits 1000 --save&lt;br /&gt;
vzctl set 102 --cpuunits 2000 --save&lt;br /&gt;
vzctl set 103 --cpuunits 3000 --save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If we started a cpu intensive application on each VE, then 103 would be given 3 times as much cpu time as 101 and 102 would get twice as much as 101, but some fraction of what 103 got.  Here's how to determine what the real ratios are.  &lt;br /&gt;
&lt;br /&gt;
Add the three units, 1000+2000+3000 = 6000&lt;br /&gt;
&lt;br /&gt;
101 gets 1000/6000 or 1/6th of the time. (16%)&lt;br /&gt;
102 gets 2000/6000 or 1/3rd of the time. (34%)&lt;br /&gt;
103 gets 3000/6000 or 1/2 of the time.   (50%)&lt;br /&gt;
&lt;br /&gt;
CPULIMIT&lt;br /&gt;
&lt;br /&gt;
The cpulimit parameter sets the absolute maximum limit for a container to a percent value.  For instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vzctl set 101 --cpulimit 25 --save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
says that container 101 cannot ever have more than 25 percent of the cpu even if the cpu is idle for the other 75% of the time.&lt;br /&gt;
&lt;br /&gt;
{{Stub}}&lt;br /&gt;
&lt;br /&gt;
[[Category: Troubleshooting]]&lt;br /&gt;
[[Category: HOWTO]]&lt;br /&gt;
[[Category: UBC]]&lt;br /&gt;
[[Category: Resource management]]&lt;br /&gt;
[[Category: Disk quota]]&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Fair-share_scheduling&amp;diff=6416</id>
		<title>Fair-share scheduling</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Fair-share_scheduling&amp;diff=6416"/>
		<updated>2008-09-05T13:36:41Z</updated>

		<summary type="html">&lt;p&gt;Fayette: New page: Fair-share scheduling is a method of allotting CPU time to muliple processors in a defined way.  When mulitple processes need a CPU, operating systems frequently allot CPU time slices on a...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Fair-share scheduling is a method of allotting CPU time to muliple processors in a defined way.  When mulitple processes need a CPU, operating systems frequently allot CPU time slices on a round robin, equal time basis for processes with the same priority.  An exmaple is that if there are 4 processes wanting the CPU then each process will get 1/4 of a second every second.  This is not to say that each process will get 1/4 of a second all at one time.  Most operating systems define a time slice, something like 50 msec (arbitrary number that doesn't necessarily represent any OS) and will give each process a time slice.  So in this completely made up case, Each process will get 5 time slices every second.  &lt;br /&gt;
&lt;br /&gt;
Long ago someone said that we need a way of giving people with legitimate requirements more of the time than less needy people.  &amp;quot;Need&amp;quot; often reflects what level of service the user wants to pay for.  The fair-share scheduler was born.  There have been a number of implementations over the years, but on of the most common was to simply assign weights to users such that one user may get twice as many time slices in a given time period as others.  This has been expanded often to groups so that processes belonging to a group of users would be given the same number of time slices as another group.&lt;br /&gt;
&lt;br /&gt;
For example if group A had 8 processes running and group B had 4, then each group would get half the time, meaning that each process in the A group would only get 6.25% of the time (8*6.5 = 50) and each process in group B would get 12.5% of the time.&lt;br /&gt;
&lt;br /&gt;
There are a number of different implementations of the fair-share scheduler other than the ones described here.  I know of one that actually kept track of the accumulated time over a time period for a user/group and would use that information in it's calculations.  The theory was that if you'd been a cpu hog in the past, you might not get as much time right now.  This calculation also was also time weighted such that your share of time in the last second was much more important than a second a few minutes ago.&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Aka&amp;diff=6415</id>
		<title>Aka</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Aka&amp;diff=6415"/>
		<updated>2008-09-05T13:13:00Z</updated>

		<summary type="html">&lt;p&gt;Fayette: New page: aka - also know as, an alias, meaning the same&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;aka - also know as, an alias, meaning the same&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Resource_shortage&amp;diff=6414</id>
		<title>Resource shortage</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Resource_shortage&amp;diff=6414"/>
		<updated>2008-09-05T13:12:31Z</updated>

		<summary type="html">&lt;p&gt;Fayette: /* Disk quota */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Sometimes you see strange failures from some programs inside your [[container]]. In some cases it means one of the resources controlled by OpenVZ has hit the limit.&lt;br /&gt;
&lt;br /&gt;
The first thing to do is to check the contents of the /proc/user_beancounters file in your [[container]]. The last column of output is the fail counter. Each time a resource hits the limit, the fail counter is incremented. So, if you see non-zero values in the failcnt column that means something is wrong.&lt;br /&gt;
&lt;br /&gt;
There are two ways to fix the situation: reconfigure (in some cases recompile) the application, or change the resource management settings.&lt;br /&gt;
&lt;br /&gt;
== [[UBC]] parameters ==&lt;br /&gt;
&lt;br /&gt;
Here is an example of current [[UBC]] values obtained from &amp;lt;code&amp;gt;/proc/user_beancounters&amp;lt;/code&amp;gt; file in container 123:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /proc/user_beancounters&lt;br /&gt;
Version: 2.5&lt;br /&gt;
       uid  resource           held    maxheld    barrier      limit    failcnt&lt;br /&gt;
       123: kmemsize         836919    1005343    2752512    2936012          0&lt;br /&gt;
            lockedpages           0          0         32         32          0&lt;br /&gt;
            privvmpages        4587       7289      49152      53575          0&lt;br /&gt;
            shmpages             39         39       8192       8192          0&lt;br /&gt;
            dummy                 0          0          0          0          0&lt;br /&gt;
            numproc              20         26         65         65          0&lt;br /&gt;
            physpages          2267       2399          0 2147483647          0&lt;br /&gt;
            vmguarpages           0          0       6144 2147483647          0&lt;br /&gt;
            oomguarpages       2267       2399       6144 2147483647          0&lt;br /&gt;
            numtcpsock            3          3         80         80          0&lt;br /&gt;
            numflock              3          4        100        110          0&lt;br /&gt;
            numpty                1          1         16         16          0&lt;br /&gt;
            numsiginfo            0          1        256        256          0&lt;br /&gt;
            tcpsndbuf             0          0     319488     524288          0&lt;br /&gt;
            tcprcvbuf             0          0     319488     524288          0&lt;br /&gt;
            othersockbuf       6684       7888     132096     336896          0&lt;br /&gt;
            dgramrcvbuf           0       8372     132096     132096          0&lt;br /&gt;
            numothersock          8         10         80         80          0&lt;br /&gt;
            dcachesize        87672      92168    1048576    1097728          0&lt;br /&gt;
            numfile             238        306       2048       2048          0&lt;br /&gt;
            dummy                 0          0          0          0          0&lt;br /&gt;
            dummy                 0          0          0          0          0&lt;br /&gt;
            dummy                 0          0          0          0          0&lt;br /&gt;
            numiptent            10         16        128        128          0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can see if you hit the limit for some [[UBC]] parameters by analyzing the last column (named &amp;lt;code&amp;gt;failcnt&amp;lt;/code&amp;gt;). It shows a number of failures for this counter, i.e. a number of times a parameter hit the limit. Usually what you need to do is to increase the parameter in question. But you need to do it carefully, and here is how.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Get the current values for the parameter's barrier and limit. For example, we want to increase kmemsize values. From &amp;lt;code&amp;gt;/proc/user_beancounters&amp;lt;/code&amp;gt; we see that &amp;lt;code&amp;gt;kmemsize&amp;lt;/code&amp;gt; barrier is 2752512, and its limit is 2936012.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Increase the values. Say, we want to double &amp;lt;code&amp;gt;kmemsize&amp;lt;/code&amp;gt;. This is how it can be done using built-in bash arithmetics:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# vzctl set 123 --kmemsize $((2752512*2)):$((2936012*2)) --save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
By using the &amp;lt;code&amp;gt;--save&amp;lt;/code&amp;gt; flag, we indicate we want to apply the new setting to the running container and save it in the configuration file (from which the settings will be taken during next container start).&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Check the new configuration. Issue the following command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# vzcfgvalidate /etc/vz/conf/123.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If something is wrong, you need to fix it as suggested by the utility.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For more in-depth explanation of different parameters, their meaning and how to set them properly, see [[setting UBC parameters]].&lt;br /&gt;
&lt;br /&gt;
== Disk quota ==&lt;br /&gt;
To check if your [[container]] exceeded its disk quota, use the following commands (inside a container):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# df&lt;br /&gt;
Filesystem           1K-blocks      Used Available Use% Mounted on&lt;br /&gt;
simfs                  1048576    327664    720912  32% /&lt;br /&gt;
# df -i&lt;br /&gt;
Filesystem            Inodes   IUsed   IFree IUse% Mounted on&lt;br /&gt;
simfs                 200000   18857  181143   10% /&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first command shows disk space usage and the second command shows the inodes usage (you can roughly use the inodes count as a number of files/directories on your system).&lt;br /&gt;
&lt;br /&gt;
If one of the commands shows a usage of 100% you have exceeded one of the disk quota limits. &lt;br /&gt;
&lt;br /&gt;
You can increase the limit from the host system ([[CT0]] [[aka]] [[VE0]]) only. This is how:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Get the current values for disk quota:&lt;br /&gt;
&amp;lt;pre&amp;gt;# vzquota stat 123&lt;br /&gt;
   resource          usage       softlimit      hardlimit    grace&lt;br /&gt;
  1k-blocks         327664         1048576        1153434&lt;br /&gt;
     inodes          18857          200000         220000&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;To increase the disk space quota, use vzctl set --diskspace. For example, we want to increase it by a factor of 2:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vzctl set 123 --diskspace $(( 1048576*2 )):$(( 1153434*2 )) --save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;To increase the disk inodes quota, use &amp;lt;tt&amp;gt;vzctl set --diskinodes&amp;lt;/tt&amp;gt;. For example, we want to increase it by a factor of 3:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vzctl set 123 --diskinodes $(( 200000*3 )):$(( 220000*3 )) --save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Note|shell does not support floating-point arithmetic, i.e. you can not use expressions like &amp;lt;code&amp;gt;$((&amp;amp;nbsp;220000*1.5&amp;amp;nbsp;))&amp;lt;/code&amp;gt;. To use floating point, try &amp;lt;code&amp;gt;bc&amp;lt;/code&amp;gt; instead, something like this: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$(echo&amp;amp;nbsp;220000*1.5&amp;amp;nbsp;|&amp;amp;nbsp;bc)&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;.}}&lt;br /&gt;
&lt;br /&gt;
== CPU ==&lt;br /&gt;
&lt;br /&gt;
There are two parameters controlling fair CPU scheduler in OpenVZ: cpuunits and cpulimit.&lt;br /&gt;
&lt;br /&gt;
{{Stub}}&lt;br /&gt;
&lt;br /&gt;
[[Category: Troubleshooting]]&lt;br /&gt;
[[Category: HOWTO]]&lt;br /&gt;
[[Category: UBC]]&lt;br /&gt;
[[Category: Resource management]]&lt;br /&gt;
[[Category: Disk quota]]&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Resource_shortage&amp;diff=6413</id>
		<title>Resource shortage</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Resource_shortage&amp;diff=6413"/>
		<updated>2008-09-05T13:11:42Z</updated>

		<summary type="html">&lt;p&gt;Fayette: /* Disk quota */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Sometimes you see strange failures from some programs inside your [[container]]. In some cases it means one of the resources controlled by OpenVZ has hit the limit.&lt;br /&gt;
&lt;br /&gt;
The first thing to do is to check the contents of the /proc/user_beancounters file in your [[container]]. The last column of output is the fail counter. Each time a resource hits the limit, the fail counter is incremented. So, if you see non-zero values in the failcnt column that means something is wrong.&lt;br /&gt;
&lt;br /&gt;
There are two ways to fix the situation: reconfigure (in some cases recompile) the application, or change the resource management settings.&lt;br /&gt;
&lt;br /&gt;
== [[UBC]] parameters ==&lt;br /&gt;
&lt;br /&gt;
Here is an example of current [[UBC]] values obtained from &amp;lt;code&amp;gt;/proc/user_beancounters&amp;lt;/code&amp;gt; file in container 123:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /proc/user_beancounters&lt;br /&gt;
Version: 2.5&lt;br /&gt;
       uid  resource           held    maxheld    barrier      limit    failcnt&lt;br /&gt;
       123: kmemsize         836919    1005343    2752512    2936012          0&lt;br /&gt;
            lockedpages           0          0         32         32          0&lt;br /&gt;
            privvmpages        4587       7289      49152      53575          0&lt;br /&gt;
            shmpages             39         39       8192       8192          0&lt;br /&gt;
            dummy                 0          0          0          0          0&lt;br /&gt;
            numproc              20         26         65         65          0&lt;br /&gt;
            physpages          2267       2399          0 2147483647          0&lt;br /&gt;
            vmguarpages           0          0       6144 2147483647          0&lt;br /&gt;
            oomguarpages       2267       2399       6144 2147483647          0&lt;br /&gt;
            numtcpsock            3          3         80         80          0&lt;br /&gt;
            numflock              3          4        100        110          0&lt;br /&gt;
            numpty                1          1         16         16          0&lt;br /&gt;
            numsiginfo            0          1        256        256          0&lt;br /&gt;
            tcpsndbuf             0          0     319488     524288          0&lt;br /&gt;
            tcprcvbuf             0          0     319488     524288          0&lt;br /&gt;
            othersockbuf       6684       7888     132096     336896          0&lt;br /&gt;
            dgramrcvbuf           0       8372     132096     132096          0&lt;br /&gt;
            numothersock          8         10         80         80          0&lt;br /&gt;
            dcachesize        87672      92168    1048576    1097728          0&lt;br /&gt;
            numfile             238        306       2048       2048          0&lt;br /&gt;
            dummy                 0          0          0          0          0&lt;br /&gt;
            dummy                 0          0          0          0          0&lt;br /&gt;
            dummy                 0          0          0          0          0&lt;br /&gt;
            numiptent            10         16        128        128          0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can see if you hit the limit for some [[UBC]] parameters by analyzing the last column (named &amp;lt;code&amp;gt;failcnt&amp;lt;/code&amp;gt;). It shows a number of failures for this counter, i.e. a number of times a parameter hit the limit. Usually what you need to do is to increase the parameter in question. But you need to do it carefully, and here is how.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Get the current values for the parameter's barrier and limit. For example, we want to increase kmemsize values. From &amp;lt;code&amp;gt;/proc/user_beancounters&amp;lt;/code&amp;gt; we see that &amp;lt;code&amp;gt;kmemsize&amp;lt;/code&amp;gt; barrier is 2752512, and its limit is 2936012.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Increase the values. Say, we want to double &amp;lt;code&amp;gt;kmemsize&amp;lt;/code&amp;gt;. This is how it can be done using built-in bash arithmetics:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# vzctl set 123 --kmemsize $((2752512*2)):$((2936012*2)) --save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
By using the &amp;lt;code&amp;gt;--save&amp;lt;/code&amp;gt; flag, we indicate we want to apply the new setting to the running container and save it in the configuration file (from which the settings will be taken during next container start).&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Check the new configuration. Issue the following command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# vzcfgvalidate /etc/vz/conf/123.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If something is wrong, you need to fix it as suggested by the utility.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For more in-depth explanation of different parameters, their meaning and how to set them properly, see [[setting UBC parameters]].&lt;br /&gt;
&lt;br /&gt;
== Disk quota ==&lt;br /&gt;
To check if your [[container]] exceeded its disk quota, use the following commands (inside a container):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# df&lt;br /&gt;
Filesystem           1K-blocks      Used Available Use% Mounted on&lt;br /&gt;
simfs                  1048576    327664    720912  32% /&lt;br /&gt;
# df -i&lt;br /&gt;
Filesystem            Inodes   IUsed   IFree IUse% Mounted on&lt;br /&gt;
simfs                 200000   18857  181143   10% /&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first command shows disk space usage and the second command shows the inodes usage (you can roughly use the inodes count as a number of files/directories on your system).&lt;br /&gt;
&lt;br /&gt;
If one of the commands shows a usage of 100% you have exceeded one of the disk quota limits. &lt;br /&gt;
&lt;br /&gt;
You can increase the limit from the host system ([[CT0]] aka [[VE0]]) only. This is how:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Get the current values for disk quota:&lt;br /&gt;
&amp;lt;pre&amp;gt;# vzquota stat 123&lt;br /&gt;
   resource          usage       softlimit      hardlimit    grace&lt;br /&gt;
  1k-blocks         327664         1048576        1153434&lt;br /&gt;
     inodes          18857          200000         220000&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;To increase the disk space quota, use vzctl set --diskspace. For example, we want to increase it by a factor of 2:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vzctl set 123 --diskspace $(( 1048576*2 )):$(( 1153434*2 )) --save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;To increase the disk inodes quota, use &amp;lt;tt&amp;gt;vzctl set --diskinodes&amp;lt;/tt&amp;gt;. For example, we want to increase it by a factor of 3:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vzctl set 123 --diskinodes $(( 200000*3 )):$(( 220000*3 )) --save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Note|shell does not support floating-point arithmetic, i.e. you can not use expressions like &amp;lt;code&amp;gt;$((&amp;amp;nbsp;220000*1.5&amp;amp;nbsp;))&amp;lt;/code&amp;gt;. To use floating point, try &amp;lt;code&amp;gt;bc&amp;lt;/code&amp;gt; instead, something like this: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$(echo&amp;amp;nbsp;220000*1.5&amp;amp;nbsp;|&amp;amp;nbsp;bc)&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;.}}&lt;br /&gt;
&lt;br /&gt;
== CPU ==&lt;br /&gt;
&lt;br /&gt;
There are two parameters controlling fair CPU scheduler in OpenVZ: cpuunits and cpulimit.&lt;br /&gt;
&lt;br /&gt;
{{Stub}}&lt;br /&gt;
&lt;br /&gt;
[[Category: Troubleshooting]]&lt;br /&gt;
[[Category: HOWTO]]&lt;br /&gt;
[[Category: UBC]]&lt;br /&gt;
[[Category: Resource management]]&lt;br /&gt;
[[Category: Disk quota]]&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Resource_shortage&amp;diff=6412</id>
		<title>Resource shortage</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Resource_shortage&amp;diff=6412"/>
		<updated>2008-09-05T13:11:06Z</updated>

		<summary type="html">&lt;p&gt;Fayette: /* Disk quota */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Sometimes you see strange failures from some programs inside your [[container]]. In some cases it means one of the resources controlled by OpenVZ has hit the limit.&lt;br /&gt;
&lt;br /&gt;
The first thing to do is to check the contents of the /proc/user_beancounters file in your [[container]]. The last column of output is the fail counter. Each time a resource hits the limit, the fail counter is incremented. So, if you see non-zero values in the failcnt column that means something is wrong.&lt;br /&gt;
&lt;br /&gt;
There are two ways to fix the situation: reconfigure (in some cases recompile) the application, or change the resource management settings.&lt;br /&gt;
&lt;br /&gt;
== [[UBC]] parameters ==&lt;br /&gt;
&lt;br /&gt;
Here is an example of current [[UBC]] values obtained from &amp;lt;code&amp;gt;/proc/user_beancounters&amp;lt;/code&amp;gt; file in container 123:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /proc/user_beancounters&lt;br /&gt;
Version: 2.5&lt;br /&gt;
       uid  resource           held    maxheld    barrier      limit    failcnt&lt;br /&gt;
       123: kmemsize         836919    1005343    2752512    2936012          0&lt;br /&gt;
            lockedpages           0          0         32         32          0&lt;br /&gt;
            privvmpages        4587       7289      49152      53575          0&lt;br /&gt;
            shmpages             39         39       8192       8192          0&lt;br /&gt;
            dummy                 0          0          0          0          0&lt;br /&gt;
            numproc              20         26         65         65          0&lt;br /&gt;
            physpages          2267       2399          0 2147483647          0&lt;br /&gt;
            vmguarpages           0          0       6144 2147483647          0&lt;br /&gt;
            oomguarpages       2267       2399       6144 2147483647          0&lt;br /&gt;
            numtcpsock            3          3         80         80          0&lt;br /&gt;
            numflock              3          4        100        110          0&lt;br /&gt;
            numpty                1          1         16         16          0&lt;br /&gt;
            numsiginfo            0          1        256        256          0&lt;br /&gt;
            tcpsndbuf             0          0     319488     524288          0&lt;br /&gt;
            tcprcvbuf             0          0     319488     524288          0&lt;br /&gt;
            othersockbuf       6684       7888     132096     336896          0&lt;br /&gt;
            dgramrcvbuf           0       8372     132096     132096          0&lt;br /&gt;
            numothersock          8         10         80         80          0&lt;br /&gt;
            dcachesize        87672      92168    1048576    1097728          0&lt;br /&gt;
            numfile             238        306       2048       2048          0&lt;br /&gt;
            dummy                 0          0          0          0          0&lt;br /&gt;
            dummy                 0          0          0          0          0&lt;br /&gt;
            dummy                 0          0          0          0          0&lt;br /&gt;
            numiptent            10         16        128        128          0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can see if you hit the limit for some [[UBC]] parameters by analyzing the last column (named &amp;lt;code&amp;gt;failcnt&amp;lt;/code&amp;gt;). It shows a number of failures for this counter, i.e. a number of times a parameter hit the limit. Usually what you need to do is to increase the parameter in question. But you need to do it carefully, and here is how.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Get the current values for the parameter's barrier and limit. For example, we want to increase kmemsize values. From &amp;lt;code&amp;gt;/proc/user_beancounters&amp;lt;/code&amp;gt; we see that &amp;lt;code&amp;gt;kmemsize&amp;lt;/code&amp;gt; barrier is 2752512, and its limit is 2936012.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Increase the values. Say, we want to double &amp;lt;code&amp;gt;kmemsize&amp;lt;/code&amp;gt;. This is how it can be done using built-in bash arithmetics:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# vzctl set 123 --kmemsize $((2752512*2)):$((2936012*2)) --save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
By using the &amp;lt;code&amp;gt;--save&amp;lt;/code&amp;gt; flag, we indicate we want to apply the new setting to the running container and save it in the configuration file (from which the settings will be taken during next container start).&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Check the new configuration. Issue the following command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# vzcfgvalidate /etc/vz/conf/123.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If something is wrong, you need to fix it as suggested by the utility.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For more in-depth explanation of different parameters, their meaning and how to set them properly, see [[setting UBC parameters]].&lt;br /&gt;
&lt;br /&gt;
== Disk quota ==&lt;br /&gt;
To check if your [[container]] exceeded its disk quota, use the following commands (inside a container):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# df&lt;br /&gt;
Filesystem           1K-blocks      Used Available Use% Mounted on&lt;br /&gt;
simfs                  1048576    327664    720912  32% /&lt;br /&gt;
# df -i&lt;br /&gt;
Filesystem            Inodes   IUsed   IFree IUse% Mounted on&lt;br /&gt;
simfs                 200000   18857  181143   10% /&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first command shows disk space usage and the second command shows the inodes usage (you can roughly use the inodes count as a number of files/directories on your system).&lt;br /&gt;
&lt;br /&gt;
If one of the commands shows a usage of 100% you have exceeded one of the disk quota limits. &lt;br /&gt;
&lt;br /&gt;
You can increase the limit from the host system ([[CT0]] [[aka VE0]]) only. This is how:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Get the current values for disk quota:&lt;br /&gt;
&amp;lt;pre&amp;gt;# vzquota stat 123&lt;br /&gt;
   resource          usage       softlimit      hardlimit    grace&lt;br /&gt;
  1k-blocks         327664         1048576        1153434&lt;br /&gt;
     inodes          18857          200000         220000&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;To increase the disk space quota, use vzctl set --diskspace. For example, we want to increase it by a factor of 2:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vzctl set 123 --diskspace $(( 1048576*2 )):$(( 1153434*2 )) --save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;To increase the disk inodes quota, use &amp;lt;tt&amp;gt;vzctl set --diskinodes&amp;lt;/tt&amp;gt;. For example, we want to increase it by a factor of 3:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vzctl set 123 --diskinodes $(( 200000*3 )):$(( 220000*3 )) --save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Note|shell does not support floating-point arithmetic, i.e. you can not use expressions like &amp;lt;code&amp;gt;$((&amp;amp;nbsp;220000*1.5&amp;amp;nbsp;))&amp;lt;/code&amp;gt;. To use floating point, try &amp;lt;code&amp;gt;bc&amp;lt;/code&amp;gt; instead, something like this: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$(echo&amp;amp;nbsp;220000*1.5&amp;amp;nbsp;|&amp;amp;nbsp;bc)&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;.}}&lt;br /&gt;
&lt;br /&gt;
== CPU ==&lt;br /&gt;
&lt;br /&gt;
There are two parameters controlling fair CPU scheduler in OpenVZ: cpuunits and cpulimit.&lt;br /&gt;
&lt;br /&gt;
{{Stub}}&lt;br /&gt;
&lt;br /&gt;
[[Category: Troubleshooting]]&lt;br /&gt;
[[Category: HOWTO]]&lt;br /&gt;
[[Category: UBC]]&lt;br /&gt;
[[Category: Resource management]]&lt;br /&gt;
[[Category: Disk quota]]&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=One_more_entry_point&amp;diff=6411</id>
		<title>One more entry point</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=One_more_entry_point&amp;diff=6411"/>
		<updated>2008-09-05T13:01:55Z</updated>

		<summary type="html">&lt;p&gt;Fayette: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This entry point of OpenVZ wiki is created in order to arrange all the information on this site more logically. Here is a structure something like a table of contents. Each chapter contains a collection of pages that are relevant to subject of the chapter. There can be multiple articles on the same subject in one chapter: one writes an article one way, another does it in another way. It is important that pages in chapters are ordered by the complexity of the material e. g. simpler articles appear first.&lt;br /&gt;
This allows the OpenVZ novices to read only the first pages of each chapter to get a feature working. Advanced users can quickly go through this table of contents and find more specific information that they actually need.&lt;br /&gt;
&lt;br /&gt;
We urge you to create entries in this table (even without writing the article) in order for the community to know what topics are popular and need to be described. Writing articles is also very useful.&lt;br /&gt;
&lt;br /&gt;
== Table of Contents ==&lt;br /&gt;
{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; width=&amp;quot;50%&amp;quot; |&lt;br /&gt;
{| style=&amp;quot;border:1px solid #ccc;background-color:#f7fff7;margin-top:+.7em&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=100%&lt;br /&gt;
|&lt;br /&gt;
{| style=&amp;quot;background-color:#e5ffe5;border:1px solid #ccc;&amp;quot; width=100%&lt;br /&gt;
| align=center | Introduction to Virtualization Technology&lt;br /&gt;
|}&lt;br /&gt;
* [[Introduction to virtualization]]&lt;br /&gt;
* [[Virtualization implementation comparison]]&lt;br /&gt;
|}&lt;br /&gt;
{| style=&amp;quot;border:1px solid #ccc;background-color:#f7fff7;margin-top:+.7em&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=100%&lt;br /&gt;
|&lt;br /&gt;
{| style=&amp;quot;background-color:#e5ffe5;border:1px solid #ccc;&amp;quot; width=100%&lt;br /&gt;
| align=center | Basic concepts of OpenVZ&lt;br /&gt;
|}&lt;br /&gt;
* [[VE]] = [[Virtual Environment]]&lt;br /&gt;
* [[HN]] = [[HW]] = [[Hardware Node]] = [[Host system]]&lt;br /&gt;
* [[CT0]]&lt;br /&gt;
* [[OS template]]&lt;br /&gt;
|}&lt;br /&gt;
{| style=&amp;quot;border:1px solid #ccc;background-color:#f7fff7;margin-top:+.7em&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=100%&lt;br /&gt;
|&lt;br /&gt;
{| style=&amp;quot;background-color:#e5ffe5;border:1px solid #ccc;&amp;quot; width=100%&lt;br /&gt;
| align=center | Choosing and Installing OpenVZ&lt;br /&gt;
|}&lt;br /&gt;
* [[Quick installation]] -- [[Downloading and installing]]&lt;br /&gt;
* [[OpenVZ components]]&lt;br /&gt;
* [[Kernel versioning]]&lt;br /&gt;
* [[Different kernel flavors (UP, SMP, ENTERPRISE, ENTNOSPLIT)]]&lt;br /&gt;
* [[Features]]&lt;br /&gt;
* [[Security]]&lt;br /&gt;
* [[HA cluster with DRBD and Heartbeat]]&lt;br /&gt;
|}&lt;br /&gt;
{| style=&amp;quot;border:1px solid #ccc;background-color:#f7fff7;margin-top:+.7em&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=100%&lt;br /&gt;
|&lt;br /&gt;
{| style=&amp;quot;background-color:#e5ffe5;border:1px solid #ccc;&amp;quot; width=100%&lt;br /&gt;
| align=center | Templates&lt;br /&gt;
|}&lt;br /&gt;
* [[OS template]]&lt;br /&gt;
* [[OS template cache]]&lt;br /&gt;
* [[OS template metadata]]&lt;br /&gt;
* [[Adding OS template to the installation]]&lt;br /&gt;
* [[OS template cache preparation]]&lt;br /&gt;
* [[Debian template creation]]&lt;br /&gt;
* [[Gentoo template creation]]&lt;br /&gt;
* [[Slackware template creation]]&lt;br /&gt;
* [[Ubuntu template]]&lt;br /&gt;
* [[Creating your own template]]&lt;br /&gt;
|}&lt;br /&gt;
{| style=&amp;quot;border:1px solid #ccc;background-color:#f7fff7;margin-top:+.7em&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=100%&lt;br /&gt;
|&lt;br /&gt;
{| style=&amp;quot;background-color:#e5ffe5;border:1px solid #ccc;&amp;quot; width=100%&lt;br /&gt;
| align=center | First steps inside OpenVZ environment&lt;br /&gt;
|}&lt;br /&gt;
* [[VE creation]]&lt;br /&gt;
* [[Starting VE]]&lt;br /&gt;
* [[Entering VE]]&lt;br /&gt;
* [[Running a process in VE]]&lt;br /&gt;
* [[Stoping VE]]&lt;br /&gt;
* [[Destroying VE]]&lt;br /&gt;
|}&lt;br /&gt;
{| style=&amp;quot;border:1px solid #ccc;background-color:#f7fff7;margin-top:+.7em&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=100%&lt;br /&gt;
|&lt;br /&gt;
{| style=&amp;quot;background-color:#e5ffe5;border:1px solid #ccc;&amp;quot; width=100%&lt;br /&gt;
| align=center | Resource accounting&lt;br /&gt;
|}&lt;br /&gt;
* [[User beancounters]]&lt;br /&gt;
* [[OpenVZ quota]]&lt;br /&gt;
* [[CPU Fairscheduler]]&lt;br /&gt;
* [[Resource shortage]] &lt;br /&gt;
|}&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &amp;lt;!-- SECOND COLUMN --&amp;gt;&lt;br /&gt;
{| style=&amp;quot;border:1px solid #ccc;background-color:#f7fff7;margin-top:+.7em&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=100%&lt;br /&gt;
|&lt;br /&gt;
{| style=&amp;quot;background-color:#e5ffe5;border:1px solid #ccc;&amp;quot; width=100%&lt;br /&gt;
| align=center | Network &lt;br /&gt;
|}&lt;br /&gt;
* [[Setting up network in VE]]&lt;br /&gt;
* [[Virtual network device]]&lt;br /&gt;
* [[Virtual Ethernet device]]&lt;br /&gt;
* [[iptables in OpenVZ environment]]&lt;br /&gt;
* [[Differences between venet and veth]]&lt;br /&gt;
* [[Using NAT for VE with private IPs]]&lt;br /&gt;
* [[Source based routing]]&lt;br /&gt;
* [[VPN via the TUN/TAP device]]&lt;br /&gt;
* [[Traffic accounting with iptables]]&lt;br /&gt;
* [[Traffic shaping with tc]]&lt;br /&gt;
* [[Using bridges in OpenVZ]]&lt;br /&gt;
* [[NFS server inside VE]]&lt;br /&gt;
* [[X inside VE]]&lt;br /&gt;
|}&lt;br /&gt;
{| style=&amp;quot;border:1px solid #ccc;background-color:#f7fff7;margin-top:+.7em&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=100%&lt;br /&gt;
|&lt;br /&gt;
{| style=&amp;quot;background-color:#e5ffe5;border:1px solid #ccc;&amp;quot; width=100%&lt;br /&gt;
| align=center | Checkpointing and Migration&lt;br /&gt;
|}&lt;br /&gt;
* [[What is checkpointing]]&lt;br /&gt;
* [[Live migration]]&lt;br /&gt;
|}&lt;br /&gt;
{| style=&amp;quot;border:1px solid #ccc;background-color:#f7fff7;margin-top:+.7em&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=100%&lt;br /&gt;
|&lt;br /&gt;
{| style=&amp;quot;background-color:#e5ffe5;border:1px solid #ccc;&amp;quot; width=100%&lt;br /&gt;
| align=center | Working with OpenVZ code&lt;br /&gt;
|}&lt;br /&gt;
* [[Porting the kernel]]&lt;br /&gt;
* [[Kernel build]]&lt;br /&gt;
* [[Containers/Pidcache]]&lt;br /&gt;
|}&lt;br /&gt;
{| style=&amp;quot;border:1px solid #ccc;background-color:#f7fff7;margin-top:+.7em&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=100%&lt;br /&gt;
|&lt;br /&gt;
{| style=&amp;quot;background-color:#e5ffe5;border:1px solid #ccc;&amp;quot; width=100%&lt;br /&gt;
| align=center | Troubleshooting&lt;br /&gt;
|}&lt;br /&gt;
* [[Magic SysRq Key]]&lt;br /&gt;
* [[Remote console setup]]&lt;br /&gt;
* [[SysRq debugger]]&lt;br /&gt;
* [[When you have an oops]]&lt;br /&gt;
* [[Modifying initrd image]]&lt;br /&gt;
|}&lt;br /&gt;
{| style=&amp;quot;border:1px solid #ccc;background-color:#f7fff7;margin-top:+.7em&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=100%&lt;br /&gt;
|&lt;br /&gt;
{| style=&amp;quot;background-color:#e5ffe5;border:1px solid #ccc;&amp;quot; width=100%&lt;br /&gt;
| align=center | Using specific tools in VE&lt;br /&gt;
|}&lt;br /&gt;
* [[Asterisk in VE with debian stable]]&lt;br /&gt;
* [[Plesk in VE]]&lt;br /&gt;
* [[Yum]]&lt;br /&gt;
* [[Shared webhosting]]&lt;br /&gt;
* [[CPanel in VE]]&lt;br /&gt;
* [[Zimbra on OpenVZ on CentOS]]&lt;br /&gt;
|}&lt;br /&gt;
{| style=&amp;quot;border:1px solid #ccc;background-color:#f7fff7;margin-top:+.7em&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=100%&lt;br /&gt;
|&lt;br /&gt;
{| style=&amp;quot;background-color:#e5ffe5;border:1px solid #ccc;&amp;quot; width=100%&lt;br /&gt;
| align=center | Other&lt;br /&gt;
|}&lt;br /&gt;
* [[Processes scope and visibility]]&lt;br /&gt;
* [[Setting up a mirror]]&lt;br /&gt;
* [[MAX ULONG]]&lt;br /&gt;
* [[Memory page]]&lt;br /&gt;
* [[Artwork]]&lt;br /&gt;
* [[FAQ]]&lt;br /&gt;
|}&lt;br /&gt;
|}&amp;lt;!--Two column layout table--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=One_more_entry_point&amp;diff=6410</id>
		<title>One more entry point</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=One_more_entry_point&amp;diff=6410"/>
		<updated>2008-09-05T13:00:02Z</updated>

		<summary type="html">&lt;p&gt;Fayette: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This entry point of OpenVZ wiki is created in order to arrange all the information on this site more logically. Here is a structure something like a table of contents. Each chapter contains a collection of pages that are relevant to subject of the chapter. There can be multiple articles on the same subject in one chapter: one writes an article one way, another does it in another way. It is important that pages in chapters are ordered by the complexity of the material e. g. simpler articles appear first.&lt;br /&gt;
This allows the OpenVZ novices to read only the first pages of each chapter to get a feature working. Advanced users can quickly go through this table of contents and find more specific information that they actually need.&lt;br /&gt;
&lt;br /&gt;
We urge you to create entries in this table (even without writing the article) in order for the community to know what topics are popular and need to be described. Writing articles is also very useful in fact.&lt;br /&gt;
&lt;br /&gt;
== Table of Contents ==&lt;br /&gt;
{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; width=&amp;quot;50%&amp;quot; |&lt;br /&gt;
{| style=&amp;quot;border:1px solid #ccc;background-color:#f7fff7;margin-top:+.7em&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=100%&lt;br /&gt;
|&lt;br /&gt;
{| style=&amp;quot;background-color:#e5ffe5;border:1px solid #ccc;&amp;quot; width=100%&lt;br /&gt;
| align=center | Introduction to Virtualization Technology&lt;br /&gt;
|}&lt;br /&gt;
* [[Introduction to virtualization]]&lt;br /&gt;
* [[Virtualization implementation comparison]]&lt;br /&gt;
|}&lt;br /&gt;
{| style=&amp;quot;border:1px solid #ccc;background-color:#f7fff7;margin-top:+.7em&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=100%&lt;br /&gt;
|&lt;br /&gt;
{| style=&amp;quot;background-color:#e5ffe5;border:1px solid #ccc;&amp;quot; width=100%&lt;br /&gt;
| align=center | Basic concepts of OpenVZ&lt;br /&gt;
|}&lt;br /&gt;
* [[VE]] = [[Virtual Environment]]&lt;br /&gt;
* [[HN]] = [[HW]] = [[Hardware Node]] = [[Host system]]&lt;br /&gt;
* [[CT0]]&lt;br /&gt;
* [[OS template]]&lt;br /&gt;
|}&lt;br /&gt;
{| style=&amp;quot;border:1px solid #ccc;background-color:#f7fff7;margin-top:+.7em&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=100%&lt;br /&gt;
|&lt;br /&gt;
{| style=&amp;quot;background-color:#e5ffe5;border:1px solid #ccc;&amp;quot; width=100%&lt;br /&gt;
| align=center | Choosing and Installing OpenVZ&lt;br /&gt;
|}&lt;br /&gt;
* [[Quick installation]] -- [[Downloading and installing]]&lt;br /&gt;
* [[OpenVZ components]]&lt;br /&gt;
* [[Kernel versioning]]&lt;br /&gt;
* [[Different kernel flavors (UP, SMP, ENTERPRISE, ENTNOSPLIT)]]&lt;br /&gt;
* [[Features]]&lt;br /&gt;
* [[Security]]&lt;br /&gt;
* [[HA cluster with DRBD and Heartbeat]]&lt;br /&gt;
|}&lt;br /&gt;
{| style=&amp;quot;border:1px solid #ccc;background-color:#f7fff7;margin-top:+.7em&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=100%&lt;br /&gt;
|&lt;br /&gt;
{| style=&amp;quot;background-color:#e5ffe5;border:1px solid #ccc;&amp;quot; width=100%&lt;br /&gt;
| align=center | Templates&lt;br /&gt;
|}&lt;br /&gt;
* [[OS template]]&lt;br /&gt;
* [[OS template cache]]&lt;br /&gt;
* [[OS template metadata]]&lt;br /&gt;
* [[Adding OS template to the installation]]&lt;br /&gt;
* [[OS template cache preparation]]&lt;br /&gt;
* [[Debian template creation]]&lt;br /&gt;
* [[Gentoo template creation]]&lt;br /&gt;
* [[Slackware template creation]]&lt;br /&gt;
* [[Ubuntu template]]&lt;br /&gt;
* [[Creating your own template]]&lt;br /&gt;
|}&lt;br /&gt;
{| style=&amp;quot;border:1px solid #ccc;background-color:#f7fff7;margin-top:+.7em&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=100%&lt;br /&gt;
|&lt;br /&gt;
{| style=&amp;quot;background-color:#e5ffe5;border:1px solid #ccc;&amp;quot; width=100%&lt;br /&gt;
| align=center | First steps inside OpenVZ environment&lt;br /&gt;
|}&lt;br /&gt;
* [[VE creation]]&lt;br /&gt;
* [[Starting VE]]&lt;br /&gt;
* [[Entering VE]]&lt;br /&gt;
* [[Running a process in VE]]&lt;br /&gt;
* [[Stoping VE]]&lt;br /&gt;
* [[Destroying VE]]&lt;br /&gt;
|}&lt;br /&gt;
{| style=&amp;quot;border:1px solid #ccc;background-color:#f7fff7;margin-top:+.7em&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=100%&lt;br /&gt;
|&lt;br /&gt;
{| style=&amp;quot;background-color:#e5ffe5;border:1px solid #ccc;&amp;quot; width=100%&lt;br /&gt;
| align=center | Resource accounting&lt;br /&gt;
|}&lt;br /&gt;
* [[User beancounters]]&lt;br /&gt;
* [[OpenVZ quota]]&lt;br /&gt;
* [[CPU Fairscheduler]]&lt;br /&gt;
* [[Resource shortage]] &lt;br /&gt;
|}&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &amp;lt;!-- SECOND COLUMN --&amp;gt;&lt;br /&gt;
{| style=&amp;quot;border:1px solid #ccc;background-color:#f7fff7;margin-top:+.7em&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=100%&lt;br /&gt;
|&lt;br /&gt;
{| style=&amp;quot;background-color:#e5ffe5;border:1px solid #ccc;&amp;quot; width=100%&lt;br /&gt;
| align=center | Network &lt;br /&gt;
|}&lt;br /&gt;
* [[Setting up network in VE]]&lt;br /&gt;
* [[Virtual network device]]&lt;br /&gt;
* [[Virtual Ethernet device]]&lt;br /&gt;
* [[iptables in OpenVZ environment]]&lt;br /&gt;
* [[Differences between venet and veth]]&lt;br /&gt;
* [[Using NAT for VE with private IPs]]&lt;br /&gt;
* [[Source based routing]]&lt;br /&gt;
* [[VPN via the TUN/TAP device]]&lt;br /&gt;
* [[Traffic accounting with iptables]]&lt;br /&gt;
* [[Traffic shaping with tc]]&lt;br /&gt;
* [[Using bridges in OpenVZ]]&lt;br /&gt;
* [[NFS server inside VE]]&lt;br /&gt;
* [[X inside VE]]&lt;br /&gt;
|}&lt;br /&gt;
{| style=&amp;quot;border:1px solid #ccc;background-color:#f7fff7;margin-top:+.7em&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=100%&lt;br /&gt;
|&lt;br /&gt;
{| style=&amp;quot;background-color:#e5ffe5;border:1px solid #ccc;&amp;quot; width=100%&lt;br /&gt;
| align=center | Checkpointing and Migration&lt;br /&gt;
|}&lt;br /&gt;
* [[What is checkpointing]]&lt;br /&gt;
* [[Live migration]]&lt;br /&gt;
|}&lt;br /&gt;
{| style=&amp;quot;border:1px solid #ccc;background-color:#f7fff7;margin-top:+.7em&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=100%&lt;br /&gt;
|&lt;br /&gt;
{| style=&amp;quot;background-color:#e5ffe5;border:1px solid #ccc;&amp;quot; width=100%&lt;br /&gt;
| align=center | Working with OpenVZ code&lt;br /&gt;
|}&lt;br /&gt;
* [[Porting the kernel]]&lt;br /&gt;
* [[Kernel build]]&lt;br /&gt;
* [[Containers/Pidcache]]&lt;br /&gt;
|}&lt;br /&gt;
{| style=&amp;quot;border:1px solid #ccc;background-color:#f7fff7;margin-top:+.7em&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=100%&lt;br /&gt;
|&lt;br /&gt;
{| style=&amp;quot;background-color:#e5ffe5;border:1px solid #ccc;&amp;quot; width=100%&lt;br /&gt;
| align=center | Troubleshooting&lt;br /&gt;
|}&lt;br /&gt;
* [[Magic SysRq Key]]&lt;br /&gt;
* [[Remote console setup]]&lt;br /&gt;
* [[SysRq debugger]]&lt;br /&gt;
* [[When you have an oops]]&lt;br /&gt;
* [[Modifying initrd image]]&lt;br /&gt;
|}&lt;br /&gt;
{| style=&amp;quot;border:1px solid #ccc;background-color:#f7fff7;margin-top:+.7em&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=100%&lt;br /&gt;
|&lt;br /&gt;
{| style=&amp;quot;background-color:#e5ffe5;border:1px solid #ccc;&amp;quot; width=100%&lt;br /&gt;
| align=center | Using specific tools in VE&lt;br /&gt;
|}&lt;br /&gt;
* [[Asterisk in VE with debian stable]]&lt;br /&gt;
* [[Plesk in VE]]&lt;br /&gt;
* [[Yum]]&lt;br /&gt;
* [[Shared webhosting]]&lt;br /&gt;
* [[CPanel in VE]]&lt;br /&gt;
* [[Zimbra on OpenVZ on CentOS]]&lt;br /&gt;
|}&lt;br /&gt;
{| style=&amp;quot;border:1px solid #ccc;background-color:#f7fff7;margin-top:+.7em&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=100%&lt;br /&gt;
|&lt;br /&gt;
{| style=&amp;quot;background-color:#e5ffe5;border:1px solid #ccc;&amp;quot; width=100%&lt;br /&gt;
| align=center | Other&lt;br /&gt;
|}&lt;br /&gt;
* [[Processes scope and visibility]]&lt;br /&gt;
* [[Setting up a mirror]]&lt;br /&gt;
* [[MAX ULONG]]&lt;br /&gt;
* [[Memory page]]&lt;br /&gt;
* [[Artwork]]&lt;br /&gt;
* [[FAQ]]&lt;br /&gt;
|}&lt;br /&gt;
|}&amp;lt;!--Two column layout table--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=One_more_entry_point&amp;diff=6409</id>
		<title>One more entry point</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=One_more_entry_point&amp;diff=6409"/>
		<updated>2008-09-05T12:54:20Z</updated>

		<summary type="html">&lt;p&gt;Fayette: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This entry point of OpenVZ wiki is created in order to arrange all the information on this site more logically. General idea of arrangement is the following. Here you can find something like table of contents. Each chapter contains a collection of pages, that pass to the subject of the chapter. Of course there can be articles on the same subject in one chapter: one writes an article in his own way, another person does it in another way. It is important that pages in chapters are ordered by the complexity of the material.&lt;br /&gt;
This allows the OpenVZ novices to read only the first pages of each chapter to get a feature working. Advanced users can quickly go through this table of contents and find more specific information that they actually need.&lt;br /&gt;
&lt;br /&gt;
It is appreciated that you will create points in this table (even without writing the article) in order for the community to know what topics are popular and need to be described. Writing articles is also very useful in fact.&lt;br /&gt;
&lt;br /&gt;
== Table of Contents ==&lt;br /&gt;
{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; width=&amp;quot;50%&amp;quot; |&lt;br /&gt;
{| style=&amp;quot;border:1px solid #ccc;background-color:#f7fff7;margin-top:+.7em&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=100%&lt;br /&gt;
|&lt;br /&gt;
{| style=&amp;quot;background-color:#e5ffe5;border:1px solid #ccc;&amp;quot; width=100%&lt;br /&gt;
| align=center | Introduction to Virtualization Technology&lt;br /&gt;
|}&lt;br /&gt;
* [[Introduction to virtualization]]&lt;br /&gt;
* [[Virtualization implementation comparison]]&lt;br /&gt;
|}&lt;br /&gt;
{| style=&amp;quot;border:1px solid #ccc;background-color:#f7fff7;margin-top:+.7em&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=100%&lt;br /&gt;
|&lt;br /&gt;
{| style=&amp;quot;background-color:#e5ffe5;border:1px solid #ccc;&amp;quot; width=100%&lt;br /&gt;
| align=center | Basic concepts of OpenVZ&lt;br /&gt;
|}&lt;br /&gt;
* [[VE]] = [[Virtual Environment]]&lt;br /&gt;
* [[HN]] = [[HW]] = [[Hardware Node]] = [[Host system]]&lt;br /&gt;
* [[CT0]]&lt;br /&gt;
* [[OS template]]&lt;br /&gt;
|}&lt;br /&gt;
{| style=&amp;quot;border:1px solid #ccc;background-color:#f7fff7;margin-top:+.7em&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=100%&lt;br /&gt;
|&lt;br /&gt;
{| style=&amp;quot;background-color:#e5ffe5;border:1px solid #ccc;&amp;quot; width=100%&lt;br /&gt;
| align=center | Choosing and Installing OpenVZ&lt;br /&gt;
|}&lt;br /&gt;
* [[Quick installation]] -- [[Downloading and installing]]&lt;br /&gt;
* [[OpenVZ components]]&lt;br /&gt;
* [[Kernel versioning]]&lt;br /&gt;
* [[Different kernel flavors (UP, SMP, ENTERPRISE, ENTNOSPLIT)]]&lt;br /&gt;
* [[Features]]&lt;br /&gt;
* [[Security]]&lt;br /&gt;
* [[HA cluster with DRBD and Heartbeat]]&lt;br /&gt;
|}&lt;br /&gt;
{| style=&amp;quot;border:1px solid #ccc;background-color:#f7fff7;margin-top:+.7em&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=100%&lt;br /&gt;
|&lt;br /&gt;
{| style=&amp;quot;background-color:#e5ffe5;border:1px solid #ccc;&amp;quot; width=100%&lt;br /&gt;
| align=center | Templates&lt;br /&gt;
|}&lt;br /&gt;
* [[OS template]]&lt;br /&gt;
* [[OS template cache]]&lt;br /&gt;
* [[OS template metadata]]&lt;br /&gt;
* [[Adding OS template to the installation]]&lt;br /&gt;
* [[OS template cache preparation]]&lt;br /&gt;
* [[Debian template creation]]&lt;br /&gt;
* [[Gentoo template creation]]&lt;br /&gt;
* [[Slackware template creation]]&lt;br /&gt;
* [[Ubuntu template]]&lt;br /&gt;
* [[Creating your own template]]&lt;br /&gt;
|}&lt;br /&gt;
{| style=&amp;quot;border:1px solid #ccc;background-color:#f7fff7;margin-top:+.7em&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=100%&lt;br /&gt;
|&lt;br /&gt;
{| style=&amp;quot;background-color:#e5ffe5;border:1px solid #ccc;&amp;quot; width=100%&lt;br /&gt;
| align=center | First steps inside OpenVZ environment&lt;br /&gt;
|}&lt;br /&gt;
* [[VE creation]]&lt;br /&gt;
* [[Starting VE]]&lt;br /&gt;
* [[Entering VE]]&lt;br /&gt;
* [[Running a process in VE]]&lt;br /&gt;
* [[Stoping VE]]&lt;br /&gt;
* [[Destroying VE]]&lt;br /&gt;
|}&lt;br /&gt;
{| style=&amp;quot;border:1px solid #ccc;background-color:#f7fff7;margin-top:+.7em&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=100%&lt;br /&gt;
|&lt;br /&gt;
{| style=&amp;quot;background-color:#e5ffe5;border:1px solid #ccc;&amp;quot; width=100%&lt;br /&gt;
| align=center | Resource accounting&lt;br /&gt;
|}&lt;br /&gt;
* [[User beancounters]]&lt;br /&gt;
* [[OpenVZ quota]]&lt;br /&gt;
* [[CPU Fairscheduler]]&lt;br /&gt;
* [[Resource shortage]] &lt;br /&gt;
|}&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &amp;lt;!-- SECOND COLUMN --&amp;gt;&lt;br /&gt;
{| style=&amp;quot;border:1px solid #ccc;background-color:#f7fff7;margin-top:+.7em&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=100%&lt;br /&gt;
|&lt;br /&gt;
{| style=&amp;quot;background-color:#e5ffe5;border:1px solid #ccc;&amp;quot; width=100%&lt;br /&gt;
| align=center | Network &lt;br /&gt;
|}&lt;br /&gt;
* [[Setting up network in VE]]&lt;br /&gt;
* [[Virtual network device]]&lt;br /&gt;
* [[Virtual Ethernet device]]&lt;br /&gt;
* [[iptables in OpenVZ environment]]&lt;br /&gt;
* [[Differences between venet and veth]]&lt;br /&gt;
* [[Using NAT for VE with private IPs]]&lt;br /&gt;
* [[Source based routing]]&lt;br /&gt;
* [[VPN via the TUN/TAP device]]&lt;br /&gt;
* [[Traffic accounting with iptables]]&lt;br /&gt;
* [[Traffic shaping with tc]]&lt;br /&gt;
* [[Using bridges in OpenVZ]]&lt;br /&gt;
* [[NFS server inside VE]]&lt;br /&gt;
* [[X inside VE]]&lt;br /&gt;
|}&lt;br /&gt;
{| style=&amp;quot;border:1px solid #ccc;background-color:#f7fff7;margin-top:+.7em&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=100%&lt;br /&gt;
|&lt;br /&gt;
{| style=&amp;quot;background-color:#e5ffe5;border:1px solid #ccc;&amp;quot; width=100%&lt;br /&gt;
| align=center | Checkpointing and Migration&lt;br /&gt;
|}&lt;br /&gt;
* [[What is checkpointing]]&lt;br /&gt;
* [[Live migration]]&lt;br /&gt;
|}&lt;br /&gt;
{| style=&amp;quot;border:1px solid #ccc;background-color:#f7fff7;margin-top:+.7em&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=100%&lt;br /&gt;
|&lt;br /&gt;
{| style=&amp;quot;background-color:#e5ffe5;border:1px solid #ccc;&amp;quot; width=100%&lt;br /&gt;
| align=center | Working with OpenVZ code&lt;br /&gt;
|}&lt;br /&gt;
* [[Porting the kernel]]&lt;br /&gt;
* [[Kernel build]]&lt;br /&gt;
* [[Containers/Pidcache]]&lt;br /&gt;
|}&lt;br /&gt;
{| style=&amp;quot;border:1px solid #ccc;background-color:#f7fff7;margin-top:+.7em&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=100%&lt;br /&gt;
|&lt;br /&gt;
{| style=&amp;quot;background-color:#e5ffe5;border:1px solid #ccc;&amp;quot; width=100%&lt;br /&gt;
| align=center | Troubleshooting&lt;br /&gt;
|}&lt;br /&gt;
* [[Magic SysRq Key]]&lt;br /&gt;
* [[Remote console setup]]&lt;br /&gt;
* [[SysRq debugger]]&lt;br /&gt;
* [[When you have an oops]]&lt;br /&gt;
* [[Modifying initrd image]]&lt;br /&gt;
|}&lt;br /&gt;
{| style=&amp;quot;border:1px solid #ccc;background-color:#f7fff7;margin-top:+.7em&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=100%&lt;br /&gt;
|&lt;br /&gt;
{| style=&amp;quot;background-color:#e5ffe5;border:1px solid #ccc;&amp;quot; width=100%&lt;br /&gt;
| align=center | Using specific tools in VE&lt;br /&gt;
|}&lt;br /&gt;
* [[Asterisk in VE with debian stable]]&lt;br /&gt;
* [[Plesk in VE]]&lt;br /&gt;
* [[Yum]]&lt;br /&gt;
* [[Shared webhosting]]&lt;br /&gt;
* [[CPanel in VE]]&lt;br /&gt;
* [[Zimbra on OpenVZ on CentOS]]&lt;br /&gt;
|}&lt;br /&gt;
{| style=&amp;quot;border:1px solid #ccc;background-color:#f7fff7;margin-top:+.7em&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=100%&lt;br /&gt;
|&lt;br /&gt;
{| style=&amp;quot;background-color:#e5ffe5;border:1px solid #ccc;&amp;quot; width=100%&lt;br /&gt;
| align=center | Other&lt;br /&gt;
|}&lt;br /&gt;
* [[Processes scope and visibility]]&lt;br /&gt;
* [[Setting up a mirror]]&lt;br /&gt;
* [[MAX ULONG]]&lt;br /&gt;
* [[Memory page]]&lt;br /&gt;
* [[Artwork]]&lt;br /&gt;
* [[FAQ]]&lt;br /&gt;
|}&lt;br /&gt;
|}&amp;lt;!--Two column layout table--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Performance_tuning&amp;diff=6404</id>
		<title>Performance tuning</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Performance_tuning&amp;diff=6404"/>
		<updated>2008-09-04T14:49:01Z</updated>

		<summary type="html">&lt;p&gt;Fayette: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page describes how to improve the performance of an OpenVZ system.&lt;br /&gt;
&lt;br /&gt;
= HW node environment tuning =&lt;br /&gt;
&lt;br /&gt;
== Disable unnecessary services ==&lt;br /&gt;
&lt;br /&gt;
Disable all default services that you do not need to use and then reboot your host. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For example, the &amp;lt;code&amp;gt;audit&amp;lt;/code&amp;gt; daemon can significantly decrease performance of linux kernel system calls (up to ~&amp;lt;font color=red&amp;gt;20%&amp;lt;/font&amp;gt;) even if you do not use any audit rules, or even if you just stopped this service without host reboot!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To setup default services, use &amp;lt;code&amp;gt;chkconfig&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;ntsysv&amp;lt;/code&amp;gt; in RedHat, or &amp;lt;code&amp;gt;rc-update&amp;lt;/code&amp;gt; in Gentoo, &amp;lt;code&amp;gt;update-rc.dv&amp;lt;/code&amp;gt; on Debian&lt;br /&gt;
&lt;br /&gt;
== Shell scripts performance improvement ==&lt;br /&gt;
&lt;br /&gt;
To improve performance of small shell scripts, which spends a lot of time starting the shell binary itself (like the shell scripts test from the [http://www.tux.org/pub/tux/niemi/unixbench/ unixbench] package), you can set your &amp;lt;code&amp;gt;LANG&amp;lt;/code&amp;gt; environment variable to &amp;lt;code&amp;gt;&amp;quot;C&amp;quot;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To see current settings, type &lt;br /&gt;
&lt;br /&gt;
  # locale&lt;br /&gt;
&lt;br /&gt;
If you want to change it only for the current shell session, do:&lt;br /&gt;
&lt;br /&gt;
 # export LANG=C&lt;br /&gt;
&lt;br /&gt;
If you want to change the default value, modify the &amp;lt;code&amp;gt;/etc/sysconfig/i18n&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If your default &amp;lt;code&amp;gt;LANG&amp;lt;/code&amp;gt; environment variable was set to something like &amp;lt;code&amp;gt;en_US.UTF-8&amp;lt;/code&amp;gt;, you can reduce shell (bash) startup time up to ~&amp;lt;font color=red&amp;gt;15%&amp;lt;/font&amp;gt; with &amp;lt;code&amp;gt;LANG=C&amp;lt;/code&amp;gt;.  &lt;br /&gt;
&lt;br /&gt;
= Container tuning =&lt;br /&gt;
&lt;br /&gt;
== CPU distribution inside container on SMP hosts ==&lt;br /&gt;
&lt;br /&gt;
* If the total number of containers in your host is more than CPUs number, and there are many '''threads''' running inside each container it is better to give just a single VCPU to each container.&lt;br /&gt;
In this case thread memory locality will significantly reduce overhead on SMP memory coherence and overall performance can be increased up to ~&amp;lt;font color=red&amp;gt;50-100%&amp;lt;/font&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
To set the number of CPUs available inside container use:&lt;br /&gt;
&lt;br /&gt;
 # vzctl set $CTID --cpus N&lt;br /&gt;
&lt;br /&gt;
== Network checksumming ==&lt;br /&gt;
&lt;br /&gt;
RHEL 5 based kernel supports IP checksum offload.&lt;br /&gt;
If network ethernet cards in your host support IP checksum offload then you can switch this feature on also for the virtual network devices (venet, veth).&lt;br /&gt;
&lt;br /&gt;
To check current offload setting for the hardware ethernet card (eth0, for instance) type&lt;br /&gt;
&lt;br /&gt;
  # ethtool -k eth0&lt;br /&gt;
 &lt;br /&gt;
Make sure that tx/rx features are switched on.&lt;br /&gt;
&lt;br /&gt;
To see current offload settings for the venet0 device, type&lt;br /&gt;
&lt;br /&gt;
  # ethtool -k venet0&lt;br /&gt;
&lt;br /&gt;
To set offload settings on for the venet0 device, type&lt;br /&gt;
&lt;br /&gt;
  # ethtool -K venet0 tx on sg on&lt;br /&gt;
&lt;br /&gt;
Note, that 'tx on/off' enables/disables both tx and rx checksumming features for the all venet devices for all containers and HN.&lt;br /&gt;
&lt;br /&gt;
The same applies to the veth device except that 'tx on/off' enables/disables tx and rx checksumming features for only given virtual ethernet device in HN and corresponding container.&lt;br /&gt;
&lt;br /&gt;
== Shell scripts performance improvement ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please note, that on container creation the default &amp;lt;code&amp;gt;LANG&amp;lt;/code&amp;gt; value will be the same as in the HW node. So you can tune it in node (see [[#Shell scripts performance improvement]] above), or set it in container the same way.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The second important thing is the locale cache. On &amp;lt;code&amp;gt;rpm&amp;lt;/code&amp;gt; based distributions, usually it is created by the &amp;lt;code&amp;gt;glibc-common-XXX.rpm&amp;lt;/code&amp;gt; post install script and it can be up to 50 MBytes on some distributions. So on some container templates it can be missed to save disk space. But you can always create it inside container later by the following command (you must be the root user):  &lt;br /&gt;
&lt;br /&gt;
 # build-locale-archive&lt;br /&gt;
&lt;br /&gt;
And again, in some cases shell (bash) startup time can be reduced up to ~&amp;lt;font color=red&amp;gt;15%&amp;lt;/font&amp;gt;.&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Archlinux_Template_creation&amp;diff=6403</id>
		<title>Archlinux Template creation</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Archlinux_Template_creation&amp;diff=6403"/>
		<updated>2008-09-04T14:42:51Z</updated>

		<summary type="html">&lt;p&gt;Fayette: /* Prerequisites */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Instructions manually create a minimal Archlinux (0.8) &amp;quot;Voodoo&amp;quot; OS Template.&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
I used a modified archbootstrap script which can be found at http://forzza.systs.org/openvz-misc/&lt;br /&gt;
{{Note | This link is currently broken}}&lt;br /&gt;
Edit settings of script &amp;quot;archbootstrap&amp;quot; :&lt;br /&gt;
&lt;br /&gt;
 ARCH=&amp;quot;i686&amp;quot;&lt;br /&gt;
 IGNORE=&amp;quot;rp-pppoe ppp wireless_tools xfsdump xfsprogs reiserfsprogs lshwd usbutils pciutils pcmciautils module-init-tools mdadm mkinitcpio libusb jfsutils lvm2 lilo cryptsetup device-mapper dhcpcd hwdetect dmapi gen-init-cpio grub&amp;quot;&lt;br /&gt;
 umark PACMAN_OPTS (remove '#')&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Note|I suggest to place the build for OpenVZ templates to /vz/template/, schema: /vz/template/$DIST/$VERSION/$ARCH/}}&lt;br /&gt;
&lt;br /&gt;
Built this OS-Template with:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|| [[CT0]]_dist || Debian&lt;br /&gt;
|-&lt;br /&gt;
|| [[CT0]]_ARCH ||	i386&lt;br /&gt;
|-&lt;br /&gt;
|| DIST || arch&lt;br /&gt;
|-&lt;br /&gt;
|| VERSION || 0.8&lt;br /&gt;
|-&lt;br /&gt;
|| ARCH || depends on CT0 settings above&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== bootstrapping Archlinux ==&lt;br /&gt;
&lt;br /&gt;
Syntax:&lt;br /&gt;
&lt;br /&gt;
 CT0_# /usr/bin/archbootstrap /vz/template/$DIST/$VERSION/$ARCH/ [MIRROR]&lt;br /&gt;
&lt;br /&gt;
{{Note|Please use mirrors! A full list of Archlinux mirrors: http://wiki.archlinux.org/index.php/Mirror}}&lt;br /&gt;
&lt;br /&gt;
== enter the Build with chroot ==&lt;br /&gt;
&lt;br /&gt;
All the commands below are executed from the root shell. I this howto &amp;quot;chroot&amp;quot; is used to enter as NEWROOT, a BUILD-VE must not be created!&lt;br /&gt;
&lt;br /&gt;
 CT0_# chroot /vz/template/$DIST/$VERSION/$ARCH/&lt;br /&gt;
&lt;br /&gt;
=== setting DNS server ===&lt;br /&gt;
&lt;br /&gt;
For the chroot BUILD we also need to specify a DNS for it:&lt;br /&gt;
&lt;br /&gt;
 BUILD_# mv /etc/resolv.conf.pacorig /etc/resolv.conf&lt;br /&gt;
&lt;br /&gt;
=== update and install packages ===&lt;br /&gt;
&lt;br /&gt;
Update (sync) pacman cache and update installed packages&lt;br /&gt;
&lt;br /&gt;
 BUILD_# pacman -Syu&lt;br /&gt;
&lt;br /&gt;
Install openssh (client and server) , quota-tools and iproute&lt;br /&gt;
&lt;br /&gt;
 BUILD_# pacman -S openssh quota-tools iproute&lt;br /&gt;
&lt;br /&gt;
=== fix /etc/mtab ===&lt;br /&gt;
&lt;br /&gt;
Add symlink /proc/mount /etc/mtab&lt;br /&gt;
&lt;br /&gt;
 BUILD_# ln -s /proc/mounts /etc/mtab&lt;br /&gt;
&lt;br /&gt;
=== fix /etc/inittab ===&lt;br /&gt;
&lt;br /&gt;
Remove getty lines from inittab:&lt;br /&gt;
&lt;br /&gt;
 BUILD_# sed -i -e '/getty/d' /etc/inittab&lt;br /&gt;
&lt;br /&gt;
=== create device nodes ===&lt;br /&gt;
&lt;br /&gt;
Create device nodes at /dev, like console, full, null, zero, urandom, ptmx and fifo of initctl&lt;br /&gt;
&lt;br /&gt;
 BUILD_# mknod -m 600 /dev/console c 5 1&lt;br /&gt;
 BUILD_# mknod -m 666 /dev/tty c 5 0&lt;br /&gt;
 BUILD_# mknod -m 666 /dev/full c 1 7&lt;br /&gt;
 BUILD_# mknod -m 600 /dev/initctl p&lt;br /&gt;
 BUILD_# mknod -m 666 /dev/null c 1 3&lt;br /&gt;
 BUILD_# mknod -m 666 /dev/ptmx c 5 2 &lt;br /&gt;
 BUILD_# mkdir pts&lt;br /&gt;
 BUILD_# mknod -m 666 /dev/random c 1 8&lt;br /&gt;
 BUILD_# mknod -m 444 /dev/urandom c 1 9 &lt;br /&gt;
 BUILD_# mknod -m 666 /dev/zero c 1 5&lt;br /&gt;
&lt;br /&gt;
=== sysinit script modification ===&lt;br /&gt;
&lt;br /&gt;
Remove deleting of /etc/mtab in /etc/rc.sysinit and add mounting of /dev/pts&lt;br /&gt;
&lt;br /&gt;
 BUILD_# nano /etc/rc.sysinit&lt;br /&gt;
&lt;br /&gt;
 [...]&lt;br /&gt;
 /bin/rm -f /etc/mtab&lt;br /&gt;
 [...]&lt;br /&gt;
&lt;br /&gt;
to &lt;br /&gt;
&lt;br /&gt;
 [...]&lt;br /&gt;
 #/bin/rm -f /etc/mtab&lt;br /&gt;
 /bin/mount -t devpts none /dev/pts&lt;br /&gt;
 [...]&lt;br /&gt;
&lt;br /&gt;
=== modify the main configuration file ===&lt;br /&gt;
&lt;br /&gt;
 BUILD_# nano /etc/rc.conf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 # Localization&lt;br /&gt;
 LOCALE=&amp;quot;en_US.utf8&amp;quot;&lt;br /&gt;
 HARDWARECLOCK=&amp;quot;localtime&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 # example : German KEYMAP and Timezone to Berlin&lt;br /&gt;
 TIMEZONE=&amp;quot;Europe/Berlin&amp;quot;&lt;br /&gt;
 KEYMAP=&amp;quot;de-latin1-nodeadkeys&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 CONSOLEFONT=&lt;br /&gt;
 CONSOLEMAP=&lt;br /&gt;
 USECOLOR=&amp;quot;yes&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 # Network settings&lt;br /&gt;
 HOSTNAME=&amp;quot;localhost&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 # DAEMONS&lt;br /&gt;
 # Add openssh to DAEMONS, start at bootup ; ssh-keys are build on first VE start !!!&lt;br /&gt;
 DAEMONS=(syslog-ng network netfs crond ssh)&lt;br /&gt;
&lt;br /&gt;
=== enable ssh connections ===&lt;br /&gt;
&lt;br /&gt;
{{Note|All connection are disabled to VE, see /etc/hosts.deny, only affected server built-in with libwrap}}&lt;br /&gt;
&lt;br /&gt;
Allow ssh:&lt;br /&gt;
&lt;br /&gt;
 BUILD_# echo &amp;quot;ssh: ALL : ALLOW&amp;quot; &amp;gt;&amp;gt; /etc/hosts.allow}&lt;br /&gt;
&lt;br /&gt;
=== lock (disable) the root account ===&lt;br /&gt;
&lt;br /&gt;
 BUILD_# passwd -l root&lt;br /&gt;
&lt;br /&gt;
=== exit the chroot to CT0 ===&lt;br /&gt;
&lt;br /&gt;
 BUILD_# exit&lt;br /&gt;
&lt;br /&gt;
== build a exclude list ==&lt;br /&gt;
&lt;br /&gt;
Shrink the OS-Template, so not all files needed in a VE - OS - TEMPLATE&lt;br /&gt;
&lt;br /&gt;
Remove unused pacman backup files:&lt;br /&gt;
&lt;br /&gt;
CT0_# find ./ -name '*.pacorig' &amp;gt; ../exclude.list-$ARCH&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/resolv.conf&amp;lt;/code&amp;gt; is added by vzctl:&lt;br /&gt;
&lt;br /&gt;
 CT0_# echo &amp;quot;etc/resolv.conf&amp;quot; &amp;gt;&amp;gt; ../exclude.list-$ARCH&lt;br /&gt;
&lt;br /&gt;
Don't add downloaded pkg to ostemplate:&lt;br /&gt;
&lt;br /&gt;
 CT0_# find ./var/cache/ -name '*.tar.gz' &amp;gt;&amp;gt; ../exclude.list-$ARCH&lt;br /&gt;
&lt;br /&gt;
We dont need no logs and history:&lt;br /&gt;
&lt;br /&gt;
 CT0_# find ./var/cache/ -name '*.tar.gz' &amp;gt;&amp;gt; ../exlcude.list-$ARCH&lt;br /&gt;
 CT0_# find ./root/.bash_history &amp;gt;&amp;gt; ../exclude.list-$ARCH&lt;br /&gt;
&lt;br /&gt;
== create OS template ==&lt;br /&gt;
&lt;br /&gt;
 CT0_# tar -X ../exclude.list-$ARCH -czf /vz/template/cache/arch-0.8-$ARCH-minimal.tar.gz ./&lt;br /&gt;
&lt;br /&gt;
== use the OS template ==&lt;br /&gt;
&lt;br /&gt;
 CT0_# vzctl create &amp;lt;VEID&amp;gt; --ostemplate arch-0.8-$ARCH-minimal ...&lt;br /&gt;
&lt;br /&gt;
 == update the OS template ==&lt;br /&gt;
&lt;br /&gt;
To update a template is really easy, enter the build with chroot, performing upgrade task&lt;br /&gt;
&lt;br /&gt;
 CT0_# chroot /vz/template/$DIST/$VERSION/$ARCH/ 'pacman -Syu'&lt;br /&gt;
&lt;br /&gt;
Update the exclude list, and pack upgraded OS - Template&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
&lt;br /&gt;
* [http://wiki.archlinux.org/index.php/Main_Page Archlinux wiki]&lt;br /&gt;
&lt;br /&gt;
[[Category: HOWTO]]&lt;br /&gt;
[[Category: Templates]]&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Control_panels&amp;diff=6266</id>
		<title>Control panels</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Control_panels&amp;diff=6266"/>
		<updated>2008-08-04T23:41:10Z</updated>

		<summary type="html">&lt;p&gt;Fayette: /* Free software / Open source */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains links to different control panels for OpenVZ, written by third parties. If you know the project that's missing here, please add it.&lt;br /&gt;
&lt;br /&gt;
== Free software / Open source ==&lt;br /&gt;
* Proxmox Virtual Environment: [http://pve.proxmox.com Proxmox VE Wiki] - including bare-metal ISO installer&lt;br /&gt;
* WebVZ: [http://webvz.sourceforge.net/ homepage] Uses Ruby on Rails which makes it a poor choice for Debian, Ubuntu and other .deb style distros.&lt;br /&gt;
* Webmin: [http://www.webmin.com/ homepage] | [http://www.webmin.com/cgi-bin/search_third.cgi?search=OpenVZ OpenVZ plugin] | Version 1.0, last updated 2006-02-07&lt;br /&gt;
* Vtonf: [http://www.vtonf.com/ homepage] | According to the documentation only runs on Centos 4.5 or higher.  Last change January 2008&lt;br /&gt;
&lt;br /&gt;
== Proprietary / non-free ==&lt;br /&gt;
* FluidVM: [http://www.binarykarma.com Home Page] • [http://www.binarykarma.com/demo.php Demo Videos] • [http://www.binarykarma.com/fluidvm_screenshots.php Screen shots]&lt;br /&gt;
* VZ-Manager: [http://vzmanager.de/ homepage (German)]&lt;br /&gt;
* HyperVM: [http://lxlabs.com/software/hypervm/ homepage]&lt;br /&gt;
* vzAdmin: [http://www.vzAdmin.info/ homepage (German)]&lt;br /&gt;
* Aventurin{e}: [http://www.aventurin.net/ homepage (English)]&lt;br /&gt;
&lt;br /&gt;
== Frozen projects ==&lt;br /&gt;
* VZAdmin: [http://www.ronny-goerner.de/ homepage] ''seems not available now''&lt;br /&gt;
* WVZ: [http://homaly.dunanet.hu/wvz/ homepage] ''seems frozen''&lt;br /&gt;
* New OpenVZ Web Based Control Panel by rsailor: {{forum|230}} ''seems not available now''&lt;br /&gt;
* EasyVZ: [http://easyvz.sourceforge.net/ screenshots] | [http://sourceforge.net/projects/easyvz sf.net project page] (little bit outdated, but only working and free control panel?) (requires Unix/Linux)&lt;br /&gt;
* Mwamko: [http://mwamko.devjavu.com/ homepage]&lt;br /&gt;
* OpenVZ Control panel for Windows(r): {{forum|1491}} | [http://downloads.qmailrocks.ru/vz/ downloads] ''unknown license''&lt;br /&gt;
&lt;br /&gt;
== In development ==&lt;br /&gt;
* WIVZ/GIVZ: [http://source.icenetx.net/ homepage] Release scheduled for October 2008.  Unknow license.&lt;br /&gt;
* RoboVZ: [http://sharesource.org/project/robovz homepage] {{forum|2559}} Lots of promises since announced in May 2007, nothing usable yet.  Possibly GPL license.&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Control_panels&amp;diff=6265</id>
		<title>Control panels</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Control_panels&amp;diff=6265"/>
		<updated>2008-08-04T23:34:20Z</updated>

		<summary type="html">&lt;p&gt;Fayette: /* Free software / Open source */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains links to different control panels for OpenVZ, written by third parties. If you know the project that's missing here, please add it.&lt;br /&gt;
&lt;br /&gt;
== Free software / Open source ==&lt;br /&gt;
* Proxmox Virtual Environment: [http://pve.proxmox.com Proxmox VE Wiki] - including bare-metal ISO installer&lt;br /&gt;
* WebVZ: [http://webvz.sourceforge.net/ homepage] Uses Ruby on Rails which makes it a poor choice for Debian, Ubuntu and other .deb style distros.&lt;br /&gt;
* Webmin: [http://www.webmin.com/ homepage] | [http://www.webmin.com/cgi-bin/search_third.cgi?search=OpenVZ OpenVZ plugin] | Version 1.0, last updated 2006-02-07&lt;br /&gt;
* Vtonf: [http://www.vtonf.com/ homepage]&lt;br /&gt;
&lt;br /&gt;
== Proprietary / non-free ==&lt;br /&gt;
* FluidVM: [http://www.binarykarma.com Home Page] • [http://www.binarykarma.com/demo.php Demo Videos] • [http://www.binarykarma.com/fluidvm_screenshots.php Screen shots]&lt;br /&gt;
* VZ-Manager: [http://vzmanager.de/ homepage (German)]&lt;br /&gt;
* HyperVM: [http://lxlabs.com/software/hypervm/ homepage]&lt;br /&gt;
* vzAdmin: [http://www.vzAdmin.info/ homepage (German)]&lt;br /&gt;
* Aventurin{e}: [http://www.aventurin.net/ homepage (English)]&lt;br /&gt;
&lt;br /&gt;
== Frozen projects ==&lt;br /&gt;
* VZAdmin: [http://www.ronny-goerner.de/ homepage] ''seems not available now''&lt;br /&gt;
* WVZ: [http://homaly.dunanet.hu/wvz/ homepage] ''seems frozen''&lt;br /&gt;
* New OpenVZ Web Based Control Panel by rsailor: {{forum|230}} ''seems not available now''&lt;br /&gt;
* EasyVZ: [http://easyvz.sourceforge.net/ screenshots] | [http://sourceforge.net/projects/easyvz sf.net project page] (little bit outdated, but only working and free control panel?) (requires Unix/Linux)&lt;br /&gt;
* Mwamko: [http://mwamko.devjavu.com/ homepage]&lt;br /&gt;
* OpenVZ Control panel for Windows(r): {{forum|1491}} | [http://downloads.qmailrocks.ru/vz/ downloads] ''unknown license''&lt;br /&gt;
&lt;br /&gt;
== In development ==&lt;br /&gt;
* WIVZ/GIVZ: [http://source.icenetx.net/ homepage] Release scheduled for October 2008.  Unknow license.&lt;br /&gt;
* RoboVZ: [http://sharesource.org/project/robovz homepage] {{forum|2559}} Lots of promises since announced in May 2007, nothing usable yet.  Possibly GPL license.&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Control_panels&amp;diff=6264</id>
		<title>Control panels</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Control_panels&amp;diff=6264"/>
		<updated>2008-08-04T23:27:48Z</updated>

		<summary type="html">&lt;p&gt;Fayette: /* Free software / Open source */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains links to different control panels for OpenVZ, written by third parties. If you know the project that's missing here, please add it.&lt;br /&gt;
&lt;br /&gt;
== Free software / Open source ==&lt;br /&gt;
* Proxmox Virtual Environment: [http://pve.proxmox.com Proxmox VE Wiki] - including bare-metal ISO installer&lt;br /&gt;
* WebVZ: [http://webvz.sourceforge.net/ homepage] Uses Ruby on Rails which makes it a poor choice for Debian, Ubuntu and other .deb style distros.&lt;br /&gt;
* Webmin: [http://www.webmin.com/ homepage] | [http://www.webmin.com/cgi-bin/search_third.cgi?search=OpenVZ OpenVZ plugin]&lt;br /&gt;
* Vtonf: [http://www.vtonf.com/ homepage]&lt;br /&gt;
&lt;br /&gt;
== Proprietary / non-free ==&lt;br /&gt;
* FluidVM: [http://www.binarykarma.com Home Page] • [http://www.binarykarma.com/demo.php Demo Videos] • [http://www.binarykarma.com/fluidvm_screenshots.php Screen shots]&lt;br /&gt;
* VZ-Manager: [http://vzmanager.de/ homepage (German)]&lt;br /&gt;
* HyperVM: [http://lxlabs.com/software/hypervm/ homepage]&lt;br /&gt;
* vzAdmin: [http://www.vzAdmin.info/ homepage (German)]&lt;br /&gt;
* Aventurin{e}: [http://www.aventurin.net/ homepage (English)]&lt;br /&gt;
&lt;br /&gt;
== Frozen projects ==&lt;br /&gt;
* VZAdmin: [http://www.ronny-goerner.de/ homepage] ''seems not available now''&lt;br /&gt;
* WVZ: [http://homaly.dunanet.hu/wvz/ homepage] ''seems frozen''&lt;br /&gt;
* New OpenVZ Web Based Control Panel by rsailor: {{forum|230}} ''seems not available now''&lt;br /&gt;
* EasyVZ: [http://easyvz.sourceforge.net/ screenshots] | [http://sourceforge.net/projects/easyvz sf.net project page] (little bit outdated, but only working and free control panel?) (requires Unix/Linux)&lt;br /&gt;
* Mwamko: [http://mwamko.devjavu.com/ homepage]&lt;br /&gt;
* OpenVZ Control panel for Windows(r): {{forum|1491}} | [http://downloads.qmailrocks.ru/vz/ downloads] ''unknown license''&lt;br /&gt;
&lt;br /&gt;
== In development ==&lt;br /&gt;
* WIVZ/GIVZ: [http://source.icenetx.net/ homepage] Release scheduled for October 2008.  Unknow license.&lt;br /&gt;
* RoboVZ: [http://sharesource.org/project/robovz homepage] {{forum|2559}} Lots of promises since announced in May 2007, nothing usable yet.  Possibly GPL license.&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Control_panels&amp;diff=6263</id>
		<title>Control panels</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Control_panels&amp;diff=6263"/>
		<updated>2008-08-04T23:25:18Z</updated>

		<summary type="html">&lt;p&gt;Fayette: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains links to different control panels for OpenVZ, written by third parties. If you know the project that's missing here, please add it.&lt;br /&gt;
&lt;br /&gt;
== Free software / Open source ==&lt;br /&gt;
* Proxmox Virtual Environment: [http://pve.proxmox.com Proxmox VE Wiki] - including bare-metal ISO installer&lt;br /&gt;
* WebVZ: [http://webvz.sourceforge.net/ homepage]&lt;br /&gt;
* Webmin: [http://www.webmin.com/ homepage] | [http://www.webmin.com/cgi-bin/search_third.cgi?search=OpenVZ OpenVZ plugin]&lt;br /&gt;
* Vtonf: [http://www.vtonf.com/ homepage]&lt;br /&gt;
&lt;br /&gt;
== Proprietary / non-free ==&lt;br /&gt;
* FluidVM: [http://www.binarykarma.com Home Page] • [http://www.binarykarma.com/demo.php Demo Videos] • [http://www.binarykarma.com/fluidvm_screenshots.php Screen shots]&lt;br /&gt;
* VZ-Manager: [http://vzmanager.de/ homepage (German)]&lt;br /&gt;
* HyperVM: [http://lxlabs.com/software/hypervm/ homepage]&lt;br /&gt;
* vzAdmin: [http://www.vzAdmin.info/ homepage (German)]&lt;br /&gt;
* Aventurin{e}: [http://www.aventurin.net/ homepage (English)]&lt;br /&gt;
&lt;br /&gt;
== Frozen projects ==&lt;br /&gt;
* VZAdmin: [http://www.ronny-goerner.de/ homepage] ''seems not available now''&lt;br /&gt;
* WVZ: [http://homaly.dunanet.hu/wvz/ homepage] ''seems frozen''&lt;br /&gt;
* New OpenVZ Web Based Control Panel by rsailor: {{forum|230}} ''seems not available now''&lt;br /&gt;
* EasyVZ: [http://easyvz.sourceforge.net/ screenshots] | [http://sourceforge.net/projects/easyvz sf.net project page] (little bit outdated, but only working and free control panel?) (requires Unix/Linux)&lt;br /&gt;
* Mwamko: [http://mwamko.devjavu.com/ homepage]&lt;br /&gt;
* OpenVZ Control panel for Windows(r): {{forum|1491}} | [http://downloads.qmailrocks.ru/vz/ downloads] ''unknown license''&lt;br /&gt;
&lt;br /&gt;
== In development ==&lt;br /&gt;
* WIVZ/GIVZ: [http://source.icenetx.net/ homepage] Release scheduled for October 2008.  Unknow license.&lt;br /&gt;
* RoboVZ: [http://sharesource.org/project/robovz homepage] {{forum|2559}} Lots of promises since announced in May 2007, nothing usable yet.  Possibly GPL license.&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Using_NAT_for_container_with_private_IPs&amp;diff=6253</id>
		<title>Using NAT for container with private IPs</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Using_NAT_for_container_with_private_IPs&amp;diff=6253"/>
		<updated>2008-07-28T12:58:09Z</updated>

		<summary type="html">&lt;p&gt;Fayette: Added example of IP range specification.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Usually you supply public IP addresses to your containers. Sometimes you don't want to do it (lack of IPs, etc.). This article describes how to use private IP addresses for containers.&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
=== IP forwarding ===&lt;br /&gt;
IP forwarding should be turned on on hardware node in order for container networking to work. Make sure it is turned on:&lt;br /&gt;
&lt;br /&gt;
 $ cat /proc/sys/net/ipv4/ip_forward &lt;br /&gt;
 1&lt;br /&gt;
&lt;br /&gt;
Output should be '1'. If it is '0', enable IP forwarding as it is described in [[Quick installation#sysctl]].&lt;br /&gt;
&lt;br /&gt;
NOTE: '''Ubuntu''' made some changes to the syntax for NAT. See this link if you are needing to enable NAT on an Ubuntu host :&lt;br /&gt;
&lt;br /&gt;
[https://bugs.launchpad.net/ubuntu/+source/procps/+bug/84537 Launchpad]&lt;br /&gt;
&lt;br /&gt;
The syntax of /etc/sysctl.conf has changed to :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;net.ipv4.conf.default.forwarding=1&lt;br /&gt;
net.ipv4.conf.all.forwarding=1&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== IP conntracks ===&lt;br /&gt;
IP connection tracking should be enabled for CT0.&lt;br /&gt;
&lt;br /&gt;
'''For OpenVZ kernels 2.6.8''', put the following line into /etc/modprobe.conf:&lt;br /&gt;
&lt;br /&gt;
 modprobe ip_conntrack ip_conntrack_enable_ve0=1&lt;br /&gt;
&lt;br /&gt;
and reboot.&lt;br /&gt;
&lt;br /&gt;
'''For OpenVZ kernels later than 2.6.8''', connection tracking for CT0 is enabled by default. '''However''', make sure there is '''no''' line like&lt;br /&gt;
&lt;br /&gt;
 options ip_conntrack ip_conntrack_disable_ve0=1&lt;br /&gt;
&lt;br /&gt;
in /etc/modules.conf or /etc/modprobe.conf. If there is such line, comment it out (or remove) and reboot.&lt;br /&gt;
&lt;br /&gt;
== How to provide access for container to Internet ==&lt;br /&gt;
&lt;br /&gt;
To enable the [[container]]s, which have only internal IP addresses, to access the Internet, SNAT (Source Network Address Translation, also known as IP masquerading) should be configured on the [[Hardware Node]]. This is ensured by the standard Linux &amp;lt;tt&amp;gt;iptables&amp;lt;/tt&amp;gt; utility. To perform a simple SNAT setup, execute the following command on the [[Hardware Node]]:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# iptables -t nat -A POSTROUTING -s src_net -o eth0 -j SNAT --to ip_address&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;tt&amp;gt;src_net&amp;lt;/tt&amp;gt; is a range of IP addresses of containers to be translated by SNAT, and &amp;lt;tt&amp;gt;ip_address&amp;lt;/tt&amp;gt; is the external IP address of your [[Hardware Node]]. The format of src_net is xx.xx.xx.xx/xx.  For example to specify IP addresses from 192.168.2.12 through 192.168.2.25 use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# iptables -t nat -A POSTROUTING -s 192.168.2.12/25 -o eth0 -j SNAT --to ip_address&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Multiple rules are allowed, for example, in case you wish to specify several ranges of IP addresses. If you are using a number of physical network interfaces on the [[Hardware Node|Node]], you may need to specify a different interface for outgoing connections, e.g. &amp;lt;tt&amp;gt;-o eth2&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
To make all IP addresses to be translated by SNAT (not only the ones of [[container]]s with private addresses), you should type the following string:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to ip_address&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Note|If the above is not working then check if one of the following solutions does the trick.}}&lt;br /&gt;
1. If you are using stable (currently 2.6.8-based) kernel, then to enable SNAT for the containers on your local network you need to explicitly enable connection tracking in [[CT0]]. Make sure that the following string is present in the &amp;lt;tt&amp;gt;/etc/modprobe.conf&amp;lt;/tt&amp;gt; file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
options ip_conntrack ip_conntrack_enable_ve0=1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Note|in kernels later than 2.6.8, connection tracking is enabled by default}}&lt;br /&gt;
&lt;br /&gt;
In case it is not, add this string to the file by means of any text editor (for example, vi). This setting is not needed for kernels more recent than 2.6.8, since connection tracking for [[CT0]] is enabled by default in those kernels.&lt;br /&gt;
&lt;br /&gt;
2. For unknown reasons the above didn't work on a Debian host. The solution is to do it in an init.d script as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
modprobe ip_conntrack ip_conntrack_enable_ve0=1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure that this module is loaded before any of the other iptables-modules are loaded! Also remember that if this module is loaded without the option, unloading and reloading doesn't work! You need to reboot the computer.&lt;br /&gt;
&lt;br /&gt;
{{Note|in kernels later than 2.6.8, connection tracking is enabled by default}}&lt;br /&gt;
&lt;br /&gt;
== How to provide access from Internet to a container ==&lt;br /&gt;
&lt;br /&gt;
In addition, to make some services in container with private IP address be accessible from the Internet, DNAT (Destination Network Address Translation) should be configured on the [[Hardware Node]]. To perform a simple DNAT setup, execute the following command on the [[Hardware Node]]:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# iptables -t nat -A PREROUTING -p tcp -d ip_address --dport port_num \&lt;br /&gt;
  -i eth0 -j DNAT --to-destination ve_address:dst_port_num &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;tt&amp;gt;ve_address&amp;lt;/tt&amp;gt; is an IP address of the container, &amp;lt;tt&amp;gt;dst_port_num&amp;lt;/tt&amp;gt; is a tcp port which requires service use, &amp;lt;tt&amp;gt;ip_address&amp;lt;/tt&amp;gt; is the external (public) IP address of your [[Hardware Node]], and &amp;lt;tt&amp;gt;port_num&amp;lt;/tt&amp;gt; is a tcp port of [[Hardware Node]], which will be used for Internet connections to private container service. Note that this setup makes the service which is using &amp;lt;tt&amp;gt;port_num&amp;lt;/tt&amp;gt; on the [[Hardware Node]] be unaccessible from the Internet. Also note that SNAT translation is required too.&lt;br /&gt;
&lt;br /&gt;
For example, if you need a web server in a container to be accessible from outside and, at the same time, keep a web server on the [[Hardware Node]] be accessible, use the following config:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# iptables -t nat -A PREROUTING -p tcp -d ip_address --dport 8080 \&lt;br /&gt;
  -i eth0 -j DNAT --to-destination ve_address:80&lt;br /&gt;
# iptables -t nat -A POSTROUTING -s ve_address -o eth0 -j SNAT --to ip_address&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After applying this, you'll see container' web server at &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://ip_address:8080/&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{{Note|this rule will only work for external clients, i.e. connections originating from a different host — so you can not test if it works locally.}}&lt;br /&gt;
&lt;br /&gt;
{{Note|If you get any errors relating to: &lt;br /&gt;
&amp;lt;code&amp;gt;iptables: No chain/target/match by that name&amp;lt;/code&amp;gt;&lt;br /&gt;
double check to see if you have all the iptables/netfilter modules loaded properly. I had to &amp;lt;code&amp;gt; modprobe xt_tcpudp &amp;lt;/code&amp;gt; before getting it to work.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;iptables&amp;lt;/tt&amp;gt; utility allows to set up more complex rules for Network Address Translation, involving various protocols and ports. If you wish to get more information on this, consult the numerous Internet sites (e.g. [http://www.netfilter.org netfilter.org]) and tutorials devoted to this issue.&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
* [http://www.netfilter.org netfilter.org]&lt;br /&gt;
* [[w:Private network]]&lt;br /&gt;
&lt;br /&gt;
[[Category: HOWTO]]&lt;br /&gt;
[[Category: Networking]]&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Resource_management&amp;diff=5952</id>
		<title>Resource management</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Resource_management&amp;diff=5952"/>
		<updated>2008-05-26T10:16:47Z</updated>

		<summary type="html">&lt;p&gt;Fayette: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''OpenVZ resource management''' is a set of controls providing per-[[container]] resource accounting and limiting. This is required for multiple containers to coexist gracefully on a single [[host system]].&lt;br /&gt;
&lt;br /&gt;
OpenVZ resource management includes these four primary controllers:&lt;br /&gt;
&lt;br /&gt;
* [[User beancounters]] (a set of limits and guarantees controlled on a per container basis: memory etc.)&lt;br /&gt;
* [[Disk quota]]&lt;br /&gt;
* [[CPU Fair scheduler]]&lt;br /&gt;
* [[I/O priorities for VE]] and [[IO accounting]]&lt;br /&gt;
&lt;br /&gt;
OpenVZ administrators can also use the following mainstream Linux mechanisms:&lt;br /&gt;
* [[Traffic accounting with iptables]]&lt;br /&gt;
* [[Traffic shaping with tc]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Resource management]]&lt;br /&gt;
[[Category:Definitions]]&lt;br /&gt;
[[Category:Kernel]]&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=UBC_consistency_check&amp;diff=5950</id>
		<title>UBC consistency check</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=UBC_consistency_check&amp;diff=5950"/>
		<updated>2008-05-25T11:52:58Z</updated>

		<summary type="html">&lt;p&gt;Fayette: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{UBC toc}}&lt;br /&gt;
&lt;br /&gt;
System resource control parameters have certain interdependencies. Constraints on the parameter settings are listed below. Indexes &amp;lt;code&amp;gt;bar&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;lim&amp;lt;/code&amp;gt; in the formulae below mean the barrier and the limit of the parameters, respectively.&lt;br /&gt;
&lt;br /&gt;
Configuration of resource control parameters for a container&lt;br /&gt;
is invalid if these constraints are not satisfied. The best way to ensure the&lt;br /&gt;
validity of the configuration is to use the {{man|vzcfgvalidate|8}} utility.&lt;br /&gt;
&lt;br /&gt;
All the interdependencies discussed below and their importance are summarized in [[UBC interdependencies table]].&lt;br /&gt;
&lt;br /&gt;
The configured limits can be checked through&lt;br /&gt;
* &amp;lt;code&amp;gt;/proc/user_beancounters&amp;lt;/code&amp;gt; interface;&lt;br /&gt;
* container configuration files in &amp;lt;code&amp;gt;/etc/vz/conf/&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== kmemsize should be enough for the expected number of processes ==&lt;br /&gt;
&amp;lt;math&amp;gt;kmemsize_{bar} \ge 40KB \cdot avnumproc + dcachesize_{lim}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(&amp;lt;code&amp;gt;avnumproc&amp;lt;/code&amp;gt; here stands for the expected average number of processes).&lt;br /&gt;
&lt;br /&gt;
This constraint is important for applications to work reliably in the&lt;br /&gt;
container.&lt;br /&gt;
If it is not satisfied, applications will start to fail in the middle of&lt;br /&gt;
operations instead of failing while spawning more processes&lt;br /&gt;
and the application's ability to handle resource shortage will be very&lt;br /&gt;
limited.&lt;br /&gt;
&lt;br /&gt;
== Memory allocation limits should not be less than the guarantee ==&lt;br /&gt;
&amp;lt;math&amp;gt; privvmpages_{bar} \ge vmguarpages_{bar}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If this constraint is not satisfied, &amp;lt;code&amp;gt;vmguarpages&amp;lt;/code&amp;gt; will not work.&lt;br /&gt;
&lt;br /&gt;
== Send buffers should have enough space for all sockets ==&lt;br /&gt;
&amp;lt;math&amp;gt;tcpsndbuf_{lim} - tcpsndbuf_{bar} \ge 2.5KB \cdot numtcpsock&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;othersockbuf_{lim} - othersockbuf_{bar} \ge 2.5KB \cdot numothersock&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These constraints are also important.&lt;br /&gt;
If they are not satisfied, transmission of data over the sockets&lt;br /&gt;
may hang in some circumstances.&lt;br /&gt;
&lt;br /&gt;
== Other TCP socket buffers should be big enough ==&lt;br /&gt;
&amp;lt;math&amp;gt;tcprcvbuf_{lim} - tcprcvbuf_{bar} \ge 2.5KB \cdot numtcpsock&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;tcprcvbuf_{bar} \ge 64KB&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;tcpsndbuf_{bar} \ge 64KB&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Selecting the left side equal to the right side in the inequalities&lt;br /&gt;
above ensures minimal performance of network communications.&lt;br /&gt;
Increasing the left side will increase performance to a certain extent.&lt;br /&gt;
&lt;br /&gt;
== UDP socket buffers should be large enough if the system is not tight on memory ==&lt;br /&gt;
&amp;lt;math&amp;gt;dgramrcvbuf_{bar} \ge 129KB&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;othersockbuf_{bar} \ge 129KB&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These constraints are desired, but not essential.&lt;br /&gt;
Large enough buffers for UDP sockets improve reliability of datagram delivery.&lt;br /&gt;
However, note that if the UDP traffic is so bursty that it needs larger&lt;br /&gt;
buffers, the datagrams will likely be lost not because of resource control&lt;br /&gt;
limits, but because of other memory and performance limitations.&lt;br /&gt;
&lt;br /&gt;
== Number of files limit should be adequate for the expected number of processes ==&lt;br /&gt;
&amp;lt;math&amp;gt;numfile \ge avnumproc \cdot 32&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that each process after a &amp;lt;code&amp;gt;execve(2)&amp;lt;/code&amp;gt; system call&lt;br /&gt;
requires a file for each loaded shared library.&lt;br /&gt;
A too low &amp;lt;code&amp;gt;numfile&amp;lt;/code&amp;gt; limit will increase the chances of failures&lt;br /&gt;
during &amp;lt;code&amp;gt;execve(2)&amp;lt;/code&amp;gt; calls with error messages that are not clear&lt;br /&gt;
to the users.&lt;br /&gt;
&lt;br /&gt;
== The limit on the total size of &amp;lt;code&amp;gt;dentry&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;inode&amp;lt;/code&amp;gt; structures locked in memory should be adequate for allowed number of files ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;dcachesize_{bar} \ge numfile \cdot 384\ \rm(bytes)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A too low &amp;lt;code&amp;gt;dcachesize&amp;lt;/code&amp;gt; limit will increase the chances of&lt;br /&gt;
file operation refusals resulting in unexpected application failures. &lt;br /&gt;
&lt;br /&gt;
== Barrier should be less or equal than limit ==&lt;br /&gt;
In addition to the conditions listed above,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;barrier \le limit&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
should be maintained for each parameter.&lt;br /&gt;
&lt;br /&gt;
[[Category:Troubleshooting]]&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=IO_accounting&amp;diff=5949</id>
		<title>IO accounting</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=IO_accounting&amp;diff=5949"/>
		<updated>2008-05-25T11:43:59Z</updated>

		<summary type="html">&lt;p&gt;Fayette: /* Debugging information */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page describes how accounting is done for I/O activity of VE processes. This feature is available beginning with OpenVZ kernels version &amp;lt;code&amp;gt;028test008&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== New resources ==&lt;br /&gt;
The following resources are accounted:&lt;br /&gt;
; read bytes&lt;br /&gt;
: is the number of bytes read by tasks. Reads are always synchronous in the kernel so this type of resource is the easiest one.&lt;br /&gt;
&lt;br /&gt;
; dirty bytes&lt;br /&gt;
: is the number of bytes that were dirty since VE start, i.&amp;amp;nbsp;e. data that isn't yet flushed to disk. This type of resource is accumulated using [[RSS_fractions_accounting|page beancounters]] and the context the page was dirtied by is determined like this:&lt;br /&gt;
:* if a page is mapped it's &amp;quot;mapper&amp;quot; is used as this may happen in any context (unmapping of a page under memory pressure);&lt;br /&gt;
:* if a page is not mapped — current BC is used as this can happen during usual write (writev) only.&lt;br /&gt;
&lt;br /&gt;
; written bytes&lt;br /&gt;
: is the number of bytes flushed to disk. The beancounter charged with this is the one by which the page was dirtied.&lt;br /&gt;
&lt;br /&gt;
; canceled bytes&lt;br /&gt;
: is the number of bytes that were dirty but weren't flushed to disk.&lt;br /&gt;
&lt;br /&gt;
; missed bytes&lt;br /&gt;
: is the number of bytes that were dirtied but the context (beancounter) wasn't saved due to lack of memory.&lt;br /&gt;
&lt;br /&gt;
== Proc interface ==&lt;br /&gt;
=== General information ===&lt;br /&gt;
As was described in [[BC proc entries|another article]] each beancounter has its own &amp;lt;code&amp;gt;/proc/bc/$BCID&amp;lt;/code&amp;gt; directory where subsystems add their entries. I/O accounting adds an &amp;lt;code&amp;gt;ioacct&amp;lt;/code&amp;gt; entry to show I/O information. This entry contains the following information:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /proc/bc/101/ioacct &lt;br /&gt;
        read                              24330240&lt;br /&gt;
        write                               598016&lt;br /&gt;
        dirty                               622592&lt;br /&gt;
        cancel                               24576&lt;br /&gt;
        missed                                   0&lt;br /&gt;
        ...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that &amp;lt;code&amp;gt;dirty&amp;lt;/code&amp;gt; is not the size of dirty data at the moment, but the size of dirty data seen so far.&lt;br /&gt;
&lt;br /&gt;
=== Debugging information ===&lt;br /&gt;
When &amp;lt;code&amp;gt;CONFIG_UBC_DEBUG_IO&amp;lt;/code&amp;gt;, is on &amp;lt;code&amp;gt;/proc/bc/ioacct_debug&amp;lt;/code&amp;gt; is added. This entry contains a snapshot of current dirty pages with its beancounter. For example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /proc/bc/ioacct_debug &lt;br /&gt;
Races: io 0 anon 0 clean 0 missed 0&lt;br /&gt;
pb         page     flg       cnt     mcnt pb_list  page_pb    mapping  ub      &lt;br /&gt;
f7a4a520 e c17cfc68 Dawl        2        0 00000000 f7a4a521   c3870168 0&lt;br /&gt;
f7a15ce0 e c17d034c Dawl        2        0 00000000 f7a15ce1   c3870168 0&lt;br /&gt;
f72e4680 e c1083364 Dawl        2        0 00000000 f72e4681   c3870168 0&lt;br /&gt;
f72e4800 e c1083388 Dawl        2        0 00000000 f72e4801   c3870168 0&lt;br /&gt;
f7a15dc0 e c17d0010 Dawl        2        0 00000000 f7a15dc1   c3870168 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Auxiliary information ==&lt;br /&gt;
Along with VFS I/O activity the following information is gathered&lt;br /&gt;
; sync counts&lt;br /&gt;
: The number of &amp;lt;code&amp;gt;sync(2)&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;fsync(2)&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;fdatasync(2)&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;sync_file_range&amp;lt;/code&amp;gt;.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /proc/bc/101/ioacct &lt;br /&gt;
        ...&lt;br /&gt;
        syncs_total                              0&lt;br /&gt;
        fsyncs_total                             0&lt;br /&gt;
        fdatasyncs_total                        10&lt;br /&gt;
        range_syncs_total                        0&lt;br /&gt;
        syncs_active                             0&lt;br /&gt;
        fsyncs_active                            0&lt;br /&gt;
        fdatasyncs_active                        0&lt;br /&gt;
        range_syncs_active                       0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;_active&amp;lt;/code&amp;gt; suffix refers to the number of operations in progress.&lt;br /&gt;
&lt;br /&gt;
; write/read calls counts&lt;br /&gt;
: The number of &amp;lt;code&amp;gt;read(2)&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;readv(2)&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;write(2)&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;writev(2)&amp;lt;/code&amp;gt;, etc. and the number of bytes passed.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /proc/bc/101/ioacct &lt;br /&gt;
        ...&lt;br /&gt;
        vfs_reads                            24491&lt;br /&gt;
        vfs_read_chars                     2616512&lt;br /&gt;
        vfs_writes                             380&lt;br /&gt;
        vfs_write_chars                30064899102&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; number of page beancounters pinned by I/O&lt;br /&gt;
: This is the number of page beancounters that save information about page dirtier. This is actually the number of dirty pages within beancounter at the moment.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /proc/bc/0/ioacct&lt;br /&gt;
        ...&lt;br /&gt;
        write                               598016&lt;br /&gt;
        dirty                               622592&lt;br /&gt;
        ...&lt;br /&gt;
        io_pbs                                   0&lt;br /&gt;
# dd if=/dev/zero of=tmp bs=512 count=40&lt;br /&gt;
# cat /proc/bc/0/ioacct &lt;br /&gt;
        ...&lt;br /&gt;
        write                               598016&lt;br /&gt;
        dirty                               643072&lt;br /&gt;
        ...&lt;br /&gt;
        io_pbs                                   5&lt;br /&gt;
# sync&lt;br /&gt;
# cat /proc/bc/0/ioacct&lt;br /&gt;
        ...&lt;br /&gt;
        write                               618496&lt;br /&gt;
        dirty                               643072&lt;br /&gt;
        ...&lt;br /&gt;
        io_pbs                                   0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Resource management]]&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=IO_accounting&amp;diff=5948</id>
		<title>IO accounting</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=IO_accounting&amp;diff=5948"/>
		<updated>2008-05-25T11:42:50Z</updated>

		<summary type="html">&lt;p&gt;Fayette: /* General information */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page describes how accounting is done for I/O activity of VE processes. This feature is available beginning with OpenVZ kernels version &amp;lt;code&amp;gt;028test008&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== New resources ==&lt;br /&gt;
The following resources are accounted:&lt;br /&gt;
; read bytes&lt;br /&gt;
: is the number of bytes read by tasks. Reads are always synchronous in the kernel so this type of resource is the easiest one.&lt;br /&gt;
&lt;br /&gt;
; dirty bytes&lt;br /&gt;
: is the number of bytes that were dirty since VE start, i.&amp;amp;nbsp;e. data that isn't yet flushed to disk. This type of resource is accumulated using [[RSS_fractions_accounting|page beancounters]] and the context the page was dirtied by is determined like this:&lt;br /&gt;
:* if a page is mapped it's &amp;quot;mapper&amp;quot; is used as this may happen in any context (unmapping of a page under memory pressure);&lt;br /&gt;
:* if a page is not mapped — current BC is used as this can happen during usual write (writev) only.&lt;br /&gt;
&lt;br /&gt;
; written bytes&lt;br /&gt;
: is the number of bytes flushed to disk. The beancounter charged with this is the one by which the page was dirtied.&lt;br /&gt;
&lt;br /&gt;
; canceled bytes&lt;br /&gt;
: is the number of bytes that were dirty but weren't flushed to disk.&lt;br /&gt;
&lt;br /&gt;
; missed bytes&lt;br /&gt;
: is the number of bytes that were dirtied but the context (beancounter) wasn't saved due to lack of memory.&lt;br /&gt;
&lt;br /&gt;
== Proc interface ==&lt;br /&gt;
=== General information ===&lt;br /&gt;
As was described in [[BC proc entries|another article]] each beancounter has its own &amp;lt;code&amp;gt;/proc/bc/$BCID&amp;lt;/code&amp;gt; directory where subsystems add their entries. I/O accounting adds an &amp;lt;code&amp;gt;ioacct&amp;lt;/code&amp;gt; entry to show I/O information. This entry contains the following information:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /proc/bc/101/ioacct &lt;br /&gt;
        read                              24330240&lt;br /&gt;
        write                               598016&lt;br /&gt;
        dirty                               622592&lt;br /&gt;
        cancel                               24576&lt;br /&gt;
        missed                                   0&lt;br /&gt;
        ...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that &amp;lt;code&amp;gt;dirty&amp;lt;/code&amp;gt; is not the size of dirty data at the moment, but the size of dirty data seen so far.&lt;br /&gt;
&lt;br /&gt;
=== Debugging information ===&lt;br /&gt;
When &amp;lt;code&amp;gt;CONFIG_UBC_DEBUG_IO&amp;lt;/code&amp;gt;, is on &amp;lt;code&amp;gt;/proc/bc/ioacct_debug&amp;lt;/code&amp;gt; is added. This entry contains a snapshot of current dirty pages with its beancounter in system. For example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /proc/bc/ioacct_debug &lt;br /&gt;
Races: io 0 anon 0 clean 0 missed 0&lt;br /&gt;
pb         page     flg       cnt     mcnt pb_list  page_pb    mapping  ub      &lt;br /&gt;
f7a4a520 e c17cfc68 Dawl        2        0 00000000 f7a4a521   c3870168 0&lt;br /&gt;
f7a15ce0 e c17d034c Dawl        2        0 00000000 f7a15ce1   c3870168 0&lt;br /&gt;
f72e4680 e c1083364 Dawl        2        0 00000000 f72e4681   c3870168 0&lt;br /&gt;
f72e4800 e c1083388 Dawl        2        0 00000000 f72e4801   c3870168 0&lt;br /&gt;
f7a15dc0 e c17d0010 Dawl        2        0 00000000 f7a15dc1   c3870168 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Auxiliary information ==&lt;br /&gt;
Along with VFS I/O activity the following information is gathered&lt;br /&gt;
; sync counts&lt;br /&gt;
: The number of &amp;lt;code&amp;gt;sync(2)&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;fsync(2)&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;fdatasync(2)&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;sync_file_range&amp;lt;/code&amp;gt;.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /proc/bc/101/ioacct &lt;br /&gt;
        ...&lt;br /&gt;
        syncs_total                              0&lt;br /&gt;
        fsyncs_total                             0&lt;br /&gt;
        fdatasyncs_total                        10&lt;br /&gt;
        range_syncs_total                        0&lt;br /&gt;
        syncs_active                             0&lt;br /&gt;
        fsyncs_active                            0&lt;br /&gt;
        fdatasyncs_active                        0&lt;br /&gt;
        range_syncs_active                       0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;_active&amp;lt;/code&amp;gt; suffix refers to the number of operations in progress.&lt;br /&gt;
&lt;br /&gt;
; write/read calls counts&lt;br /&gt;
: The number of &amp;lt;code&amp;gt;read(2)&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;readv(2)&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;write(2)&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;writev(2)&amp;lt;/code&amp;gt;, etc. and the number of bytes passed.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /proc/bc/101/ioacct &lt;br /&gt;
        ...&lt;br /&gt;
        vfs_reads                            24491&lt;br /&gt;
        vfs_read_chars                     2616512&lt;br /&gt;
        vfs_writes                             380&lt;br /&gt;
        vfs_write_chars                30064899102&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; number of page beancounters pinned by I/O&lt;br /&gt;
: This is the number of page beancounters that save information about page dirtier. This is actually the number of dirty pages within beancounter at the moment.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /proc/bc/0/ioacct&lt;br /&gt;
        ...&lt;br /&gt;
        write                               598016&lt;br /&gt;
        dirty                               622592&lt;br /&gt;
        ...&lt;br /&gt;
        io_pbs                                   0&lt;br /&gt;
# dd if=/dev/zero of=tmp bs=512 count=40&lt;br /&gt;
# cat /proc/bc/0/ioacct &lt;br /&gt;
        ...&lt;br /&gt;
        write                               598016&lt;br /&gt;
        dirty                               643072&lt;br /&gt;
        ...&lt;br /&gt;
        io_pbs                                   5&lt;br /&gt;
# sync&lt;br /&gt;
# cat /proc/bc/0/ioacct&lt;br /&gt;
        ...&lt;br /&gt;
        write                               618496&lt;br /&gt;
        dirty                               643072&lt;br /&gt;
        ...&lt;br /&gt;
        io_pbs                                   0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Resource management]]&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=IO_accounting&amp;diff=5947</id>
		<title>IO accounting</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=IO_accounting&amp;diff=5947"/>
		<updated>2008-05-25T11:40:48Z</updated>

		<summary type="html">&lt;p&gt;Fayette: /* New resources */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page describes how accounting is done for I/O activity of VE processes. This feature is available beginning with OpenVZ kernels version &amp;lt;code&amp;gt;028test008&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== New resources ==&lt;br /&gt;
The following resources are accounted:&lt;br /&gt;
; read bytes&lt;br /&gt;
: is the number of bytes read by tasks. Reads are always synchronous in the kernel so this type of resource is the easiest one.&lt;br /&gt;
&lt;br /&gt;
; dirty bytes&lt;br /&gt;
: is the number of bytes that were dirty since VE start, i.&amp;amp;nbsp;e. data that isn't yet flushed to disk. This type of resource is accumulated using [[RSS_fractions_accounting|page beancounters]] and the context the page was dirtied by is determined like this:&lt;br /&gt;
:* if a page is mapped it's &amp;quot;mapper&amp;quot; is used as this may happen in any context (unmapping of a page under memory pressure);&lt;br /&gt;
:* if a page is not mapped — current BC is used as this can happen during usual write (writev) only.&lt;br /&gt;
&lt;br /&gt;
; written bytes&lt;br /&gt;
: is the number of bytes flushed to disk. The beancounter charged with this is the one by which the page was dirtied.&lt;br /&gt;
&lt;br /&gt;
; canceled bytes&lt;br /&gt;
: is the number of bytes that were dirty but weren't flushed to disk.&lt;br /&gt;
&lt;br /&gt;
; missed bytes&lt;br /&gt;
: is the number of bytes that were dirtied but the context (beancounter) wasn't saved due to lack of memory.&lt;br /&gt;
&lt;br /&gt;
== Proc interface ==&lt;br /&gt;
=== General information ===&lt;br /&gt;
As it was described in [[BC proc entries|another article]] each beancounter has it's own &amp;lt;code&amp;gt;/proc/bc/$BCID&amp;lt;/code&amp;gt; directory where subsystems add their entries. I/O accounting adds &amp;lt;code&amp;gt;ioacct&amp;lt;/code&amp;gt; entry to show I/O information. This entry contains the following information:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /proc/bc/101/ioacct &lt;br /&gt;
        read                              24330240&lt;br /&gt;
        write                               598016&lt;br /&gt;
        dirty                               622592&lt;br /&gt;
        cancel                               24576&lt;br /&gt;
        missed                                   0&lt;br /&gt;
        ...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that &amp;lt;code&amp;gt;dirty&amp;lt;/code&amp;gt; is not the size of a dirty data at the moment, but the size of a dirty data seen so far.&lt;br /&gt;
&lt;br /&gt;
=== Debugging information ===&lt;br /&gt;
When &amp;lt;code&amp;gt;CONFIG_UBC_DEBUG_IO&amp;lt;/code&amp;gt;, is on &amp;lt;code&amp;gt;/proc/bc/ioacct_debug&amp;lt;/code&amp;gt; is added. This entry contains a snapshot of current dirty pages with its beancounter in system. For example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /proc/bc/ioacct_debug &lt;br /&gt;
Races: io 0 anon 0 clean 0 missed 0&lt;br /&gt;
pb         page     flg       cnt     mcnt pb_list  page_pb    mapping  ub      &lt;br /&gt;
f7a4a520 e c17cfc68 Dawl        2        0 00000000 f7a4a521   c3870168 0&lt;br /&gt;
f7a15ce0 e c17d034c Dawl        2        0 00000000 f7a15ce1   c3870168 0&lt;br /&gt;
f72e4680 e c1083364 Dawl        2        0 00000000 f72e4681   c3870168 0&lt;br /&gt;
f72e4800 e c1083388 Dawl        2        0 00000000 f72e4801   c3870168 0&lt;br /&gt;
f7a15dc0 e c17d0010 Dawl        2        0 00000000 f7a15dc1   c3870168 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Auxiliary information ==&lt;br /&gt;
Along with VFS I/O activity the following information is gathered&lt;br /&gt;
; sync counts&lt;br /&gt;
: The number of &amp;lt;code&amp;gt;sync(2)&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;fsync(2)&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;fdatasync(2)&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;sync_file_range&amp;lt;/code&amp;gt;.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /proc/bc/101/ioacct &lt;br /&gt;
        ...&lt;br /&gt;
        syncs_total                              0&lt;br /&gt;
        fsyncs_total                             0&lt;br /&gt;
        fdatasyncs_total                        10&lt;br /&gt;
        range_syncs_total                        0&lt;br /&gt;
        syncs_active                             0&lt;br /&gt;
        fsyncs_active                            0&lt;br /&gt;
        fdatasyncs_active                        0&lt;br /&gt;
        range_syncs_active                       0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;_active&amp;lt;/code&amp;gt; suffix refers to the number of operations in progress.&lt;br /&gt;
&lt;br /&gt;
; write/read calls counts&lt;br /&gt;
: The number of &amp;lt;code&amp;gt;read(2)&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;readv(2)&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;write(2)&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;writev(2)&amp;lt;/code&amp;gt;, etc. and the number of bytes passed.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /proc/bc/101/ioacct &lt;br /&gt;
        ...&lt;br /&gt;
        vfs_reads                            24491&lt;br /&gt;
        vfs_read_chars                     2616512&lt;br /&gt;
        vfs_writes                             380&lt;br /&gt;
        vfs_write_chars                30064899102&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; number of page beancounters pinned by I/O&lt;br /&gt;
: This is the number of page beancounters that save information about page dirtier. This is actually the number of dirty pages within beancounter at the moment.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /proc/bc/0/ioacct&lt;br /&gt;
        ...&lt;br /&gt;
        write                               598016&lt;br /&gt;
        dirty                               622592&lt;br /&gt;
        ...&lt;br /&gt;
        io_pbs                                   0&lt;br /&gt;
# dd if=/dev/zero of=tmp bs=512 count=40&lt;br /&gt;
# cat /proc/bc/0/ioacct &lt;br /&gt;
        ...&lt;br /&gt;
        write                               598016&lt;br /&gt;
        dirty                               643072&lt;br /&gt;
        ...&lt;br /&gt;
        io_pbs                                   5&lt;br /&gt;
# sync&lt;br /&gt;
# cat /proc/bc/0/ioacct&lt;br /&gt;
        ...&lt;br /&gt;
        write                               618496&lt;br /&gt;
        dirty                               643072&lt;br /&gt;
        ...&lt;br /&gt;
        io_pbs                                   0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Resource management]]&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=IO_accounting&amp;diff=5946</id>
		<title>IO accounting</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=IO_accounting&amp;diff=5946"/>
		<updated>2008-05-25T11:34:14Z</updated>

		<summary type="html">&lt;p&gt;Fayette: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page describes how accounting is done for I/O activity of VE processes. This feature is available beginning with OpenVZ kernels version &amp;lt;code&amp;gt;028test008&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== New resources ==&lt;br /&gt;
The following resources are accounted:&lt;br /&gt;
; read bytes&lt;br /&gt;
: is the amount of bytes read by tasks. Reads are always synchronous in kernel so this type of resources is the easiest one.&lt;br /&gt;
&lt;br /&gt;
; dirty bytes&lt;br /&gt;
: is the amount of bytes that were dirty since VE start, i.&amp;amp;nbsp;e. data that isn't yet flushed to disk. This type of resources is accounted using [[RSS_fractions_accounting|page beancounters]] and the context the page was dirtied by is determined like this:&lt;br /&gt;
:* if a page is mapped it's &amp;quot;mapper&amp;quot; is used as this may happen in any context (unmapping of a page under memory pressure);&lt;br /&gt;
:* if a page is not mapped — current BC is used as this can happen during usual write (writev) only.&lt;br /&gt;
&lt;br /&gt;
; written bytes&lt;br /&gt;
: is the amount of bytes flushed to disk. The beancounter to charge this to is the one the page was dirtied by.&lt;br /&gt;
&lt;br /&gt;
; canceled bytes&lt;br /&gt;
: is the amount of bytes that were dirty but weren't flushed to disk.&lt;br /&gt;
&lt;br /&gt;
; missed bytes&lt;br /&gt;
: is the amount of bytes that were dirtied but the context (beancounter) wasn't saved due to lack of memory.&lt;br /&gt;
&lt;br /&gt;
== Proc interface ==&lt;br /&gt;
=== General information ===&lt;br /&gt;
As it was described in [[BC proc entries|another article]] each beancounter has it's own &amp;lt;code&amp;gt;/proc/bc/$BCID&amp;lt;/code&amp;gt; directory where subsystems add their entries. I/O accounting adds &amp;lt;code&amp;gt;ioacct&amp;lt;/code&amp;gt; entry to show I/O information. This entry contains the following information:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /proc/bc/101/ioacct &lt;br /&gt;
        read                              24330240&lt;br /&gt;
        write                               598016&lt;br /&gt;
        dirty                               622592&lt;br /&gt;
        cancel                               24576&lt;br /&gt;
        missed                                   0&lt;br /&gt;
        ...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that &amp;lt;code&amp;gt;dirty&amp;lt;/code&amp;gt; is not the size of a dirty data at the moment, but the size of a dirty data seen so far.&lt;br /&gt;
&lt;br /&gt;
=== Debugging information ===&lt;br /&gt;
When &amp;lt;code&amp;gt;CONFIG_UBC_DEBUG_IO&amp;lt;/code&amp;gt;, is on &amp;lt;code&amp;gt;/proc/bc/ioacct_debug&amp;lt;/code&amp;gt; is added. This entry contains a snapshot of current dirty pages with its beancounter in system. For example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /proc/bc/ioacct_debug &lt;br /&gt;
Races: io 0 anon 0 clean 0 missed 0&lt;br /&gt;
pb         page     flg       cnt     mcnt pb_list  page_pb    mapping  ub      &lt;br /&gt;
f7a4a520 e c17cfc68 Dawl        2        0 00000000 f7a4a521   c3870168 0&lt;br /&gt;
f7a15ce0 e c17d034c Dawl        2        0 00000000 f7a15ce1   c3870168 0&lt;br /&gt;
f72e4680 e c1083364 Dawl        2        0 00000000 f72e4681   c3870168 0&lt;br /&gt;
f72e4800 e c1083388 Dawl        2        0 00000000 f72e4801   c3870168 0&lt;br /&gt;
f7a15dc0 e c17d0010 Dawl        2        0 00000000 f7a15dc1   c3870168 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Auxiliary information ==&lt;br /&gt;
Along with VFS I/O activity the following information is gathered&lt;br /&gt;
; sync counts&lt;br /&gt;
: The number of &amp;lt;code&amp;gt;sync(2)&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;fsync(2)&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;fdatasync(2)&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;sync_file_range&amp;lt;/code&amp;gt;.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /proc/bc/101/ioacct &lt;br /&gt;
        ...&lt;br /&gt;
        syncs_total                              0&lt;br /&gt;
        fsyncs_total                             0&lt;br /&gt;
        fdatasyncs_total                        10&lt;br /&gt;
        range_syncs_total                        0&lt;br /&gt;
        syncs_active                             0&lt;br /&gt;
        fsyncs_active                            0&lt;br /&gt;
        fdatasyncs_active                        0&lt;br /&gt;
        range_syncs_active                       0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;_active&amp;lt;/code&amp;gt; suffix refers to the number of operations in progress.&lt;br /&gt;
&lt;br /&gt;
; write/read calls counts&lt;br /&gt;
: The number of &amp;lt;code&amp;gt;read(2)&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;readv(2)&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;write(2)&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;writev(2)&amp;lt;/code&amp;gt;, etc. and the number of bytes passed.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /proc/bc/101/ioacct &lt;br /&gt;
        ...&lt;br /&gt;
        vfs_reads                            24491&lt;br /&gt;
        vfs_read_chars                     2616512&lt;br /&gt;
        vfs_writes                             380&lt;br /&gt;
        vfs_write_chars                30064899102&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; number of page beancounters pinned by I/O&lt;br /&gt;
: This is the number of page beancounters that save information about page dirtier. This is actually the number of dirty pages within beancounter at the moment.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /proc/bc/0/ioacct&lt;br /&gt;
        ...&lt;br /&gt;
        write                               598016&lt;br /&gt;
        dirty                               622592&lt;br /&gt;
        ...&lt;br /&gt;
        io_pbs                                   0&lt;br /&gt;
# dd if=/dev/zero of=tmp bs=512 count=40&lt;br /&gt;
# cat /proc/bc/0/ioacct &lt;br /&gt;
        ...&lt;br /&gt;
        write                               598016&lt;br /&gt;
        dirty                               643072&lt;br /&gt;
        ...&lt;br /&gt;
        io_pbs                                   5&lt;br /&gt;
# sync&lt;br /&gt;
# cat /proc/bc/0/ioacct&lt;br /&gt;
        ...&lt;br /&gt;
        write                               618496&lt;br /&gt;
        dirty                               643072&lt;br /&gt;
        ...&lt;br /&gt;
        io_pbs                                   0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Resource management]]&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Live_CD&amp;diff=5945</id>
		<title>Live CD</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Live_CD&amp;diff=5945"/>
		<updated>2008-05-25T11:31:51Z</updated>

		<summary type="html">&lt;p&gt;Fayette: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;OpenVZ live CD is a great way to test drive the technology without needing to install OpenVZ.&lt;br /&gt;
&lt;br /&gt;
* If you want to burn a live CD, see [[Download live CD]].&lt;br /&gt;
&lt;br /&gt;
* If you have OpenVZ live CD already, see [[Getting started with OpenVZ live CD]].&lt;br /&gt;
&lt;br /&gt;
* If you want to create your own OpenVZ live CD, see [[Creating OpenVZ LiveCD]] and/or [[Creating OpenVZ LiveCD based on Centos 4.4]].&lt;br /&gt;
&lt;br /&gt;
[[Category: Live CD]]&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Bridge_doesn%27t_forward_packets&amp;diff=5944</id>
		<title>Bridge doesn't forward packets</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Bridge_doesn%27t_forward_packets&amp;diff=5944"/>
		<updated>2008-05-25T11:30:27Z</updated>

		<summary type="html">&lt;p&gt;Fayette: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Sometimes a bridge can mysteriously drop packets and not forward them.&lt;br /&gt;
e.g. eyck user experienced a problem when some of the broadcasts were not&lt;br /&gt;
delivered to container via the bridge.&lt;br /&gt;
&lt;br /&gt;
Original report and the thread: [http://forum.openvz.org/index.php?t=tree&amp;amp;th=4052&amp;amp; forum thread]&lt;br /&gt;
&lt;br /&gt;
== Simplest configuration ==&lt;br /&gt;
&lt;br /&gt;
Container #101 with veth interface (veth101.0) connected to eth0 physical interface via bridge.&lt;br /&gt;
&lt;br /&gt;
== Problem statement ==&lt;br /&gt;
&lt;br /&gt;
We faced a situation when some of the broadcast packets were not delivered to&lt;br /&gt;
the container. Actually it could happen with any packets, not with the&lt;br /&gt;
broadcasts only. But broadcasts are simpler and obviously should have been&lt;br /&gt;
delivered to all the networking interfaces with no doubt.&lt;br /&gt;
&lt;br /&gt;
Using tcpdump we see that BOOTP/DHCP request is visible on br0 interface in&lt;br /&gt;
the host system ([[CT0]]):&lt;br /&gt;
  15:21:52.258220 00:1b:d5:2c:bf:38 &amp;gt; ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 350: 0.0.0.0.68 &amp;gt; 255.255.255.255.67:&lt;br /&gt;
    BOOTP/DHCP, Request from 00:1b:d5:2c:bf:38, length 308&lt;br /&gt;
  15:21:52.287269 00:08:02:ac:36:20 &amp;gt; ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 342: 172.17.8.254.67 &amp;gt; 255.255.255.255.68:&lt;br /&gt;
    BOOTP/DHCP, Reply, length 300&lt;br /&gt;
&lt;br /&gt;
However, eth0 inside the container received only 2nd packet with a BOOTP/DHCP reply and doesn't see the 1st one with the request itself:&lt;br /&gt;
  15:21:52.291145 00:08:02:ac:36:20 &amp;gt; ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 342: 172.17.8.254.67 &amp;gt; 255.255.255.255.68:&lt;br /&gt;
    BOOTP/DHCP, Reply, length 300&lt;br /&gt;
&lt;br /&gt;
== Resolution ==&lt;br /&gt;
&lt;br /&gt;
It is not obvious at all, but bridges (though they have their own ebtables filters) do also call iptables FORWARD chain when forwarding packets between interfaces.&lt;br /&gt;
Thus your FORWARD iptables rules should allow all the packets which are supposed to go through.&lt;br /&gt;
&lt;br /&gt;
in our case eyck had a default DROP policy on FORWARD and had to add:&lt;br /&gt;
  iptables -A FORWARD -d 255.255.255.255 -j ACCEPT&lt;br /&gt;
to fix the issue.&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
Many credits to Dariush Pietrzak, who patiently helped to debug this.&lt;br /&gt;
&lt;br /&gt;
[[Category:Troubleshooting]]&lt;br /&gt;
[[Category:Networking]]&lt;/div&gt;</summary>
		<author><name>Fayette</name></author>
		
	</entry>
</feed>