6,534
edits
Changes
beta version of man2wiki man page (work in progress!)
== NAME ==
<p style="margin-left:11%; margin-top: 1em"><i>ctid</i>.conf
− 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>="<i>value</i>"</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>="<i>vename</i>"</p>
<p style="margin-left:22%;">Corresponds to the
<b>--name</b> option.</p>
<p style="margin-left:11%;"><b>DESCRIPTION</b>="<i>string</i>"</p>
<p style="margin-left:22%;">Corresponds to the
<b>--description</b> option.</p>
<p style="margin-left:11%;"><b>ONBOOT</b>="<b>yes</b>|<b>no</b>"</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>="<i>number</i>"</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>="<i>tmpl_name</i>"</p>
<p style="margin-left:22%;">Corresponds to the
<b>--ostemplate</b> option.</p>
<p style="margin-left:11%;"><b>VE_ROOT</b>="<i>directory</i>"</p>
<p style="margin-left:22%;">Corresponds to the
<b>--root</b> option.</p>
<p style="margin-left:11%;"><b>VE_PRIVATE</b>="<i>directory</i>"</p>
<p style="margin-left:22%;">Corresponds to the
<b>--private</b> option.</p>
<p style="margin-left:11%;"><b>DISABLED</b>="<b>yes</b>|<b>no</b>"</p>
<p style="margin-left:22%;">Corresponds to the
<b>--disabled</b> option.</p>
<p style="margin-left:11%;"><b>ORIGIN_SAMPLE</b>="<i>name</i>"</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>="<b>yes</b>|<b>no</b>"</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>="<b>yes</b>|<b>no</b>"</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>="<i>softlimit</i>[:<i>hardlimit</i>]"</p>
<p style="margin-left:22%;">Corresponds to the
<b>--diskspace</b> option.</p>
<p style="margin-left:11%;"><b>DISKINODES</b>="<i>softlimit</i>[:<i>hardlimit</i>]"</p>
<p style="margin-left:22%;">Corresponds to the
<b>--diskinodes</b> option.</p>
<p style="margin-left:11%;"><b>QUOTATIME</b>="<i>seconds</i>"</p>
<p style="margin-left:22%;">Corresponds to the
<b>--quotatime</b> option.</p>
<p style="margin-left:11%;"><b>QUOTAUGIDLIMIT</b>="<i>num</i>"</p>
<p style="margin-left:22%;">Corresponds to the
<b>--quotaugidlimit</b> option.</p>
<p style="margin-left:11%;"><b>NOATIME</b>="<b>yes</b>|<b>no</b>"</p>
<p style="margin-left:22%;">Corresponds to the
<b>--noatime</b> option.</p>
<p style="margin-left:11%;"><b>CAPABILITY</b>="<i>capname</i>:<b>on</b>|<b>off </b>[...]"</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>="<i>address </i>[<i>address </i>...]"</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>="<i>name</i>"</p>
<p style="margin-left:22%;">Corresponds to the
<b>--hostname</b> option.</p>
<p style="margin-left:11%;"><b>NAMESERVER</b>="<i>ip </i>[<i>ip </i>...]"</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>="<i>domain </i>[<i>domain </i>...]"</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>
<p style="margin-left:11%; margin-top: 1em"><i>ctid</i>.conf
− 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>="<i>value</i>"</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>="<i>vename</i>"</p>
<p style="margin-left:22%;">Corresponds to the
<b>--name</b> option.</p>
<p style="margin-left:11%;"><b>DESCRIPTION</b>="<i>string</i>"</p>
<p style="margin-left:22%;">Corresponds to the
<b>--description</b> option.</p>
<p style="margin-left:11%;"><b>ONBOOT</b>="<b>yes</b>|<b>no</b>"</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>="<i>number</i>"</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>="<i>tmpl_name</i>"</p>
<p style="margin-left:22%;">Corresponds to the
<b>--ostemplate</b> option.</p>
<p style="margin-left:11%;"><b>VE_ROOT</b>="<i>directory</i>"</p>
<p style="margin-left:22%;">Corresponds to the
<b>--root</b> option.</p>
<p style="margin-left:11%;"><b>VE_PRIVATE</b>="<i>directory</i>"</p>
<p style="margin-left:22%;">Corresponds to the
<b>--private</b> option.</p>
<p style="margin-left:11%;"><b>DISABLED</b>="<b>yes</b>|<b>no</b>"</p>
<p style="margin-left:22%;">Corresponds to the
<b>--disabled</b> option.</p>
<p style="margin-left:11%;"><b>ORIGIN_SAMPLE</b>="<i>name</i>"</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>="<b>yes</b>|<b>no</b>"</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>="<b>yes</b>|<b>no</b>"</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>="<i>softlimit</i>[:<i>hardlimit</i>]"</p>
<p style="margin-left:22%;">Corresponds to the
<b>--diskspace</b> option.</p>
<p style="margin-left:11%;"><b>DISKINODES</b>="<i>softlimit</i>[:<i>hardlimit</i>]"</p>
<p style="margin-left:22%;">Corresponds to the
<b>--diskinodes</b> option.</p>
<p style="margin-left:11%;"><b>QUOTATIME</b>="<i>seconds</i>"</p>
<p style="margin-left:22%;">Corresponds to the
<b>--quotatime</b> option.</p>
<p style="margin-left:11%;"><b>QUOTAUGIDLIMIT</b>="<i>num</i>"</p>
<p style="margin-left:22%;">Corresponds to the
<b>--quotaugidlimit</b> option.</p>
<p style="margin-left:11%;"><b>NOATIME</b>="<b>yes</b>|<b>no</b>"</p>
<p style="margin-left:22%;">Corresponds to the
<b>--noatime</b> option.</p>
<p style="margin-left:11%;"><b>CAPABILITY</b>="<i>capname</i>:<b>on</b>|<b>off </b>[...]"</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>="<i>address </i>[<i>address </i>...]"</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>="<i>name</i>"</p>
<p style="margin-left:22%;">Corresponds to the
<b>--hostname</b> option.</p>
<p style="margin-left:11%;"><b>NAMESERVER</b>="<i>ip </i>[<i>ip </i>...]"</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>="<i>domain </i>[<i>domain </i>...]"</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>