Difference between revisions of "Man/ctid.conf.5"

From OpenVZ Virtuozzo Containers Wiki
< Man
Jump to: navigation, search
(Miscellaneous parameters: rm CONFIG_CUSTOMIZED)
(Automated import of articles *** existing text overwritten ***)
 
(7 intermediate revisions by 2 users not shown)
Line 46: Line 46:
  
 
<p style="margin-left:22%;">Specifies whether this
 
<p style="margin-left:22%;">Specifies whether this
container will be started during system boot. Default is
+
container will be started during system boot. Corresponds to
<b>no</b>, meaning the container will not be started if
+
the <b>--onboot</b> option.</p>
<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:11%;"><b>BOOTORDER</b>=&quot;<i>number</i>&quot;</p>
Line 70: Line 68:
 
<p style="margin-left:22%;">Corresponds to the
 
<p style="margin-left:22%;">Corresponds to the
 
<b>--private</b> option.</p>
 
<b>--private</b> option.</p>
 +
 +
<p style="margin-left:11%;"><b>MOUNT_OPTS</b>=&quot;<i>option</i>[,<i>option</i>...]&quot;</p>
 +
 +
<p style="margin-left:22%;">Corresponds to
 +
<b>--mount_opts</b> option.</p>
  
 
<p style="margin-left:11%;"><b>DISABLED</b>=&quot;<b>yes</b>|<b>no</b>&quot;</p>
 
<p style="margin-left:11%;"><b>DISABLED</b>=&quot;<b>yes</b>|<b>no</b>&quot;</p>
Line 80: Line 83:
 
<p style="margin-left:22%;">Name of container sample
 
<p style="margin-left:22%;">Name of container sample
 
configuration which the container is based on.</p>
 
configuration which the container is based on.</p>
 +
 +
<p style="margin-left:11%;"><b>STOP_TIMEOUT</b>=&quot;<i>number</i>&quot;</p>
 +
 +
<p style="margin-left:22%;">Corresponds to the
 +
<b>--stop-timeout</b> option.</p>
  
 
=== Resource management parameters ===
 
=== Resource management parameters ===
Line 187: Line 195:
 
<p style="margin-left:22%;">Corresponds to the
 
<p style="margin-left:22%;">Corresponds to the
 
<b>--numiptent</b> option.</p>
 
<b>--numiptent</b> option.</p>
 +
 +
<p style="margin-left:11%;"><b>PHYSPAGES</b></p>
 +
 +
<p style="margin-left:22%;">Corresponds to the
 +
<b>--physpages</b> or <b>--ram</b> option.</p>
 +
 +
<p style="margin-left:11%;"><b>SWAPPAGES</b></p>
 +
 +
<p style="margin-left:22%;">Corresponds to the
 +
<b>--swappages</b> or <b>--swap</b> option.</p>
 +
 +
<p style="margin-left:11%;"><b>VM_OVERCOMMIT</b></p>
 +
 +
<p style="margin-left:22%;">Corresponds to the
 +
<b>--vm_overcommit</b> option.</p>
  
 
<p style="margin-left:11%;"><b>CPUUNITS</b></p>
 
<p style="margin-left:11%;"><b>CPUUNITS</b></p>
Line 218: Line 241:
 
<p style="margin-left:22%;">Corresponds to the
 
<p style="margin-left:22%;">Corresponds to the
 
<b>--quotaugidlimit</b> option.</p>
 
<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:11%;"><b>CAPABILITY</b>=&quot;<i>capname</i>:<b>on</b>|<b>off&nbsp;</b>[...]&quot;</p>
Line 247: Line 265:
 
<p style="margin-left:22%;">Corresponds to the
 
<p style="margin-left:22%;">Corresponds to the
 
<b>--nameserver</b> option. Several name server addresses
 
<b>--nameserver</b> option. Several name server addresses
are divided by spaces.</p>
+
are divided by spaces. If set to <b>inherit</b>, values from
 +
host system&rsquo;s <b>/etc/resolv.conf</b> are used.</p>
  
 
<p style="margin-left:11%;"><b>SEARCHDOMAIN</b>=&quot;<i>domain&nbsp;</i>[<i>domain&nbsp;</i>...]&quot;</p>
 
<p style="margin-left:11%;"><b>SEARCHDOMAIN</b>=&quot;<i>domain&nbsp;</i>[<i>domain&nbsp;</i>...]&quot;</p>
Line 253: Line 272:
 
<p style="margin-left:22%;">Corresponds to the
 
<p style="margin-left:22%;">Corresponds to the
 
<b>--searchdomain</b> option. Several search domains are
 
<b>--searchdomain</b> option. Several search domains are
divided by spaces.</p>
+
divided by spaces. If set to <b>inherit</b>, values from
 +
host system&rsquo;s <b>/etc/resolv.conf</b> are used.</p>
  
 
== SEE ALSO ==
 
== SEE ALSO ==

Latest revision as of 01:40, 30 October 2013

NAME[edit]

ctid.conf − configuration file for an OpenVZ container.

SYNOPSIS[edit]

/etc/vz/conf/CTID.conf

DESCRIPTION[edit]

This is a configuration file for a container. It is stored as /etc/vz/conf/CTID.conf, where CTID is the numeric ID of the given container.

Configuration file consists of lines in the form

PARAMETER="value"

All parameter names and values are case-sensitive. Quotes surrounding a value are required if value contains spaces, and are optional otherwise. Extra spaces are not allowed. All unrecognized lines will be ignored.

The meaning of most parameters are described in vzctl(8), so here only the appropriate vzctl set option names are given.

Miscellaneous parameters[edit]

NAME="vename"

Corresponds to the --name option.

DESCRIPTION="string"

Corresponds to the --description option.

ONBOOT="yes|no"

Specifies whether this container will be started during system boot. Corresponds to the --onboot option.

BOOTORDER="number"

Specifies the CT boot order priority. Corresponds to the --bootorder option.

OSTEMPLATE="tmpl_name"

Corresponds to the --ostemplate option.

VE_ROOT="directory"

Corresponds to the --root option.

VE_PRIVATE="directory"

Corresponds to the --private option.

MOUNT_OPTS="option[,option...]"

Corresponds to --mount_opts option.

DISABLED="yes|no"

Corresponds to the --disabled option.

ORIGIN_SAMPLE="name"

Name of container sample configuration which the container is based on.

STOP_TIMEOUT="number"

Corresponds to the --stop-timeout option.

Resource management parameters[edit]

NUMPROC

Corresponds to the --numproc option.

NUMFILE

Corresponds to the --numfile option.

NUMFLOCK

Corresponds to the --numflock option.

NUMPTY

Corresponds to the --numpty option.

NUMSIGINFO

Corresponds to the --numsiginfo option.

NUMTCPSOCK

Corresponds to the --numtcpsock option.

NUMOTHERSOCK

Corresponds to the --numothersock option.

PRIVVMPAGES

Corresponds to the --privvmpages option.

VMMGUARPAGES

Corresponds to the --vmguarpages option.

OOMGUARPAGES

Corresponds to the --oomguarpages option.

LOCKEDPAGES

Corresponds to the --lockedpages option.

SHMPAGES

Corresponds to the --shmpages option.

KMEMSIZE

Corresponds to the --kmemsize option.

TCPSNDBUF

Corresponds to the --tcpsndbuf option.

TCPRCVBUF

Corresponds to the --tcprcvbuf option.

OTHERSOCKBUF

Corresponds to the --othersockbuf option.

DGRAMRCVBUF

Corresponds to the --dgramrcvbuf option.

DCACHESIZE

Corresponds to the --dcachesize option.

NUMIPTENT

Corresponds to the --numiptent option.

PHYSPAGES

Corresponds to the --physpages or --ram option.

SWAPPAGES

Corresponds to the --swappages or --swap option.

VM_OVERCOMMIT

Corresponds to the --vm_overcommit option.

CPUUNITS

Corresponds to the --cpuunits option.

DISK_QUOTA="yes|no"

Corresponds to the --diskquota option. If this is set to no, disk quota is not set up for this CT.

DISKSPACE="softlimit[:hardlimit]"

Corresponds to the --diskspace option.

DISKINODES="softlimit[:hardlimit]"

Corresponds to the --diskinodes option.

QUOTATIME="seconds"

Corresponds to the --quotatime option.

QUOTAUGIDLIMIT="num"

Corresponds to the --quotaugidlimit option.

CAPABILITY="capname:on|off [...]"

Corresponds to the --capability option.

Network related parameters[edit]

IP_ADDRESS="address [address ...]"

Specifies the address the container will be assigned. Several addresses are divided by spaces. Corresponds to the --ipadd option.

HOSTNAME="name"

Corresponds to the --hostname option.

NAMESERVER="ip [ip ...]"

Corresponds to the --nameserver option. Several name server addresses are divided by spaces. If set to inherit, values from host system’s /etc/resolv.conf are used.

SEARCHDOMAIN="domain [domain ...]"

Corresponds to the --searchdomain option. Several search domains are divided by spaces. If set to inherit, values from host system’s /etc/resolv.conf are used.

SEE ALSO[edit]

vzctl(8), vzcfgvalidate(8), vz.conf(5), UBC.

LICENSE[edit]

Copyright (C) 2001-2010, Parallels, Inc. Licensed under GNU GPL.