For a large Dutch Hosting / Managed Service provider that is using Nutanix as a shared IAAS / Shared cloud platform i was asked to look in to automating update selections for the a per Node update procedure.
This customer regularly has other maintenance on those nodes, and Change advisory control requires them to do a controlled per node upgrade.
Nutanix has a 1-Click update system that will take of this for you. Although the new LCM 2.2 UI is even more advanced, selecting per node updates on a large cluster can be time consuming. In this case ~100 Nodes.
If this scenario is useful to yours, checkout:
https://github.com/MMouse-23/Nutanix_LCM_Tools
This is a PowerShell based script that takes care of the update selection and installation as per your choosing. Its compatible with Prism Element 5.5, but only if you have Prism Central above 5.8. API V3 calls are not sent to Prism Element but tunneled through Prism Central.
$BuildAccount = "admin"
$PEAdmin = "admin"
$PEPass = ""
$PCCLIP = ""
$PEClIP = ""
$ClusterUUID = ""
Populate the top half of the script, make sure the PE Cluster UUID is populated also, You can retrieve the ID by running the top half of the script (till line 463) and selecting the cluster ID from the $Cluster Variable.
once that is selected run the script again till line 528. And select the updates you wish to install from the $Updates Variable.
Let me know if you have any questions.
René
The github link is not working anymore. Can you update this one?
David Hut
Hi René, thank you for noticing that the link in the article is broken. Please read the blog at Nutanix.dev for up to date information on this topic. See https://www.nutanix.dev/2023/03/17/nutanix-lcm-v4-apis-managing-inventory-and-planning-software-updates/.