oVirt CLI tool for automation tasks
We recently migrated from VMware to oVirt. I am looking for any CLI tool well suited for my automation tasks like VM create, clone, migrate 100s of Virtual machines in oVirt cluster. with VMware I was using govc (vSphere CLI built on top of govmomi). Another option I read is powercli, quite unsure if it works with oVirt. Any suggestions would be highly appreciated. Thanks!
Le mercredi 19 juin 2024 à 14:21 +0000, munnadawood@gmail.com a écrit :
We recently migrated from VMware to oVirt. I am looking for any CLI tool well suited for my automation tasks like VM create, clone, migrate 100s of Virtual machines in oVirt cluster. with VMware I was using govc (vSphere CLI built on top of govmomi). Another option I read is powercli, quite unsure if it works with oVirt. Any suggestions would be highly appreciated.
Hello, welcome to the ovirt community, You can follow multiple ways to automate your tasks with the restful API or derivated python/ruby/java SDK and ansible. For my own part, I created a full automated environment based on the ovirt.ovirt collection https://docs.ansible.com/ansible/latest/collections/ovirt/ovirt/index.html You can easily create functional playbooks in a second, a lot of pratical and useful examples are provided for each modules (included importing vms). It works like a charm since many years. Otherwise, If you want to massively import vms from vmware, you can use the embedded UI import tool, it is straigthforward. Good luck
Thanks! _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/5D4T7U5BVMO4S5...
-- Nathanaël Blanchet Administrateur Systèmes et Réseaux Service Informatique et REseau (SIRE) Département des systèmes d'information 227 avenue Professeur-Jean-Louis-Viala 34193 MONTPELLIER CEDEX 5 Tél. 33 (0)4 67 54 84 55 Fax 33 (0)4 67 54 84 14 blanchet@abes.fr
A long time ago I created this https://github.com/fbacchella/ovirtcmd and still use it.
Le 19 juin 2024 à 16:21, munnadawood@gmail.com a écrit :
We recently migrated from VMware to oVirt. I am looking for any CLI tool well suited for my automation tasks like VM create, clone, migrate 100s of Virtual machines in oVirt cluster. with VMware I was using govc (vSphere CLI built on top of govmomi). Another option I read is powercli, quite unsure if it works with oVirt. Any suggestions would be highly appreciated.
Thanks! _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/5D4T7U5BVMO4S5...
Question to all: If there was a PowerShell module for oVirt, similar to PowerCli for VMware, how many would find that useful?
Just so someone answers and it's not just tumbleweeds 🙂 I wouldn't personally use it. Mostly I use ansible based automation to manage things. Thanks for thinking about it. ________________________________ From: itsavant@gmail.com <itsavant@gmail.com> Sent: Friday, 15 November 2024 2:00 AM To: users@ovirt.org <users@ovirt.org> Subject: [ovirt-users] Re: oVirt CLI tool for automation tasks Question to all: If there was a PowerShell module for oVirt, similar to PowerCli for VMware, how many would find that useful? _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/73Y34MVXOTMKCK...
Just covering my bases here, when this question was asked I was not at liberty to talk about a project I was working on when I was working for Oracle, because I needed to complete the activity required for public release. Since then I published on the Oracle Github Samples website PoSh-oVirt PS module. I no longer work for Oracle, but I have since created a PowerShell Gallery (something I was not authorized to do as an employee) to simplify distribution. To date I have been actively updating, debugging and improving it, for as long as I remain active using the product. There are a few functions I have not completed because I don't have test environment for things like Gluster, but it is the most comprehensive PS interface to oVirt (OLVM) available. https://www.powershellgallery.com/packages/PoSh-oVirt
participants (5)
-
Fabrice Bacchella -
Geoff O'Callaghan -
itsavant@gmail.com -
munnadawood@gmail.com -
Nathanaël Blanchet