Bug 1425314 - [Docs][RFE][VMM] Document support for hooks in the guest agent
Summary: [Docs][RFE][VMM] Document support for hooks in the guest agent
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: Documentation
Version: 4.0.0
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ovirt-4.1.6
: ---
Assignee: Avital Pinnick
QA Contact: Tahlia Richardson
URL:
Whiteboard:
Depends On: 1287544 1298120
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-02-21 07:44 UTC by Lucy Bopf
Modified: 2019-05-07 12:56 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-13 05:10:25 UTC
oVirt Team: Docs
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Lucy Bopf 2017-02-21 07:44:51 UTC
With this update, the ability to trigger activity inside of a virtual guest during live migration has been added. Examples of events that can be used as a trigger are before migration, after migration, before hibernation, or after hibernation. 

The hooks configuration base directory is located in the /etc/ovirt-guest-agent/hooks.d directory on Linux systems and in Red Hat Virtualization Agent directory on Windows systems. Each event has a corresponding subdirectory and all files or symlinks in that directory will be executed. The executing user on Linux systems is 'ovirtagent'. If the script needs root permissions, the elevation must be executed by the creator of the hook script. The executing user on Windows systems is the System Service user.

This functionality should be called out in the documentation.

Comment 1 Lucy Bopf 2017-08-11 06:59:12 UTC
Assigning to Avital for review.


Note You need to log in before you can comment on or make changes to this bug.