DevTech101

DevTech101

The attached script will show you the Solaris Fiber Chanel (FC) available WWN.
Script to show Solaris Fiber Chanel HBA port WWN

Example output is below

./Get_HBA_wwn.sh
c3: 210000e08b0e9848
c4: 210000e08b0e9747

To lookup WWNN/WWPN for Xsigo devices, just run the below.

prtconf -Dv |grep Path|grep xstn|awk -F\/ '{print $(NF-2)}'|awk -F\@ '{print $2}'|sort |uniq
500139700052e1ba
500139700052e1bb
50013970005321bd
50013970005321be
%d bloggers like this: