Hello,

I believe the best way would be to use ansible with the ovirt ansible
modules i.e.
https://docs.ansible.com/ansible/latest/modules/ovirt_vm_module.html#ovirt-vm-module
--
you can do it with a simple task like:

- name: Stop vm
  ovirt_vm:
    state: stopped
    name: myvm

you could also use "virsh" on the command line to stop VMs but I'd
stick with using ansible personally.


On Mon, Jan 27, 2020 at 10:41 AM <uran...@gmail.com> wrote:

> Hello Experts.
>
> In version  3.5.2.1-1.el6, we used an "ovirt-shell -E action..." command
> to start/stop virtual machines from command line. In version 4.3.7.2-1.el7
> ovirt-shell is deprecated. Please advise how to start/stop them from
> command line. vdsm-client provides only destroy/shutdown/reset/cont,
> nothing about startvm or poweron.
>
> Regards.
> _______________________________________________
> 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/QRNBIPH42NYX7VY7YBXO235R2HKQOCRH/
>
_______________________________________________
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/72ODAYQUBD26HOOGOYN7Q6DTPKV2V2JW/

Reply via email to