Changes

Jump to: navigation, search

Man/vzctl.8

4,703 bytes added, 22:16, 3 June 2011
Automated import of articles *** existing text overwritten ***
== SYNOPSIS ==
<table width="100%" border="0" rules="none" frame="void" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="11%"></td><td width="7%"> <p style="margin-lefttop:111em"><b>vzctl</b></p></td><td width="2%"></td><td width="80%; "> <p style="margin-top: 1em">vzctl[<i>flags</i>] <b>create</b> <i>CTID</i>[<b>--ostemplate&nbsp;</b> <i>name</i>] [<b>--config&nbsp;</b><i>name</i>][<b>--root&nbsp;</b><i>namepath</i>] [<b>--private&nbsp;</b> <i>path</i>][<b>--ipadd&nbsp;</b><i>addr</i>][<b>--hostname&nbsp;</b><i>name</i>]</p> </td></tr><tr valign="top" align="left"><td width="11%"></td><td width="7%"> <p><b>vzctl</b></p></td><td width="2%"></td><td width="80%"> <p>[<i>flags</i>] <b>start</b> <i>CTID</i> [<b>--wait</b>][<b>--force</b>]</p> </td></tr><tr valign="top" align="left"><td width="11%"></td><td width="7%"> <p><b>vzctl</b></p></td><td width="2%"></td><td width="80%"> <p>[<i>flags</i>] <b>stop</b> <i>CTID</i>[<b>--fast</b>]</p> </td></tr><tr valign="top" align="left"><td width="11%"></td><td width="7%"> <p><b>vzctl</b></p></td><td width="2%"></td><td width="80%"> <p>[<i>flags</i>] <b>restart</b> <i>CTID</i>[<b>--wait</b>] [<b>--force</b>] [<b>--fast</b>]</p></td></tr><tr valign="top" align="left"><td width="11%"></td><td width="7%"> <p><b>vzctl</b></p></td><td width="2%"></td><td width="80%"> <p>[<i>flags</i>] <b>chkpnt</b> | <b>restore</b>[<b>--dumpfile&nbsp;</b><i>name</i>]</p> </td></tr><tr valign="top" align="left"><td width="11%"></td><td width="7%"> <p><b>vzctl</b></p></td><td width="2%"></td><td width="80%"> <p>[<i>flags</i>] <b>set</b> <i>CTID</i> [<b>--save</b>][<b>--setmode&nbsp;restart</b>|<b>ignore</b>][<b>--onboot&nbsp;yes</b>|<b>no</b>][<b>--bootorder&nbsp;</b><i>number</i>][<b>--root&nbsp;</b><i>path</i>][<b>--private&nbsp;</b><i>path</i>] [<b>--userpasswd&nbsp;</b><i>user</i>:<i>pass</i>][<b>--disabled&nbsp;yes</b>|<b>no</b>][<b>--name&nbsp;</b><i>name</i>][<b>--description&nbsp;</b><i>string</i>][<b>--ipadd&nbsp;</b><i>addr</i>][<b>--ipdel&nbsp;</b> <i>addr</i>|<b>all</b>] [<b>--hostname&nbsp;</b><i>name</i>][<b>--nameserver&nbsp;</b><i>addr</i>][<b>--searchdomain&nbsp;</b><i>name</i>][<b>--netif_add&nbsp;</b><i>dev</i>[,<i>params</i>...]][<b>--netif_del&nbsp;</b><i>dev</i>] [<b>--ifname</b><i>dev</i> [<b>--mac&nbsp;</b><i>hwaddr</i>][<b>--host_ifname&nbsp;</b><i>dev</i>][<b>--host_mac&nbsp;</b><i>hwaddr</i>][<b>--bridge&nbsp;</b><i>name</i>][<b>--mac_filter&nbsp;on</b>|<b>off</b>]][<b>--numproc&nbsp;</b><i>items</i>][<b>--numtcpsock&nbsp;</b><i>items</i>][<b>--numothersock&nbsp;</b><i>items</i>][<b>--vmguarpages&nbsp;</b><i>pages</i>][<b>--kmemsize&nbsp;</b><i>bytes</i>][<b>--tcpsndbuf&nbsp;</b><i>bytes</i>][<b>--tcprcvbuf&nbsp;</b><i>bytes</i>][<b>--othersockbuf&nbsp;</b><i>bytes</i>][<b>--dgramrcvbuf&nbsp;</b><i>bytes</i>][<b>--oomguarpages&nbsp;</b><i>pages</i>][<b>--lockedpages&nbsp;</b><i>pages</i>][<b>--privvmpages&nbsp;</b><i>pages</i>][<b>--shmpages&nbsp;</b><i>pages</i>][<b>--numfile&nbsp;</b><i>items</i>][<b>--numflock&nbsp;</b><i>items</i>][<b>--numpty&nbsp;</b><i>items</i>][<b>--numsiginfo&nbsp;</b><i>items</i>][<b>--dcachesize&nbsp;</b><i>bytes</i>][<b>--numiptent&nbsp;</b><i>num</i>][<b>--physpages&nbsp;</b><i>pages</i>][<b>--swappages&nbsp;</b><i>pages</i>][<b>--cpuunits&nbsp;</b><i>num</i>][<b>--cpulimit&nbsp;</b><i>num</i>][<b>--cpus&nbsp;</b><i>num</i>][<b>--cpumask&nbsp;</b><i>cpus</i>|<b>all</b>][<b>--meminfo&nbsp;none</b>|<i>mode</i>:<i>value</i>][<b>--iptables&nbsp;</b><i>name</i>][<b>--netdev_add&nbsp;</b><i>ifname</i>][<b>--netdev_del&nbsp;</b><i>ifname</i>][<b>--diskquota&nbsp;yes</b>|<b>no</b>][<b>--diskspace&nbsp;</b><i>num</i>][<b>--diskinodes&nbsp;</b><i>num</i>][<b>--quotatime&nbsp;</b><i>seconds</i>][<b>--quotaugidlimit&nbsp;</b><i>num</i>][<b>--noatime&nbsp;yes</b>|<b>no</b>][<b>--capability&nbsp;</b><i>capname</i>:<b>on</b>|<b>off</b>][<b>--devnodes&nbsp;</b><i>param</i>][<b>--devices&nbsp;</b><i>param</i>][<b>--pci_add&nbsp;</b><i>dev</i>][<b>--pci_del&nbsp;</b><i>dev</i>][<b>--features&nbsp;</b><i>param</i>:<b>on</b>|<b>off</b>][<b>--applyconfig&nbsp;</b><i>name</i>][<b>--applyconfig_map&nbsp;</b><i>group</i>][<b>--ioprio&nbsp;</b><i>num</i>]</p> </td></tr><tr valign="top" align="left"><td width="11%"></td><td width="7%"> <p><b>vzctl</b></p></td><td width="2%"></td><td width="80%"> <p>[<i>flags</i>] <b>destroy</b> | <b>delete</b> |<b>mount</b> | <b>umount</b> | <b>status</b> |<b>quotaon</b> | <b>quotaoff</b> | <b>quotainit</b><i>CTID</i></p> </td></tr><tr valign="top" align="left"><td width="11%"></td><td width="7%"> <p><b>vzctl</b></p></td><td width="2%"></td><td width="80%"> <p>[<i>flags</i>] <b>exec</b> | <b>exec2</b> <i>CTIDcommand</i> [<i>arg</i> ...]</p></td></tr><tr valign="top" align="left"><td width="11%"></td><td width="7%">
<p style="margin-left:11%; margin-top: 1em">vzctl[<ib>flagsvzctl</i>] <b>set</bp> <i>CTID parameters</itd>[<btd width="2%">--save</btd>]</ptd width="80%">
<p style="margin-left:11%; margin-top: 1em">vzctl[<i>flags</i>] <b>destroyenter</b> | <bi>mountCTID</b> | <b>umount</bi>| [<b>start--exec&nbsp;</b> | <bi>stopcommand&nbsp;</bi> | [<bi>restartarg&nbsp;</bi> |<b>status...]]</bp> | <b>quotaon</btd> | <b>quotaoff</btr> |<btr valign="top" align="left">quotainit</b> <itd width="11%">CTID</itd></ptd width="7%">
<p style="margin-left:11%; margin-top: 1em">vzctl[<ib>flagsvzctl</i>] <b>exec</b> | <bp>exec2</b> <itd>CTIDcommand</i> [<itd width="2%">arg</itd> ...]</ptd width="80%">
<p style="margin-left:11%; margin-top: 1em">vzctl[<i>flags</i>] <b>enterrunscript</b> <i>CTIDscript</i> [<b/p>--exec</btd><i/tr>command</itr valign="top" align="left"> [<itd width="11%">arg</itd> ...]]</ptd width="7%">
<p style="margin-left:11%; margin-top: 1em">vzctl[<ib>flagsvzctl</ib>] <b/p>runscript</btd> <itd width="2%">CTID script</itd></ptd width="80%">
<p style="margin-left:11%; margin-top: 1em">vzctl<b>--help</b> | <b>--version</b></p></td></tr></table>
== DESCRIPTION ==
<p style="margin-left:17%;">Sets the path to root directory
(<b>VE_ROOT</b>) for this container. This is essentially a mount point forcontainer&rsquo;s root directory. Argument can containliteral string <b>$VEID</b>, which will be substituted withthe numeric CT ID. Changing </p> <p style="margin-left:11%;"><b>--private</b><i>path</i></p> <p style="margin-left:17%;">Sets the path to privatedirectory (<b>VE_PRIVATE</b>) for this parameter container. This is notadirectory in which all the container&rsquo;s files arerecommended, better edit [[Man/vzstored.conf.5|Argument can contain literal string <b>vz.conf$VEID</b>(5)]] global,configuration filewhich will be substituted with the numeric CT ID.</p>
<p style="margin-left:11%;"><b>--userpasswd</b>
SCRIPTS</b> below).</p>
<p style="margin-left:11%;"><b>restart</b>[<b>--wait</b>][<b>--force</b>] [<b>--fast</b>]</p>
<p style="margin-left:17%;">Restarts a container, i.e.
[[Man/vzifup-post.8|<b>vzifup-post</b>(8)]], [[Man/vzlist.8|<b>vzlist</b>(8)]],
[[Man/vzmemcheck.8|<b>vzmemcheck</b>(8)]], [[Man/vzmigrate.8|<b>vzmigrate</b>(8)]], [[Man/vzpid.8|<b>vzpid</b>(8)]],
[[Man/vzquota.8|<b>vzquota</b>(8)]], [[Man/vzsplit.8|<b>vzsplit</b>(8)]], [[Man/vzubc.8|<b>vzubc</b>(8)]],
<b>[[UBC]]</b>.</p>
2,253
edits

Navigation menu