Even more power comes out of VMware vRealize Operations when enabling the vRealize Operations Python Adapter, adding additional intelligent monitoring and action capabilities. To do this, execute the following steps:
- Select ‘Solutions’
- Select ‘VMware vSphere’
- Select ‘vCenter Python Adapter’
- Add your vCenters, match what you configured under the ‘vCenter Adapter’ section above #3 in image1.
What does this do for me?
When viewing the default dashboard ‘Recommendations’ you might see something such as the following in your ‘Top Risk Alerts For Descendants’
Selecting the alert you will be presented with another dialog to dig into which object we should inspect:
After I select ‘View Details’ it will present me with the object details of the VM, ‘av_prov1’.
Without python adapters configured you will not see the ‘Set Memory for VM’ button, with it configured it will be visible under the Recommendations section.
After selecting ‘Set Memory for VM’ you will presented with a new dialog (Image5). Here we can see what the new memory recommendation would be and adjust or apply it. Additionally, if you want the changes to happen now, you can select Power-Off/Snapshot. Without powering off the VM, vROPS will attempt to hot-add the additional memory if the OS will support it.
Once you select ‘Begin Action’ you will see the dialog in Image6.
Note: ENSURE that permissions for users are limited as in the wrong hands the python corrections could create some havoc also ensure you have a good 3-6 months of collected data before using it or u will get bad results.