Comments (6)
  • Add a Comment
  • Edit
  • More Actions v
  • Quarantine this Entry

1 VRyzhkov commented Permalink

Hi Sebastian, <div>&nbsp;</div> why you use <br /> configshow | grep pWWN | grep alias <br /> instead of <br /> nodefind pWWN | grep -w Aliases <div>&nbsp;</div> In my understanding using "configshow" gives too much of overhead. But nodefind is much more useful in getting details on port or wwn. <div>&nbsp;</div> PS And using root is usually not an option :)

2 VRyzhkov commented Permalink

And one more thing - I wonder if you script works correctly if there is more than one alias for one pWWN.

3 seb_ commented Permalink

Hi Val, you are right. It seems nodefind is the quicker alternative for the revalias function. And it's also a problem for the script if you put a WWPN in more than one alias - and I bet there are environments out there where that actually happens.

4 crookedm commented Permalink

Have a look at nszonemember -a or (-u to show everything not zoned)

5 nick_lanneau commented Permalink

It's get as easy as "nszoneshow -wwn "

6 seb_ commented Permalink

Hi Nick, you are absolutely right. v7.1 introduced that command. The first 7.1 version IBM released was 7.1.0c which was around I guess October 2013. But since then IBM Brocade switch owners have a very good command at hand and can avoid scripting something. Thank you for the hint!