2,253
edits
Changes
Automated import of articles
== NAME ==
<p style="margin-left:11%; margin-top: 1em">vzeventd
− the OpenVZ events daemon.</p>
== SYNOPSIS ==
<p style="margin-left:11%; margin-top: 1em">vzeventd
[<b>-v</b>] [<b>-d</b>] <br>
vzeventd <b>-h</b></p>
== OPTIONS ==
<table width="100%" border="0" rules="none" frame="void"
cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">
<p style="margin-top: 1em"><b>-v</b></p></td>
<td width="3%"></td>
<td width="75%">
<p style="margin-top: 1em">Increase verbosity (can be used
multiple times).</p></td>
<td width="8%">
</td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">
<p><b>-d</b></p></td>
<td width="3%"></td>
<td width="75%">
<p>Debug mode (do not daemonize, run in foreground).</p></td>
<td width="8%">
</td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">
<p><b>-h</b></p></td>
<td width="3%"></td>
<td width="75%">
<p>Display help and exit.</p></td>
<td width="8%">
</td></tr>
</table>
== DESCRIPTION ==
<p style="margin-left:11%; margin-top: 1em">This daemon
takes care of events sent by the OpenVZ kernel (via netlink
socket) and performs required actions associated with those
events, by running specific scripts. Every event received
contains a container ID, which is passed to the script as
<b>VEID</b> environment variable.</p>
<p style="margin-left:11%; margin-top: 1em">Current list of
known events and associated <b>vzeventd</b> actions are:
<b><br>
start</b></p>
<p style="margin-left:17%;">Ignore.</p>
<p style="margin-left:11%;"><b>stop</b></p>
<p style="margin-left:17%;">Run
/usr/lib/vzctl/scripts/vzevent-stop. This script takes care
of removing ARP and routing records for the given CT from
CT0.</p>
<p style="margin-left:11%;"><b>mount</b></p>
<p style="margin-left:17%;">Ignore.</p>
<p style="margin-left:11%;"><b>umount</b></p>
<p style="margin-left:17%;">Ignore.</p>
<p style="margin-left:11%;"><b>reboot</b></p>
<p style="margin-left:17%;">Run
/usr/lib/vzctl/scripts/vzevent-reboot. This script takes
care of rebooting a given CT.</p>
== RETURN CODE ==
<p style="margin-left:11%; margin-top: 1em">Returns 0 upon
success.</p>
== LICENSE ==
<p style="margin-left:11%; margin-top: 1em">Copyright (C)
2010, Parallels, Inc. Licensed under GNU GPL.</p>
== AUTHOR ==
<p style="margin-left:11%; margin-top: 1em">This manual
page was written by Thorsten Schifferdecker
<tsd@debian.systs.org> for the <b>Debian GNU/Linux</b>
system (but may be used by others).</p>
<p style="margin-left:11%; margin-top: 1em">vzeventd
− the OpenVZ events daemon.</p>
== SYNOPSIS ==
<p style="margin-left:11%; margin-top: 1em">vzeventd
[<b>-v</b>] [<b>-d</b>] <br>
vzeventd <b>-h</b></p>
== OPTIONS ==
<table width="100%" border="0" rules="none" frame="void"
cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">
<p style="margin-top: 1em"><b>-v</b></p></td>
<td width="3%"></td>
<td width="75%">
<p style="margin-top: 1em">Increase verbosity (can be used
multiple times).</p></td>
<td width="8%">
</td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">
<p><b>-d</b></p></td>
<td width="3%"></td>
<td width="75%">
<p>Debug mode (do not daemonize, run in foreground).</p></td>
<td width="8%">
</td></tr>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="3%">
<p><b>-h</b></p></td>
<td width="3%"></td>
<td width="75%">
<p>Display help and exit.</p></td>
<td width="8%">
</td></tr>
</table>
== DESCRIPTION ==
<p style="margin-left:11%; margin-top: 1em">This daemon
takes care of events sent by the OpenVZ kernel (via netlink
socket) and performs required actions associated with those
events, by running specific scripts. Every event received
contains a container ID, which is passed to the script as
<b>VEID</b> environment variable.</p>
<p style="margin-left:11%; margin-top: 1em">Current list of
known events and associated <b>vzeventd</b> actions are:
<b><br>
start</b></p>
<p style="margin-left:17%;">Ignore.</p>
<p style="margin-left:11%;"><b>stop</b></p>
<p style="margin-left:17%;">Run
/usr/lib/vzctl/scripts/vzevent-stop. This script takes care
of removing ARP and routing records for the given CT from
CT0.</p>
<p style="margin-left:11%;"><b>mount</b></p>
<p style="margin-left:17%;">Ignore.</p>
<p style="margin-left:11%;"><b>umount</b></p>
<p style="margin-left:17%;">Ignore.</p>
<p style="margin-left:11%;"><b>reboot</b></p>
<p style="margin-left:17%;">Run
/usr/lib/vzctl/scripts/vzevent-reboot. This script takes
care of rebooting a given CT.</p>
== RETURN CODE ==
<p style="margin-left:11%; margin-top: 1em">Returns 0 upon
success.</p>
== LICENSE ==
<p style="margin-left:11%; margin-top: 1em">Copyright (C)
2010, Parallels, Inc. Licensed under GNU GPL.</p>
== AUTHOR ==
<p style="margin-left:11%; margin-top: 1em">This manual
page was written by Thorsten Schifferdecker
<tsd@debian.systs.org> for the <b>Debian GNU/Linux</b>
system (but may be used by others).</p>