Tuesday 10 June 2014

How to find the serial number of your Avamar node from the CLI

Note: All commands are run from the CLI using putty or some other telnet/ssh terminal.

For Avamar Datastore Gen 2 and Gen 3 nodes

/usr/bin/omeport chassis frontpanel | grep "LCD Line"

For Avamar Gen 2 and Gen 3 nodes setup in a RAIN array connect to the Utility node and run

mapall --all+ --quiet '/usr/bin/omreport chassis frontpanel | grep "LCD Line 1" | sed "s/^.*: *\(.*\)/\1/"'

For Avamar Datastore Generation 4 nodes

/usr/bin/ipmitool fru print 0 | grep "Product Asset Tag" | sed "s/^.*: *\(.*\)/\1/"

For Avamar Gen 4 nodes in RAIN array connect to the Utility node and run

mapall --noerror --user=root --nodes=all+ --quiet 'echo `hostname -i`": "`/usr/bin/ipmitool fru print 0 | grep "Product Asset Tag" | sed "s/^.*:\s\(.*$\)/\1/"`'

The serial number will be the first part of the result. You will also receive the IP address of the node.

1 comment: