On Thu, Nov 8, 2018 at 4:26 PM Andrei Verovski <andre...@starlett.lv> wrote:
>
> Hi !
>
> I have a shell script running on all servers which intercepts power off 
> signal (in case of power failure).
>
> Is it safe to use direct KVM “virsh” commands to force guest shutdown on 
> oVirt nodes, bypassing oVirt engine ?
>
> “shutdown now” directly on oVirt nodes v4.2.6 takes an enormous amount of 
> time because for whatever reason guests can’t be suspended. My nodes 
> installed on CentOS 7.5, I’m not using pre-packaged version because each 
> consecutive upgrade simply wipes out all my mods.

Hello,

did you evaluated shutting down vms via ansible or ovirt sdk?

https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/stop_vm.py

https://docs.ansible.com/ansible/2.7/modules/ovirt_vm_module.html#examples

Luca


-- 
"E' assurdo impiegare gli uomini di intelligenza eccellente per fare
calcoli che potrebbero essere affidati a chiunque se si usassero delle
macchine"
Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)

"Internet è la più grande biblioteca del mondo.
Ma il problema è che i libri sono tutti sparsi sul pavimento"
John Allen Paulos, Matematico (1945-vivente)

Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , <lorenzetto.l...@gmail.com>
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/K42TPNRNYCAFE4MNZM4ZESXL24MZC5PP/

Reply via email to