
--Apple-Mail=_A044C52E-A4D1-4C7D-AE35-1DB2F8E0966B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8
On Jan 3, 2017, at 6:37 AM, TranceWorldLogic . = <tranceworldlogic@gmail.com> wrote: =20 Hi, =20 It look interesting. Would you please point me some document that cover in detail ? =20 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 ?=20
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.
On Dec 30, 2016, at 11:03 AM, TranceWorldLogic . = <tranceworldlogic@gmail.com <mailto:tranceworldlogic@gmail.com>> wrote:
HI, =20 Hi there, =20
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 =20 Guest agent hooks aren=E2=80=99t triggered through the SDK, hooks are =
Thanks for your help. =20 Thanks, ~Rohit =20 =20 On Mon, Jan 2, 2017 at 1:04 PM, Vinzenz Feenstra <vfeenstr@redhat.com = <mailto:vfeenstr@redhat.com>> wrote: =20 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. =20 That those hooks are enabled are depending on the migration policy = configured. Currently all but the =E2=80=98Legacy=E2=80=99 migration = policies do cause the hooks to be executed, given a new enough guest = agent, VDSM and cluster version. HTH =20 =20
Thanks, ~Rohit _______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users =
--Apple-Mail=_A044C52E-A4D1-4C7D-AE35-1DB2F8E0966B Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html = charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" = class=3D""><br class=3D""><div><blockquote type=3D"cite" class=3D""><div = class=3D"">On Jan 3, 2017, at 6:37 AM, TranceWorldLogic . <<a = href=3D"mailto:tranceworldlogic@gmail.com" = class=3D"">tranceworldlogic@gmail.com</a>> wrote:</div><br = class=3D"Apple-interchange-newline"><div class=3D""><div dir=3D"ltr" = class=3D""><div class=3D""><div class=3D""><div class=3D""><div = class=3D"">Hi,<br class=3D""><br class=3D""></div>It look = interesting.<br class=3D""></div>Would you please point me some document = that cover in detail ?<br class=3D""><br class=3D""></div><div = class=3D"">I was looking for mechanism where I can monitor guest = application.<br class=3D""></div><div class=3D"">If application get = failed or crash then I need to restart or start other VM.<br = class=3D""></div><div class=3D"">Is it possible in ovirt ? <br = class=3D""></div></div></div></div></blockquote><div><br = class=3D""></div><div>No, there is nothing like this in oVirt, you would = have to use something like zabbix and then connect it with the oVirt = SDK</div><br class=3D""><blockquote type=3D"cite" class=3D""><div = class=3D""><div dir=3D"ltr" class=3D""><div class=3D""><div class=3D"">I = though I will use hook but as you explain it clear me that my understand = was wrong.</div></div></div></div></blockquote><br class=3D""><blockquote = type=3D"cite" class=3D""><div class=3D""><div dir=3D"ltr" class=3D""><div = class=3D""><div class=3D"">Thanks for your help.<br class=3D""></div><div = class=3D""><br class=3D""></div>Thanks,<br class=3D""></div>~Rohit<br = class=3D""><div class=3D""><div class=3D""><div class=3D""><br = class=3D""></div></div></div></div><div class=3D"gmail_extra"><br = class=3D""><div class=3D"gmail_quote">On Mon, Jan 2, 2017 at 1:04 PM, = Vinzenz Feenstra <span dir=3D"ltr" class=3D""><<a = href=3D"mailto:vfeenstr@redhat.com" target=3D"_blank" = class=3D"">vfeenstr@redhat.com</a>></span> wrote:<br = class=3D""><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 = .8ex;border-left:1px #ccc solid;padding-left:1ex"><br class=3D""> > On Dec 30, 2016, at 11:03 AM, TranceWorldLogic . <<a = href=3D"mailto:tranceworldlogic@gmail.com" = class=3D"">tranceworldlogic@gmail.com</a>> wrote:<br class=3D""> ><br class=3D""> > HI,<br class=3D""> <br class=3D""> Hi there,<br class=3D""> <span class=3D""><br class=3D""> ><br class=3D""> > I was exploring more about ovirt-gueste-engin.<br class=3D""> > It look to me very easy to configure add add hook as script.<br = class=3D""> ><br class=3D""> > But my doubt is, how to invoke those script from ovirt-engine ?<br = class=3D""> > Please some one help me to understand this part.<br class=3D""> > I am looking into python SDK code to figure out same but still not = got luck<br class=3D""> <br class=3D""> </span>Guest agent hooks aren=E2=80=99t triggered through the SDK, hooks = are triggered when certain events happen on the hypervisor side.<br = class=3D""> 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 class=3D""> agent asking it to process all hooks.<br class=3D""> <br class=3D""> That those hooks are enabled are depending on the migration policy = configured. Currently all but the =E2=80=98Legacy=E2=80=99 = migration policies do cause the hooks to be executed, given a new enough = guest agent, VDSM and cluster version.<br class=3D""> HTH<br class=3D""> <br class=3D""> <br class=3D""> ><br class=3D""> > Thanks,<br class=3D""> > ~Rohit<br class=3D""> > ______________________________<wbr class=3D"">_________________<br = class=3D""> > Users mailing list<br class=3D""> > <a href=3D"mailto:Users@ovirt.org" class=3D"">Users@ovirt.org</a><br = class=3D""> > <a href=3D"http://lists.ovirt.org/mailman/listinfo/users" = rel=3D"noreferrer" target=3D"_blank" = class=3D"">http://lists.ovirt.org/<wbr = class=3D"">mailman/listinfo/users</a><br class=3D""> <br class=3D""> </blockquote></div><br class=3D""></div> </div></blockquote></div><br class=3D""></body></html>= --Apple-Mail=_A044C52E-A4D1-4C7D-AE35-1DB2F8E0966B--