NAME
ctid.conf − configuration file for an OpenVZ container.
SYNOPSIS
/etc/vz/conf/CTID.conf
DESCRIPTION
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
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
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
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
vzctl(8), vzcfgvalidate(8), vz.conf(5), http://wiki.openvz.org/UBC.
LICENSE
Copyright (C) 2001-2010, Parallels, Inc. Licensed under GNU GPL.