Difference between revisions of "Man/vzeventd.8"
Botinki Kira (talk | contribs) (Automated import of articles *** existing text overwritten ***) |
Botinki Kira (talk | contribs) (Automated import of articles *** existing text overwritten ***) |
||
Line 6: | Line 6: | ||
== SYNOPSIS == | == SYNOPSIS == | ||
− | <p style="margin- | + | <table width="100%" border="0" rules="none" frame="void" |
− | [<b> | + | cellspacing="0" cellpadding="0"> |
− | vzeventd <b>-h</b></p> | + | <tr valign="top" align="left"> |
+ | <td width="11%"></td> | ||
+ | <td width="12%"> | ||
+ | |||
+ | <p style="margin-top: 1em"><b>vzeventd</b></p></td> | ||
+ | <td width="2%"></td> | ||
+ | <td width="13%"> | ||
+ | |||
+ | <p style="margin-top: 1em">[<b>−v</b>] | ||
+ | [<b>−d</b>]</p> </td> | ||
+ | <td width="62%"> | ||
+ | </td></tr> | ||
+ | <tr valign="top" align="left"> | ||
+ | <td width="11%"></td> | ||
+ | <td width="12%"> | ||
+ | |||
+ | <p style="margin-top: 1em"><b>vzeventd</b></p></td> | ||
+ | <td width="2%"></td> | ||
+ | <td width="13%"> | ||
+ | |||
+ | <p style="margin-top: 1em"><b>−h</b></p></td> | ||
+ | <td width="62%"> | ||
+ | </td></tr> | ||
+ | </table> | ||
+ | |||
+ | == DESCRIPTION == | ||
+ | |||
+ | <p style="margin-left:11%; margin-top: 1em">This daemon | ||
+ | takes care of events sent by the OpenVZ kernel (via a | ||
+ | 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:</p> | ||
+ | |||
+ | <table width="100%" border="0" rules="none" frame="void" | ||
+ | cellspacing="0" cellpadding="0"> | ||
+ | <tr valign="top" align="left"> | ||
+ | <td width="11%"></td> | ||
+ | <td width="9%"> | ||
+ | |||
+ | <p><b>start</b></p></td> | ||
+ | <td width="2%"></td> | ||
+ | <td width="78%"> | ||
+ | |||
+ | <p>Ignore.</p></td></tr> | ||
+ | <tr valign="top" align="left"> | ||
+ | <td width="11%"></td> | ||
+ | <td width="9%"> | ||
+ | |||
+ | <p><b>stop</b></p></td> | ||
+ | <td width="2%"></td> | ||
+ | <td width="78%"> | ||
+ | |||
+ | <p>Run /usr/lib/vzctl/scripts/vzevent-stop. This script | ||
+ | takes care of removing ARP and routing records for the given | ||
+ | CT from CT0.</p></td></tr> | ||
+ | <tr valign="top" align="left"> | ||
+ | <td width="11%"></td> | ||
+ | <td width="9%"> | ||
+ | |||
+ | <p><b>mount</b></p></td> | ||
+ | <td width="2%"></td> | ||
+ | <td width="78%"> | ||
+ | |||
+ | <p>Ignore.</p></td></tr> | ||
+ | <tr valign="top" align="left"> | ||
+ | <td width="11%"></td> | ||
+ | <td width="9%"> | ||
+ | |||
+ | <p><b>umount</b></p></td> | ||
+ | <td width="2%"></td> | ||
+ | <td width="78%"> | ||
+ | |||
+ | <p>Ignore.</p></td></tr> | ||
+ | <tr valign="top" align="left"> | ||
+ | <td width="11%"></td> | ||
+ | <td width="9%"> | ||
+ | |||
+ | <p><b>reboot</b></p></td> | ||
+ | <td width="2%"></td> | ||
+ | <td width="78%"> | ||
+ | |||
+ | <p>Run /usr/lib/vzctl/scripts/vzevent-reboot. This script | ||
+ | takes care of rebooting a given CT.</p></td></tr> | ||
+ | </table> | ||
== OPTIONS == | == OPTIONS == | ||
Line 18: | Line 105: | ||
<td width="3%"> | <td width="3%"> | ||
− | <p style="margin-top: 1em"><b> | + | <p style="margin-top: 1em"><b>−v</b></p></td> |
− | <td width=" | + | <td width="8%"></td> |
<td width="75%"> | <td width="75%"> | ||
<p style="margin-top: 1em">Increase verbosity (can be used | <p style="margin-top: 1em">Increase verbosity (can be used | ||
multiple times).</p></td> | multiple times).</p></td> | ||
− | <td width=" | + | <td width="3%"> |
</td></tr> | </td></tr> | ||
<tr valign="top" align="left"> | <tr valign="top" align="left"> | ||
Line 30: | Line 117: | ||
<td width="3%"> | <td width="3%"> | ||
− | <p><b> | + | <p><b>−d</b></p></td> |
− | <td width=" | + | <td width="8%"></td> |
<td width="75%"> | <td width="75%"> | ||
<p>Debug mode (do not daemonize, run in foreground).</p></td> | <p>Debug mode (do not daemonize, run in foreground).</p></td> | ||
− | <td width=" | + | <td width="3%"> |
</td></tr> | </td></tr> | ||
<tr valign="top" align="left"> | <tr valign="top" align="left"> | ||
Line 42: | Line 129: | ||
<p><b>-h</b></p></td> | <p><b>-h</b></p></td> | ||
− | <td width=" | + | <td width="8%"></td> |
<td width="75%"> | <td width="75%"> | ||
<p>Display help and exit.</p></td> | <p>Display help and exit.</p></td> | ||
− | <td width=" | + | <td width="3%"> |
</td></tr> | </td></tr> | ||
</table> | </table> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== EXIT STATUS == | == EXIT STATUS == | ||
Line 95: | Line 145: | ||
<p style="margin-left:11%; margin-top: 1em">Copyright (C) | <p style="margin-left:11%; margin-top: 1em">Copyright (C) | ||
− | 2010, Parallels, Inc. Licensed under GNU GPL.</p> | + | 2010-2011, Parallels, Inc. Licensed under GNU GPL.</p> |
== AUTHOR == | == AUTHOR == | ||
<p style="margin-left:11%; margin-top: 1em">This manual | <p style="margin-left:11%; margin-top: 1em">This manual | ||
− | page was written by Thorsten Schifferdecker | + | page was initially written by Thorsten Schifferdecker |
<tsd@debian.systs.org> for the <b>Debian GNU/Linux</b> | <tsd@debian.systs.org> for the <b>Debian GNU/Linux</b> | ||
system (but may be used by others).</p> | system (but may be used by others).</p> |
Revision as of 13:12, 11 July 2011
NAME
vzeventd − the OpenVZ events daemon.
SYNOPSIS
vzeventd |
[−v] [−d] |
|||
vzeventd |
−h |
DESCRIPTION
This daemon takes care of events sent by the OpenVZ kernel (via a 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 VEID environment variable.
Current list of known events and associated vzeventd actions are:
start |
Ignore. | ||
stop |
Run /usr/lib/vzctl/scripts/vzevent-stop. This script takes care of removing ARP and routing records for the given CT from CT0. | ||
mount |
Ignore. | ||
umount |
Ignore. | ||
reboot |
Run /usr/lib/vzctl/scripts/vzevent-reboot. This script takes care of rebooting a given CT. |
OPTIONS
−v |
Increase verbosity (can be used multiple times). |
|||
−d |
Debug mode (do not daemonize, run in foreground). |
|||
-h |
Display help and exit. |
EXIT STATUS
Returns 0 upon success.
LICENSE
Copyright (C) 2010-2011, Parallels, Inc. Licensed under GNU GPL.
AUTHOR
This manual page was initially written by Thorsten Schifferdecker <tsd@debian.systs.org> for the Debian GNU/Linux system (but may be used by others).