How To Find An Avamar Node's WCAA / NNG / EMC Serial Number Via SSH
How To Find An Avamar Node's WCAA / NNG / EMC Serial Number Via SSH
How To Find An Avamar Node's WCAA / NNG / EMC Serial Number Via SSH
Symptoms How to find an Avamar node's WCAA / NNG / EMC serial number via SSH
Cause
The Avamar system is located at a physically distant location. We need to learn the serial (WCAA / NNG) number of an Avamar DataStore node.
Resolution
The methods for obtaining the serial numbers from Avamar DataStore Gen2, Gen3 and Gen4 hardware are given below. The functionality was introduced mid 2009 so it will not work on all Gen 2 nodes. If the output does not display a WCA or NNG number as shown below or if the node is powered down or unreachable then a physical check of the node will be necessary. For Avamar Datastore Generation 2 and Generation 3 nodes Login to the node and execute the below command. /usr/bin/omeport chassis frontpanel | grep "LCD Line" avamar123:~/>: /usr/bin/omreport chassis frontpanel | grep "LCD Line" LCD Line 1 : WCAAV094724045_100-580-602_A07_IP_3.75.224.107 The EMC serial number is at the beginning of the LCD Line value starting with WCA or NNG up to the first underscore. The middle section (100-580-602_A07) is the EMC part number. The last section is the node's IP address. For convenience, here is a mapall command to be run on the utility node (as admin user with dpnid keys loaded) which will retrieve the serials on all the nodes in the grid.
How to find an Avamar node's WCAA / NNG / EMC serial number via SSH
mapall --all+ --quiet '/usr/bin/omreport chassis frontpanel | grep "LCD Line 1" | sed "s/ ^.*: *\(.*\)/\1/"' For Avamar Datastore Generation 4 nodes Avamar Datastore Generation 4 hardware consists of two different types of Dell nodes (R510 and R710). A new hardware information retreival system is used and has a different command that will work on all Gen4 nodes. To retrieve the serial number on a node, use the following command: /usr/bin/ipmitool fru print 0 | grep "Product Asset Tag" | sed "s/^.*: *\(.*\)/\1/" The following mapall command run from the utility node (run as admin with dpnid key loaded) will retrieve the serial numbers from all of the nodes in the grid. mapall --noerror --user=root --nodes=all+ --quiet 'echo `hostname -i`": "`/usr/bin/ipmitool fru print 0 | grep "Product Asset Tag" | sed "s/^.*:\s\(.*$\)/\1/"`'