Reference

vps.conf(5)

configuration file for a Virtual Environment.

NAME

vps.conf - configuration file for a Virtual Environment.

SYNOPSIS

/etc/vz/conf/XXX.conf

DESCRIPTION

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

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.

Please note that the file is created/modified by the vzctl(8) command with the set --save arguments, therefore changes to this file made otherwise than by vzctl(8) can be lost during the next vzctl run.

The meaning of each parameter is described in vzctl(8), so here only the appropriate vzctl set option is given.

Miscellaneous parameters

NAME="vename"

Corresponds to the --name option.

ONBOOT="yes|no"

Specifies whether this VE will be started during system bootup. Default is no, meaning VE will not be started if ONBOOT parameter is omitted. Corresponds to the --onboot 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.

DISABLED="yes|no"

Corresponds to the --disabled option.

ORIGIN_SAMPLE="name"

Name of VE sample config which the VE is based on.

CONFIG_CUSTOMIZED="yes|no"

Set to yes if the VE config was modified.

Resource management parameters

NUMPROC

Corresponds to the --numproc options.

NUMFILE

Corresponds to the --numfile options.

NUMFLOCK

Corresponds to the --numflock options.

NUMPTY

Corresponds to the --numpty options.

NUMSIGINFO

Corresponds to the --numsiginfo options.

NUMTCPSOCK

Corresponds to the --numtcpsock options.

NUMOTHERSOCK

Corresponds to the --numothersock options.

PRIVVMPAGES

Corresponds to the --privvmpages options.

VMMGUARPAGES

Corresponds to the --vmguarpages options.

OOMGUARPAGES

Corresponds to the --oomguarpages options.

LOCKEDPAGES

Corresponds to the --lockedpages options.

SHMPAGES

Corresponds to the --shmpages options.

KMEMSIZE

Corresponds to the --kmemsize options.

TCPSNDBUF

Corresponds to the --tcpsndbuf options.

TCPRCVBUF

Corresponds to the --tcprcvbuf options.

OTHERSOCKBUF

Corresponds to the --othersockbuf options.

DGRAMRCVBUF

Corresponds to the --dgramrcvbuf options.

DCACHESIZE

Corresponds to the --dcachesize options.

NUMIPTENT

Corresponds to the --numiptent options.

CPUUNITS

Corresponds to the --cpuunits option.

DISKSPACE="softlimit[:hardlimit]"

Corresponds to the --diskspace parameter.

DISKINODES="softlimit[:hardlimit]"

Corresponds to the --diskinodes parameter.

QUOTATIME="seconds"

Corresponds to the --quotatime parameter.

QUOTAUGIDLIMIT="num"

Corresponds to the --quotaugidlimit parameter.

NOATIME="yes|no"

Corresponds to the --noatime option.

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

Corresponds to the --capability option

Network related parameters

IP_ADDRESS="address [address]"

Specifies the address the VE 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.

SEARCHDOMAIN="domain [domain]"

Corresponds to the --searchdomain option. Several search domains are divided by spaces.

SEE ALSO

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

LICENSE

Copyright (C) 2001-2007 by SWsoft. Licensed under GNU GPL.

History