06-25-2012 12:09 PM
Is there a way to query out all of the WWPN's on my chasis? I am looking to automate some zoning and iGroup creation.
I've done some googling, but I am not getting great results..
Thanks in advance!
Solved! Go to Solution.
06-29-2012 08:51 AM
Hi Jay,
Ah ok I see you are using UCSM. You can use the Cisco UCS PowerTool to quickly retrieve the WWN information (http://developer.cisco.com/web/unifiedcomputing/pshell-download) from all blades in UCSM. The below two commands will provide you with the required information:
Connect-Ucs
Get-UcsServiceProfile -type instance | Get-UcsVhba | Select Dn,Addr,NodeAddr
06-25-2012 02:21 PM
If I understand what you are after, try this:
show flogi database
This will display all the pWWN's that are logged into a switch.
Steven
06-26-2012 06:09 AM
Yes, but that leaves out the server name.. like if I want to know what WWPN's are for blade 1, blade 2, ...
I know I can get this through the gui and clicking all over the place, but I figured there should be some way to automate this.
Thanks for your reply!
06-29-2012 06:22 AM
Hi Jay,
Are you using fcalias or a device alias database?
A device alias database will allow you to quickly see the device name in the cli if you do a sh flogi/sh zone etc
If you are using fcalias, you could store the results of show fcalias in your script and then associate the wwpn's from show flogi database.
06-29-2012 06:37 AM
That is what I am trying to do.. build the device alias table and then do the zoning. It would be nice to not have to click all over the place in UCSM (on each host twice, plus a right click and copy.)
Am I explaining this right? I am somewhat new to FC - I could be missing something.
Thanks for your reply!
06-29-2012 08:51 AM
Hi Jay,
Ah ok I see you are using UCSM. You can use the Cisco UCS PowerTool to quickly retrieve the WWN information (http://developer.cisco.com/web/unifiedcomputing/pshell-download) from all blades in UCSM. The below two commands will provide you with the required information:
Connect-Ucs
Get-UcsServiceProfile -type instance | Get-UcsVhba | Select Dn,Addr,NodeAddr
06-05-2013 10:43 AM
I'm trying to discover number of HBAs along with their WWPN/WWNN installed on the chassis using Cisco UCS Manager XML API.
using configResolveClass with classID="adptorUnit" request, however the response to this request does not content the wwpn rather than wwnn. what is the best way to get the WWPN?
Thanks
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide