# for i in LPAR1 LPAR2 LPAR3
# do
#   echo $i
#   ssh $i "lspath | awk '{print \"lscfg -vl fcs\" substr( \$0, length(\$0) , length(\$0) )\"|grep Addr\" }' | sort -u|sh"
# doneLPAR1
        Network Address.............10000000C99C631E
        Network Address.............10000000C99C4CBC
LPAR2
        Network Address.............10000000C99A61F0
        Network Address.............10000000C99C4EAA
LPAR3
        Network Address.............10000000C99582BE
        Network Address.............10000000C99C4DF4

 

Share Button
1-Liner : Get the WWNs associated with your hdisks from a list of hosts
Taggé sur :        

Laisser un commentaire