Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Man/ctid.conf.5

8,353 bytes added, 21:19, 29 May 2011
beta version of man2wiki man page (work in progress!)
== NAME ==

<p style="margin-left:11%; margin-top: 1em"><i>ctid</i>.conf
&minus; configuration file for an OpenVZ container.</p>

== SYNOPSIS ==

<p style="margin-left:11%; margin-top: 1em"><b>/etc/vz/conf/</b><i>CTID</i><b>.conf</b></p>

== DESCRIPTION ==

<p style="margin-left:11%; margin-top: 1em">This is a
configuration file for a container. It is stored as
<b>/etc/vz/conf/</b><i>CTID</i><b>.conf</b>, where
<i>CTID</i> is the numeric ID of the given container.</p>

<p style="margin-left:11%; margin-top: 1em">Configuration
file consists of lines in the form</p>

<p style="margin-left:11%; margin-top: 1em"><b>PARAMETER</b>=&quot;<i>value</i>&quot;</p>

<p style="margin-left:11%; margin-top: 1em">All parameter
names and values are case-sensitive. Quotes surrounding a
<i>value</i> are required if value contains spaces, and are
optional otherwise. Extra spaces are not allowed. All
unrecognized lines will be ignored.</p>

<p style="margin-left:11%; margin-top: 1em">The meaning of
most parameters are described in [[Man/vzctl.8|<b>vzctl</b>(8)]], so here
only the appropriate <b>vzctl set</b> option names are
given.</p>

=== Miscellaneous parameters ===

<p style="margin-left:11%;"><b>NAME</b>=&quot;<i>vename</i>&quot;</p>

<p style="margin-left:22%;">Corresponds to the
<b>--name</b> option.</p>

<p style="margin-left:11%;"><b>DESCRIPTION</b>=&quot;<i>string</i>&quot;</p>

<p style="margin-left:22%;">Corresponds to the
<b>--description</b> option.</p>

<p style="margin-left:11%;"><b>ONBOOT</b>=&quot;<b>yes</b>|<b>no</b>&quot;</p>

<p style="margin-left:22%;">Specifies whether this
container will be started during system boot. Default is
<b>no</b>, meaning the container will not be started if
<b>ONBOOT</b> parameter is omitted. Corresponds to the
<b>--onboot</b> option.</p>

<p style="margin-left:11%;"><b>BOOTORDER</b>=&quot;<i>number</i>&quot;</p>

<p style="margin-left:22%;">Specifies the CT boot order
priority. Corresponds to the <b>--bootorder</b> option.</p>

<p style="margin-left:11%;"><b>OSTEMPLATE</b>=&quot;<i>tmpl_name</i>&quot;</p>

<p style="margin-left:22%;">Corresponds to the
<b>--ostemplate</b> option.</p>

<p style="margin-left:11%;"><b>VE_ROOT</b>=&quot;<i>directory</i>&quot;</p>

<p style="margin-left:22%;">Corresponds to the
<b>--root</b> option.</p>

<p style="margin-left:11%;"><b>VE_PRIVATE</b>=&quot;<i>directory</i>&quot;</p>

<p style="margin-left:22%;">Corresponds to the
<b>--private</b> option.</p>

<p style="margin-left:11%;"><b>DISABLED</b>=&quot;<b>yes</b>|<b>no</b>&quot;</p>

<p style="margin-left:22%;">Corresponds to the
<b>--disabled</b> option.</p>

<p style="margin-left:11%;"><b>ORIGIN_SAMPLE</b>=&quot;<i>name</i>&quot;</p>

<p style="margin-left:22%;">Name of container sample
configuration which the container is based on.</p>

<p style="margin-left:11%;"><b>CONFIG_CUSTOMIZED</b>=&quot;<b>yes</b>|<b>no</b>&quot;</p>

<p style="margin-left:22%;">Set to <b>yes</b> if the
container configuration was modified.</p>

=== Resource management parameters ===

<p style="margin-left:11%;"><b>NUMPROC</b></p>

<p style="margin-left:22%;">Corresponds to the
<b>--numproc</b> option.</p>

<p style="margin-left:11%;"><b>NUMFILE</b></p>

<p style="margin-left:22%;">Corresponds to the
<b>--numfile</b> option.</p>

<p style="margin-left:11%;"><b>NUMFLOCK</b></p>

<p style="margin-left:22%;">Corresponds to the
<b>--numflock</b> option.</p>

<table width="100%" border="0" rules="none" frame="void"
cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="11%"></td>
<td width="9%">

<p><b>NUMPTY</b></p></td>
<td width="2%"></td>
<td width="53%">

<p>Corresponds to the <b>--numpty</b> option.</p></td>
<td width="25%">
</td></tr>
</table>

<p style="margin-left:11%;"><b>NUMSIGINFO</b></p>

<p style="margin-left:22%;">Corresponds to the
<b>--numsiginfo</b> option.</p>

<p style="margin-left:11%;"><b>NUMTCPSOCK</b></p>

<p style="margin-left:22%;">Corresponds to the
<b>--numtcpsock</b> option.</p>

<p style="margin-left:11%;"><b>NUMOTHERSOCK</b></p>

<p style="margin-left:22%;">Corresponds to the
<b>--numothersock</b> option.</p>

<p style="margin-left:11%;"><b>PRIVVMPAGES</b></p>

<p style="margin-left:22%;">Corresponds to the
<b>--privvmpages</b> option.</p>

<p style="margin-left:11%;"><b>VMMGUARPAGES</b></p>

<p style="margin-left:22%;">Corresponds to the
<b>--vmguarpages</b> option.</p>

<p style="margin-left:11%;"><b>OOMGUARPAGES</b></p>

<p style="margin-left:22%;">Corresponds to the
<b>--oomguarpages</b> option.</p>

<p style="margin-left:11%;"><b>LOCKEDPAGES</b></p>

<p style="margin-left:22%;">Corresponds to the
<b>--lockedpages</b> option.</p>

<p style="margin-left:11%;"><b>SHMPAGES</b></p>

<p style="margin-left:22%;">Corresponds to the
<b>--shmpages</b> option.</p>

<p style="margin-left:11%;"><b>KMEMSIZE</b></p>

<p style="margin-left:22%;">Corresponds to the
<b>--kmemsize</b> option.</p>

<p style="margin-left:11%;"><b>TCPSNDBUF</b></p>

<p style="margin-left:22%;">Corresponds to the
<b>--tcpsndbuf</b> option.</p>

<p style="margin-left:11%;"><b>TCPRCVBUF</b></p>

<p style="margin-left:22%;">Corresponds to the
<b>--tcprcvbuf</b> option.</p>

<p style="margin-left:11%;"><b>OTHERSOCKBUF</b></p>

<p style="margin-left:22%;">Corresponds to the
<b>--othersockbuf</b> option.</p>

<p style="margin-left:11%;"><b>DGRAMRCVBUF</b></p>

<p style="margin-left:22%;">Corresponds to the
<b>--dgramrcvbuf</b> option.</p>

<p style="margin-left:11%;"><b>DCACHESIZE</b></p>

<p style="margin-left:22%;">Corresponds to the
<b>--dcachesize</b> option.</p>

<p style="margin-left:11%;"><b>NUMIPTENT</b></p>

<p style="margin-left:22%;">Corresponds to the
<b>--numiptent</b> option.</p>

<p style="margin-left:11%;"><b>CPUUNITS</b></p>

<p style="margin-left:22%;">Corresponds to the
<b>--cpuunits</b> option.</p>

<p style="margin-left:11%;"><b>DISK_QUOTA</b>=&quot;<b>yes</b>|<b>no</b>&quot;</p>

<p style="margin-left:22%;">Corresponds to the
<b>--diskquota</b> option. If this is set to <b>no</b>, disk
quota is not set up for this CT.</p>

<p style="margin-left:11%;"><b>DISKSPACE</b>=&quot;<i>softlimit</i>[:<i>hardlimit</i>]&quot;</p>

<p style="margin-left:22%;">Corresponds to the
<b>--diskspace</b> option.</p>

<p style="margin-left:11%;"><b>DISKINODES</b>=&quot;<i>softlimit</i>[:<i>hardlimit</i>]&quot;</p>

<p style="margin-left:22%;">Corresponds to the
<b>--diskinodes</b> option.</p>

<p style="margin-left:11%;"><b>QUOTATIME</b>=&quot;<i>seconds</i>&quot;</p>

<p style="margin-left:22%;">Corresponds to the
<b>--quotatime</b> option.</p>

<p style="margin-left:11%;"><b>QUOTAUGIDLIMIT</b>=&quot;<i>num</i>&quot;</p>

<p style="margin-left:22%;">Corresponds to the
<b>--quotaugidlimit</b> option.</p>

<p style="margin-left:11%;"><b>NOATIME</b>=&quot;<b>yes</b>|<b>no</b>&quot;</p>

<p style="margin-left:22%;">Corresponds to the
<b>--noatime</b> option.</p>

<p style="margin-left:11%;"><b>CAPABILITY</b>=&quot;<i>capname</i>:<b>on</b>|<b>off&nbsp;</b>[...]&quot;</p>

<p style="margin-left:22%;">Corresponds to the
<b>--capability</b> option.</p>

=== Network related parameters ===

<p style="margin-left:11%;"><b>IP_ADDRESS</b>=&quot;<i>address&nbsp;</i>[<i>address&nbsp;</i>...]&quot;</p>

<p style="margin-left:22%;">Specifies the <i>address</i>
the container will be assigned. Several addresses are
divided by spaces. Corresponds to the <b>--ipadd</b>
option.</p>

<p style="margin-left:11%;"><b>HOSTNAME</b>=&quot;<i>name</i>&quot;</p>

<p style="margin-left:22%;">Corresponds to the
<b>--hostname</b> option.</p>

<p style="margin-left:11%;"><b>NAMESERVER</b>=&quot;<i>ip&nbsp;</i>[<i>ip&nbsp;</i>...]&quot;</p>

<p style="margin-left:22%;">Corresponds to the
<b>--nameserver</b> option. Several name server addresses
are divided by spaces.</p>

<p style="margin-left:11%;"><b>SEARCHDOMAIN</b>=&quot;<i>domain&nbsp;</i>[<i>domain&nbsp;</i>...]&quot;</p>

<p style="margin-left:22%;">Corresponds to the
<b>--searchdomain</b> option. Several search domains are
divided by spaces.</p>

== SEE ALSO ==

<p style="margin-left:11%; margin-top: 1em">[[Man/vzctl.8|<b>vzctl</b>(8)]],
[[Man/vzcfgvalidate.8|<b>vzcfgvalidate</b>(8)]], [[Man/vz.conf.5|<b>vz.conf</b>(5)]],
<b>[[UBC]]</b>.</p>

== LICENSE ==

<p style="margin-left:11%; margin-top: 1em">Copyright (C)
2001-2010, Parallels, Inc. Licensed under GNU GPL.</p>