How to check host BIOS version on Nutanix cluster

Shares

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 [email protected] 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.

[email protected]:10.4.91.56:~$ ssh [email protected] dmidecode -t bios | grep 'BIOS Information' -A3
FIPS mode initialized
Nutanix AHV
BIOS Information
        Vendor: American Megatrends Inc.
        Version: 1.0b
        Release Date: 05/21/2015 G4-1.2
[email protected]:10.4.91.56:~$

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

[email protected]:10.4.91.56:~$ allssh "ssh [email protected] dmidecode -t bios | grep 'BIOS Information' -A3"
Executing ssh [email protected] dmidecode -t bios | grep 'BIOS Information' -A3 on the cluster
================== 10.4.91.56 =================
FIPS mode initialized
Nutanix AHV
BIOS Information
        Vendor: American Megatrends Inc.
        Version: 1.0b
        Release Date: 05/21/2015 G4-1.2
Connection to 10.4.91.56 closed.
================== 10.4.91.57 =================
FIPS mode initialized
Nutanix AHV
BIOS Information
        Vendor: American Megatrends Inc.
        Version: 1.0b
        Release Date: 05/21/2015 G4-1.2
Connection to 10.4.91.57 closed.
================== 10.4.91.58 =================
FIPS mode initialized
Nutanix AHV
BIOS Information
        Vendor: American Megatrends Inc.
        Version: 1.0b
        Release Date: 05/21/2015 G4-1.2
Connection to 10.4.91.58 closed.
[email protected]:10.4.91.56:~$

Nutanix cluster with VMware ESXi

Get info from single node, run ssh [email protected] smbiosDump | grep 'BIOS Info' -A5 from any CVM from the cluster.

[email protected]:10.4.91.36:~$  ssh [email protected] smbiosDump | grep 'BIOS Info' -A5
FIPS mode initialized
  BIOS Info: #0
    Size: 0x00018
    Vendor: "American Megatrends Inc."
    Version: "1.0b"
    Date: "05/21/2015 G4-1.2"
    Start Address: 0xf0000
[email protected]:10.4.91.36:~$

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

[email protected]:10.4.91.36:~$ allssh " ssh [email protected] smbiosDump | grep 'BIOS Info' -A5"
Executing ssh [email protected] smbiosDump | grep 'BIOS Info' -A5 on the cluster
================== 10.4.91.36 =================
FIPS mode initialized
  BIOS Info: #0
    Size: 0x00018
    Vendor: "American Megatrends Inc."
    Version: "1.0b"
    Date: "05/21/2015 G4-1.2"
    Start Address: 0xf0000
Connection to 10.4.91.36 closed.
================== 10.4.91.37 =================
FIPS mode initialized
  BIOS Info: #0
    Size: 0x00018
    Vendor: "American Megatrends Inc."
    Version: "1.0b"
    Date: "05/21/2015 G4-1.2"
    Start Address: 0xf0000
Connection to 10.4.91.37 closed.
================== 10.4.91.38 =================
FIPS mode initialized
  BIOS Info: #0
    Size: 0x00018
    Vendor: "American Megatrends Inc."
    Version: "1.0b"
    Date: "05/21/2015 G4-1.2"
    Start Address: 0xf0000
Connection to 10.4.91.38 closed.
[email protected]:10.4.91.36:~$

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

[email protected]:10.4.88.57:~$ allssh "winsh wmic bios get smbiosbiosversion"
Executing winsh wmic bios get smbiosbiosversion on the cluster
================== 10.4.88.57 =================
SMBIOSBIOSVersion

1.0b
================== 10.4.88.58 =================
SMBIOSBIOSVersion

1.0b
================== 10.4.88.59 =================
SMBIOSBIOSVersion

1.0b
[email protected]:10.4.88.57:~$

 

 

0 0 votes
Article Rating

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).

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x

FOR FREE. Download Nutanix port diagrams

Join our mailing list to receive an email with instructions on how to download 19 port diagrams in MS Visio format.

NOTE: if you do not get an email within 1h, check your SPAM filters

You have Successfully Subscribed!

Don't miss any posts. Subscribe To Our Newsletter!!

Join our mailing list to receive the latest news and updates from www.vmwaremine.com.

You have Successfully Subscribed!

Pin It on Pinterest