<div dir="ltr">Hi,<div><br></div><div>global maintenance can be set using the 'maintenance' method on the Hosted Engine VM.</div><div><br></div><div><a href="http://ovirt.github.io/ovirt-engine-api-model/4.0/#services/vm/methods/maintenance" target="_blank">http://ovirt.github.io/ovirt-e<wbr>ngine-api-model/4.0/#services/<wbr>vm/methods/maintenance</a><br></div><div><br></div><div>Regards,</div><div>Andrej</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 13 February 2017 at 21:17, Doug Ingham <span dir="ltr"><<a href="mailto:dougti@gmail.com" target="_blank">dougti@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hey Guys,<br></div> I've gone through both oVirt's & Red Hat's API docs, but I can only find info on getting the global maintenance state & setting local maintenance on specific hosts.<br></div><br>Is it not possible to set global maintenance via the API?<br><br></div>I'm writing up a new script for our engine-backup routine, but having to set GM by acessing a specific node seems a bit inelegant...<br><div><div><br><a href="https://access.redhat.com/documentation/en/red-hat-virtualization/4.0/single/rest-api-guide/" target="_blank">https://access.redhat.com/<wbr>documentation/en/red-hat-<wbr>virtualization/4.0/single/<wbr>rest-api-guide/</a><br clear="all"><div><div><br></div><div>Cheers,<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div>-- <br><div class="m_-1606023795841679101gmail_signature">Doug</div>
</div></font></span></div></div></div></div>
<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>