Man/vzeventd.8

From OpenVZ Virtuozzo Containers Wiki
< Man
Revision as of 18:22, 23 April 2015 by Botinki Kira (talk | contribs) (Automated import of articles *** existing text overwritten ***)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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 an event name and a container ID.

For every known event, the event script /usr/libexec/vzctl/scripts/vzevent-event_name is executed, with container ID being passed to the script as VEID environment variable. Not-existent events scripts are ignored. All unknown events are ignored but logged.
The following events are recognized:

• start
• stop
• mount
• umount
• reboot

The following event scripts are provided:
vzevent-stop

Takes care of removing ARP and routing records for the given CT from CT0.

vzevent-reboot

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-2015, 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).