Difference between revisions of "Man/ctid.conf.5"
Botinki Kira (talk | contribs) (Automated import of articles *** existing text overwritten ***) |
Botinki Kira (talk | contribs) (Automated import of articles *** existing text overwritten ***) |
||
(5 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 | + | container will be started during system boot. Corresponds to |
− | + | the <b>--onboot</b> option.</p> | |
− | |||
− | <b>--onboot</b> option.</p> | ||
<p style="margin-left:11%;"><b>BOOTORDER</b>="<i>number</i>"</p> | <p style="margin-left:11%;"><b>BOOTORDER</b>="<i>number</i>"</p> | ||
Line 85: | 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>="<i>number</i>"</p> | ||
+ | |||
+ | <p style="margin-left:22%;">Corresponds to the | ||
+ | <b>--stop-timeout</b> option.</p> | ||
=== Resource management parameters === | === Resource management parameters === | ||
Line 202: | Line 205: | ||
<p style="margin-left:22%;">Corresponds to the | <p style="margin-left:22%;">Corresponds to the | ||
<b>--swappages</b> or <b>--swap</b> option.</p> | <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 233: | 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>CAPABILITY</b>="<i>capname</i>:<b>on</b>|<b>off </b>[...]"</p> | <p style="margin-left:11%;"><b>CAPABILITY</b>="<i>capname</i>:<b>on</b>|<b>off </b>[...]"</p> | ||
Line 262: | 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’s <b>/etc/resolv.conf</b> are used.</p> | ||
<p style="margin-left:11%;"><b>SEARCHDOMAIN</b>="<i>domain </i>[<i>domain </i>...]"</p> | <p style="margin-left:11%;"><b>SEARCHDOMAIN</b>="<i>domain </i>[<i>domain </i>...]"</p> | ||
Line 268: | 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’s <b>/etc/resolv.conf</b> are used.</p> | ||
== SEE ALSO == | == SEE ALSO == |
Latest revision as of 01:40, 30 October 2013
Contents
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.
[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.