Nutanix Command Library
October 15, 2019 at 12:19 pm Leave a comment
I have decided to write this post to record all the Nutanix commands that we rarely use in our routine work , But essentially important for better understanding the environment. All these commands can be run from any CVM , unless I will be specifying it.
How to identify the Acropolis Master in an AHV Cluster.
# links -dump http:0:2030
How to identify the Prism Leader
# curl http://0:2019/prism/leader && echo
How to disable/enable the HA on a VM.(By default all the VM’s are protected with HA .
+ Login to CVM and then type “acli”
# vm.update “VM Name” ha_priority=-1 ( To disable the HA)
# vm.update “VM Name” ha_priority=0 ( To enable the HA)
# vm.get “VM Name” – To confirm the change. But by default , you will not see the field ha_priority parameter unless you disable and then enable it manually.
How to find out the BIOS version on all the hosts.
# in the CVM
for i in hostips
; do echo ESX $i ; ssh root@$i ‘smbiosDump | head | grep
Version’ 2>/dev/null ; done
Entry filed under: Nutanix.
Trackback this post | Subscribe to the comments via RSS Feed