[ovirt-users] How to invoke ovirt-guest-agent hook from ovirt engine SDK ?
Vinzenz Feenstra
vfeenstr at redhat.com
Wed Jan 4 07:42:23 UTC 2017
> On Jan 3, 2017, at 6:37 AM, TranceWorldLogic . <tranceworldlogic at gmail.com> wrote:
>
> Hi,
>
> It look interesting.
> Would you please point me some document that cover in detail ?
>
> I was looking for mechanism where I can monitor guest application.
> If application get failed or crash then I need to restart or start other VM.
> Is it possible in ovirt ?
No, there is nothing like this in oVirt, you would have to use something like zabbix and then connect it with the oVirt SDK
> I though I will use hook but as you explain it clear me that my understand was wrong.
> Thanks for your help.
>
> Thanks,
> ~Rohit
>
>
> On Mon, Jan 2, 2017 at 1:04 PM, Vinzenz Feenstra <vfeenstr at redhat.com <mailto:vfeenstr at redhat.com>> wrote:
>
> > On Dec 30, 2016, at 11:03 AM, TranceWorldLogic . <tranceworldlogic at gmail.com <mailto:tranceworldlogic at gmail.com>> wrote:
> >
> > HI,
>
> Hi there,
>
> >
> > I was exploring more about ovirt-gueste-engin.
> > It look to me very easy to configure add add hook as script.
> >
> > But my doubt is, how to invoke those script from ovirt-engine ?
> > Please some one help me to understand this part.
> > I am looking into python SDK code to figure out same but still not got luck
>
> Guest agent hooks aren’t triggered through the SDK, hooks are triggered when certain events happen on the hypervisor side.
> e.g. A VM gets migrated from HOST A to HOST B or the VM gets suspended. In these cases VDSM _can_ send a message to the guest
> agent asking it to process all hooks.
>
> That those hooks are enabled are depending on the migration policy configured. Currently all but the ‘Legacy’ migration policies do cause the hooks to be executed, given a new enough guest agent, VDSM and cluster version.
> HTH
>
>
> >
> > Thanks,
> > ~Rohit
> > _______________________________________________
> > Users mailing list
> > Users at ovirt.org <mailto:Users at ovirt.org>
> > http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170104/28860f46/attachment.html>
More information about the Users
mailing list