Editing Man/vz.conf.5
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
== NAME == | == NAME == | ||
− | <p style="margin-left: | + | <p style="margin-left:11%; margin-top: 1em">vz.conf − |
global OpenVZ configuration file</p> | global OpenVZ configuration file</p> | ||
== SYNOPSIS == | == SYNOPSIS == | ||
− | <p style="margin-left: | + | <p style="margin-left:11%; margin-top: 1em"><b>/etc/vz/vz.conf</b></p> |
== DESCRIPTION == | == DESCRIPTION == | ||
Line 49: | Line 49: | ||
<p style="margin-left:11%;"><b>LOGFILE</b>=<i>file</i></p> | <p style="margin-left:11%;"><b>LOGFILE</b>=<i>file</i></p> | ||
− | <p style="margin-left:22%;">Set location of log file.</p> | + | <p style="margin-left:22%;">Set location of log file, |
+ | default is /var/log/vzctl.log.</p> | ||
<p style="margin-left:11%;"><b>LOG_LEVEL</b>=<i>number</i></p> | <p style="margin-left:11%;"><b>LOG_LEVEL</b>=<i>number</i></p> | ||
Line 81: | Line 82: | ||
to be loaded by <b>vz</b> initscript before loading OpenVZ | to be loaded by <b>vz</b> initscript before loading OpenVZ | ||
modules (which is required for iptables to work inside | modules (which is required for iptables to work inside | ||
− | containers).</p> | + | containers). If not set, value of <b>IPTABLES</b> is |
+ | used.</p> | ||
<p style="margin-left:11%;"><b>VZFASTBOOT</b>=<b>yes</b>|<b>no</b></p> | <p style="margin-left:11%;"><b>VZFASTBOOT</b>=<b>yes</b>|<b>no</b></p> | ||
Line 93: | Line 95: | ||
initscript when restarts those containers with unclean quota | initscript when restarts those containers with unclean quota | ||
in a normal way (to recalculate/fix quotas).</p> | in a normal way (to recalculate/fix quotas).</p> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<p style="margin-left:11%;"><b>TEMPLATE</b>=<i>directory</i></p> | <p style="margin-left:11%;"><b>TEMPLATE</b>=<i>directory</i></p> | ||
Line 118: | Line 101: | ||
directory in which all container template data are | directory in which all container template data are | ||
stored.</p> | stored.</p> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=== Network interface parameters === | === Network interface parameters === | ||
Line 138: | Line 113: | ||
network device list.</p> | network device list.</p> | ||
− | <p style="margin-left:11%;"><b>NEIGHBOUR_DEVS</b>=" | + | <p style="margin-left:11%;"><b>NEIGHBOUR_DEVS</b>="<b>detect</b>"</p> |
<p style="margin-left:22%;">Controls on which interfaces to | <p style="margin-left:22%;">Controls on which interfaces to | ||
add/remove ARP records for a container IP, also which | add/remove ARP records for a container IP, also which | ||
− | interfaces to use to query/announce ARP. | + | interfaces to use to query/announce ARP. If this is set to |
− | + | <b>detect</b>, the right network interface (the one which is | |
− | + | in the same subnet as a CT IP) will be chosen automatically. | |
− | + | Any other value restores old (as of vzctl 3.0.19 or older) | |
− | + | behavior, when all the possible interfaces were used.</p> | |
− | |||
− | |||
− | |||
− | |||
− | <b>detect</b>, the right network interface ( | ||
− | which is in the same subnet as a | ||
− | chosen automatically. | ||
− | |||
− | |||
− | |||
− | interfaces | ||
<p style="margin-left:11%;"><b>ERROR_ON_ARPFAIL</b>=<b>yes</b>|<b>no</b></p> | <p style="margin-left:11%;"><b>ERROR_ON_ARPFAIL</b>=<b>yes</b>|<b>no</b></p> | ||
Line 163: | Line 127: | ||
<p style="margin-left:22%;">In case the value of this | <p style="margin-left:22%;">In case the value of this | ||
parameter is set to <b>yes</b>, vzctl will fail to start a | parameter is set to <b>yes</b>, vzctl will fail to start a | ||
− | container if there is another host with the same IP | + | container if there is another host with the same IP in the |
− | in the | + | subnet. The value of <b>no</b> makes vzctl to only print the |
− | + | warning.</p> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | only | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=== Defaults for containers === | === Defaults for containers === | ||
Line 244: | Line 158: | ||
the actual numeric CT ID.</p> | the actual numeric CT ID.</p> | ||
− | <p style="margin-left:11%;"><b> | + | <p style="margin-left:11%;"><b>CONFIGFILE</b>=<i>name</i></p> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | <p style="margin-left:22%;">Default | + | <p style="margin-left:22%;">Default configuration file for |
− | + | <b>create</b> action, corresponds to <b>--config</b> | |
− | + | option.</p> | |
− | |||
− | <p style="margin-left:11%;"><b> | + | <p style="margin-left:11%;"><b>IPTABLES</b>="<i>module module ...</i>"</p> |
− | <p style="margin-left:22%;"> | + | <p style="margin-left:22%;">List of iptables modules to be |
− | + | enabled for containers, corresponds to <b>--iptables</b> | |
− | + | option.</p> | |
− | |||
<p style="margin-left:11%; margin-top: 1em">Most of the | <p style="margin-left:11%; margin-top: 1em">Most of the |