Avamar – extract serial numbers from an Avamar Datastore rain

root login:
———–
root@avamar:~/#: su – admin

admin + dpn ssh:
—————-
admin@avamar:~/>: ssh-agent bash
admin@avamar:~/>: ssh-add ~/.ssh/dpnid
Identity added: /home/admin/.ssh/dpnid (/home/admin/.ssh/dpnid)

the magic command 😉 :
———————–
admin@avamar:~/>: mapall –noerror –user=root –nodes=all+ –quiet ‘echo `hostname -i`'” – “‘`hostname `'” – “‘`/usr/bin/ipmitool fru print 0 |grep “Product Asset Tag”`’

10.0.0.1 – avamar1 – Product Asset Tag : NNG03121810xxx_100-580-616_A07_IP_
10.0.0.2 – avamar2 – Product Asset Tag : NNG03121910xxx_100-580-618_A10_IP_
10.0.0.3 – avamar3 – Product Asset Tag : NNG03121910xxx_100-580-618_A10_IP_
10.0.0.4 – avamar4 – Product Asset Tag : NNG03121910xxx_100-580-618_A10_IP_
10.0.0.5 – avamar5 – Product Asset Tag : NNG03121910xxx_100-580-618_A10_IP_
10.0.0.6 – avamar6 – Product Asset Tag : NNG03124810xxx_100-580-618_A11_IP_
10.0.0.7 – avamar7 – Product Asset Tag : NNG03124810xxx_100-580-618_A11_IP_
10.0.0.8 – avamar8 – Product Asset Tag : NNG03124810xxx_100-580-618_A11_IP_

Advertisements

One thought on “Avamar – extract serial numbers from an Avamar Datastore rain

  1. Engr Md Shafiquzzaman

    Please find the correct out pur to find the asset tag in avamar

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

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s