How to check host BIOS version on Nutanix cluster

From time to time every admin must do BIOS upgrade on the hosts. It may be vendor recommendation, security issue and so on. With Nutanix you can use One-Click upgrade to do BIOS upgrades. Before you start, would be nice to know what clusters needs BIOS upgrade. With Nutanix, using simple “oneliner” you can get all info very quickly.

Nutanix cluster with AHV

On Linux systems (AHV is Linux KVM based hypervisor) demidecode -t bios is the command to retrieve BIOS information without going into IPMI or rebooting host. In my example, I will leverage allssh command available on every CVM in the cluster.

Log in to CVM over SSH and run command ssh root@192.168.5.1 dmidecode -t bios | grep 'BIOS Information' -A3

We will log in from CVM to CVM’s local Nutanix AHV host over local IP address (192.168.5.1) and get info from demidecode command.

Now, let’s run same command but with allssh. As you can see, command was executed on every node in the cluster.

Nutanix cluster with VMware ESXi

Get info from single node, run ssh root@192.168.5.1 smbiosDump | grep 'BIOS Info' -A5 from any CVM from the cluster.

Run the same command but with allssh upfront, will get BIOS info from all ESXi nodes in Nutanix cluster

Nutanix cluster with Microsoft Hyper-V 2012R2

To get BIOS info for all nodes in Nutanix with Hyper-V, run command allssh winsh wmic bios get smbiosbiosversion from any CVM

 

 

Artur Krzywdzinski

Artur is Consulting Architect at Nutanix. He has been using, designing and deploying VMware based solutions since 2005 and Microsoft since 2012. He specialize in designing and implementing private and hybrid cloud solution based on VMware and Microsoft software stacks, datacenter migrations and transformation, disaster avoidance. Artur holds VMware Certified Design Expert certification (VCDX #077).