<?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=GlauberCosta</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=GlauberCosta"/>
	<link rel="alternate" type="text/html" href="https://wiki.openvz.org/Special:Contributions/GlauberCosta"/>
	<updated>2026-05-14T18:46:58Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Vzctl_for_upstream_kernel&amp;diff=12813</id>
		<title>Vzctl for upstream kernel</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Vzctl_for_upstream_kernel&amp;diff=12813"/>
		<updated>2012-08-10T14:11:50Z</updated>

		<summary type="html">&lt;p&gt;GlauberCosta: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Warning| Running vzctl on upstream kernels is considered an experimental feature. }}&lt;br /&gt;
&lt;br /&gt;
With this release vzctl tool is expected to run with Upstream Linux kernels. At the moment, it provides just basic functionality&lt;br /&gt;
It is currently possible to create and start a container with the same steps as one would use for a normal OpenVZ container. Other functionality may be present with limited functionality, while some are not present at all.&lt;br /&gt;
&lt;br /&gt;
* The commands quotaon, convert, console, enter, exec and runscript are not expected to work. Checkpoint restore is also not possible, but upstream  support for that is progressing very fast (See http://criu.org for details).&lt;br /&gt;
&lt;br /&gt;
* Networking is available through the switches --netdev_add, --netif_add, and their respective deletion counterparts. IP mode networking (--ipadd / --ipdel) is currently not supported.&lt;br /&gt;
&lt;br /&gt;
* Stopping a container once one is logged in is possible, in case the underlying kernel supports rebooting a PID namespace (&amp;gt; 3.4). Using vzctl, the &amp;quot;stop&amp;quot; command is not supported, unless accompanied by the --fast switch, which will simply forceably kill all processes in the container.&lt;br /&gt;
&lt;br /&gt;
* Software that depend on information supplied by the proc filesystem may not work correctly, since there is not a full solution for full /proc virtualization. For instance, /proc/stat is not yet virtualized, and top will show distorted values.&lt;br /&gt;
&lt;br /&gt;
* Setting resources like --physpages and --cpuunits work, but there their effect is dependent on what the current kernel supports, through the cgroups subsystem. When a particular cgroup file is present, it will be used. Currently, vzctl will search for the following files:&lt;br /&gt;
** cpu.cfs_quota_us&lt;br /&gt;
** cpu.shares&lt;br /&gt;
** cpuset.cpus&lt;br /&gt;
** memory.limit_in_bytes&lt;br /&gt;
** memory.memsw.limit_in_bytes&amp;quot;&lt;br /&gt;
** memory.kmem.limit_in_bytes&amp;quot;&lt;br /&gt;
** memory.kmem.tcp.limit_in_bytes&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Building and using ==&lt;br /&gt;
&lt;br /&gt;
Upstream support will not be enable by default. To build it into vzctl, one needs to specify the &amp;quot;--with-cgroup&amp;quot; switch to configure:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  $ ./configure --with-cgroup&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
plus, of course, any other relevant options. Minimum versions for depencies is:&lt;br /&gt;
&lt;br /&gt;
* iproute2 &amp;gt;= 3.0.0 (runtime only)&lt;br /&gt;
* libcg &amp;gt;= 0.38&lt;br /&gt;
&lt;br /&gt;
For supported features, usage is expected to be the same as standard vzctl tool.&lt;/div&gt;</summary>
		<author><name>GlauberCosta</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Vzctl_for_upstream_kernel&amp;diff=12812</id>
		<title>Vzctl for upstream kernel</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Vzctl_for_upstream_kernel&amp;diff=12812"/>
		<updated>2012-08-10T14:04:12Z</updated>

		<summary type="html">&lt;p&gt;GlauberCosta: initial description for upstream kernel vzctl&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;With this release vzctl tool is expected to run with Upstream Linux kernels. At the moment, it provides just basic functionality&lt;br /&gt;
It is currently possible to create and start a container with the same steps as one would use for a normal OpenVZ container. Other functionality may be present with limited functionality, while some are not present at all.&lt;br /&gt;
&lt;br /&gt;
* The commands quotaon, convert, console, enter, exec and runscript are not expected to work. Checkpoint restore is also not possible, but upstream  support for that is progressing very fast (See http://criu.org for details).&lt;br /&gt;
&lt;br /&gt;
* Networking is available through the switches --netdev_add, --netif_add, and their respective deletion counterparts. IP mode networking (--ipadd / --ipdel) is currently not supported.&lt;br /&gt;
&lt;br /&gt;
* Stopping a container once one is logged in is possible, in case the underlying kernel supports rebooting a PID namespace (&amp;gt; 3.4). Using vzctl, the &amp;quot;stop&amp;quot; command is not supported, unless accompanied by the --fast switch, which will simply forceably kill all processes in the container.&lt;br /&gt;
&lt;br /&gt;
* Software that depend on information supplied by the proc filesystem may not work correctly, since there is not a full solution for full /proc virtualization. For instance, /proc/stat is not yet virtualized, and top will show distorted values.&lt;br /&gt;
&lt;br /&gt;
* Setting resources like --physpages and --cpuunits work, but there their effect is dependent on what the current kernel supports, through the cgroups subsystem. When a particular cgroup file is present, it will be used. Currently, vzctl will search for the following files:&lt;br /&gt;
** cpu.cfs_quota_us&lt;br /&gt;
** cpu.shares&lt;br /&gt;
** cpuset.cpus&lt;br /&gt;
** memory.limit_in_bytes&lt;br /&gt;
** memory.memsw.limit_in_bytes&amp;quot;&lt;br /&gt;
** memory.kmem.limit_in_bytes&amp;quot;&lt;br /&gt;
** memory.kmem.tcp.limit_in_bytes&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Building and using ==&lt;br /&gt;
&lt;br /&gt;
Upstream support will not be enable by default. To build it into vzctl, one needs to specify the &amp;quot;--with-cgroup&amp;quot; switch to configure:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  $ ./configure --with-cgroup&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
plus, of course, any other relevant options. Minimum versions for depencies is:&lt;br /&gt;
&lt;br /&gt;
* iproute2 &amp;gt;= 3.0.0 (runtime only)&lt;br /&gt;
* libcg &amp;gt;= 0.38&lt;br /&gt;
&lt;br /&gt;
For supported features, usage is expected to be the same as standard vzctl tool.&lt;/div&gt;</summary>
		<author><name>GlauberCosta</name></author>
		
	</entry>
</feed>