I am looking for a way to get ESXi cluster capacity utilization.
My use case is to upgrade VM CPU/RAM + also disk addition. First I want to look at ESXi cluster used capacity and how much is left to be allocated.
I have few other tools which can help, and those tools have API as well. I use VROPS and also VMTurbo to suggest left capacity to be used.
How is anyone else dealing this? and would there be ansible way of doing this?
Hello
I don’t think that Ansible is the tool you need for that.
All VMware modules in Ansible are here to provision / modify VMs andthe infrastructure.
You won’t get any metrics (for CPU / RAM / disk utilization) through them.
You can use Ansible to launch Powercli scripts tha
Sorry…
Bad move, sent the message to early
I don’t think that Ansible is the tool you need for that.
All VMware modules in Ansible are here to provision / modify VMs andthe infrastructure.
You won’t get any metrics (for CPU / RAM / disk utilization) through them.
You can use Ansible to launch Powercli scripts with Ansible that can get the infos. (Now, with Powercli offcially supported and working on Linux, this is really easy)
If you can work with the output of those scripts (still trying to do it properly on my side), you may be able to launch your tasks.
Or use the vROPs API to get the metrics (very good idea there because the results will be more easy to use) then launch your tasks