<div dir="ltr"><div><div><div><div>Hi,<br><br></div>It look interesting.<br></div>Would you please point me some document that cover in detail ?<br><br></div><div>I was looking for mechanism where I can monitor guest application.<br></div><div>If application get failed or crash then I need to restart or start other VM.<br></div><div>Is it possible in ovirt ? <br></div><div>I though I will use hook but as you explain it clear me that my understand was wrong.<br></div><div>Thanks for your help.<br></div><div><br></div>Thanks,<br></div>~Rohit<br><div><div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 2, 2017 at 1:04 PM, Vinzenz Feenstra <span dir="ltr"><<a href="mailto:vfeenstr@redhat.com" target="_blank">vfeenstr@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
> On Dec 30, 2016, at 11:03 AM, TranceWorldLogic . <<a href="mailto:tranceworldlogic@gmail.com">tranceworldlogic@gmail.com</a>> wrote:<br>
><br>
> HI,<br>
<br>
Hi there,<br>
<span class=""><br>
><br>
> I was exploring more about ovirt-gueste-engin.<br>
> It look to me very easy to configure add add hook as script.<br>
><br>
> But my doubt is, how to invoke those script from ovirt-engine ?<br>
> Please some one help me to understand this part.<br>
> I am looking into python SDK code to figure out same but still not got luck<br>
<br>
</span>Guest agent hooks aren’t triggered through the SDK, hooks are triggered when certain events happen on the hypervisor side.<br>
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<br>
agent asking it to process all hooks.<br>
<br>
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.<br>
HTH<br>
<br>
<br>
><br>
> Thanks,<br>
> ~Rohit<br>
> ______________________________<wbr>_________________<br>
> Users mailing list<br>
> <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
> <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
<br>
</blockquote></div><br></div>