Editing Man/vzeventd.8
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 6: | Line 6: | ||
== SYNOPSIS == | == SYNOPSIS == | ||
− | + | <p style="margin-left:11%; margin-top: 1em">vzeventd | |
− | + | [<b>-v</b>] [<b>-d</b>] <br> | |
− | + | vzeventd <b>-h</b></p> | |
− | |||
− | |||
− | |||
− | <p style="margin- | ||
− | |||
− | |||
− | |||
− | |||
− | [<b> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== OPTIONS == | == OPTIONS == | ||
Line 76: | Line 18: | ||
<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="3%"></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="8%"> |
</td></tr> | </td></tr> | ||
<tr valign="top" align="left"> | <tr valign="top" align="left"> | ||
Line 88: | Line 30: | ||
<td width="3%"> | <td width="3%"> | ||
− | <p><b> | + | <p><b>-d</b></p></td> |
− | <td width=" | + | <td width="3%"></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="8%"> |
</td></tr> | </td></tr> | ||
<tr valign="top" align="left"> | <tr valign="top" align="left"> | ||
Line 100: | Line 42: | ||
<p><b>-h</b></p></td> | <p><b>-h</b></p></td> | ||
− | <td width=" | + | <td width="3%"></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="8%"> |
</td></tr> | </td></tr> | ||
</table> | </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 | <p style="margin-left:11%; margin-top: 1em">Returns 0 upon | ||
Line 116: | Line 95: | ||
<p style="margin-left:11%; margin-top: 1em">Copyright (C) | <p style="margin-left:11%; margin-top: 1em">Copyright (C) | ||
− | 2010 | + | 2010, 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 | + | page was 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> |