<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to find the WWN (World Wide Name) in Sun Solaris</title>
	<atom:link href="http://www.sunsolarisadmin.com/hardware/how-to-find-the-wwn-world-wide-name-in-sun-solaris/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sunsolarisadmin.com/hardware/how-to-find-the-wwn-world-wide-name-in-sun-solaris/</link>
	<description>Sun Solaris HowTo's Tips Tricks Tutorials</description>
	<lastBuildDate>Wed, 25 Aug 2010 15:21:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: santheep</title>
		<link>http://www.sunsolarisadmin.com/hardware/how-to-find-the-wwn-world-wide-name-in-sun-solaris/comment-page-1/#comment-252</link>
		<dc:creator>santheep</dc:creator>
		<pubDate>Tue, 27 Jul 2010 14:05:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.sunsolarisadmin.com/?p=64#comment-252</guid>
		<description>good</description>
		<content:encoded><![CDATA[<p>good</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.sunsolarisadmin.com/hardware/how-to-find-the-wwn-world-wide-name-in-sun-solaris/comment-page-1/#comment-122</link>
		<dc:creator>David</dc:creator>
		<pubDate>Tue, 15 Sep 2009 10:49:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.sunsolarisadmin.com/?p=64#comment-122</guid>
		<description>I&#039;ve got some troubles finding the WWN&#039;s of card not sell by Sun (Qlogic and Emulex branded). These are some tips to find the WWN of them:

Emulex:

You have to have installed the emulex utilities. Change to directory /usr/sbin/lpfc, and run lputil64 to find the WWN:

root@somehost{/usr/sbin/lpfc}#./lputil64
LightPulse Common Utility for Solaris/SPARC. Version 1.5a0 (12/18/2002).
Copyright (c) 2002, Emulex Network Systems, Inc.

Emulex Fibre Channel Host Adapters Detected: 1
Host Adapter 0 (lpfc0) is an LP9K (Ready Mode)

MAIN MENU

 1. List Adapters
 2. Adapter Information
 3. Firmware Maintenance
 4. Reset Adapter
 5. Persistent Bindings

 0. Exit

Enter choice =&gt; 2

ADAPTER INFORMATION MENU

 1. PCI Configuration Parameters
 2. Adapter Revision Levels
 3. Wakeup Parameters
 4. IEEE Address
 5. Loop Map
 6. Status &amp; Counters
 7. Link Status
 8. Configuration Parameters

 0. Return to Main Menu

Enter choice =&gt; 4

IEEE Address for Adapter 0:

        10000000 C93A181A

QLOGIC (qlogic 2200):

You need the qlogic utilities installed aswell. Change to the installation directory:

root@somehost{/}#cd /opt/QLogic_Corporation/drvutil/qla2200

You&#039;ll see some utilities there.

root@somehost{/opt/QLogic_Corporation/drvutil/qla2200}#ls
qldriverop                  qlfwdmp_readme.txt          qlreconfig
qldriverop_readme.txt       qlogic_adapters             qlreconfig_readme.txt
qlfwdmp                     qlogic_adapters_readme.txt  readme.txt

Next step is to find the control devices of the qlogic cards:

root@somehost{/opt/QLogic_Corporation/drvutil/qla2200}#find /devices -name &#039;QLGC*:devctl&#039;
/devices/pci@13c,600000/QLGC,qla@1:devctl
/devices/pci@13d,600000/QLGC,qla@1:devctl
/devices/pci@15c,600000/QLGC,qla@1:devctl
/devices/pci@15d,600000/QLGC,qla@1:devctl

With this information, run the following command of the desired control device:

./qldriverop -d /devices/pci@13c,600000/QLGC,qla@1:devctl -c fcid

And finally go to the /var/adm/messages and take a look:

Jun  4 13:00:20 somehost qla2200: ID 670390 kern.info hba1: driverop fcdisplay
Jun  4 13:00:20 somehost qla2200: ID 568177 kern.info hba1-adapter-node-name=&quot;200000e08b0b973f&quot;;
Jun  4 13:00:20 somehost qla2200: ID 562076 kern.info hba1-adapter-port-name=&quot;210000e08b0b973f&quot;;
Jun  4 13:00:20 somehost qla2200: ID 720712 kern.info hba1-adapter-port-id=&quot;6f1013&quot;;
Jun  4 13:00:20 somehost qla2200: ID 564312 kern.info hba1-SCSI-target-id-1-fibre-channel-node-name=&quot;5006048c52a71a82&quot;;
Jun  4 13:00:20 somehost qla2200: ID 558211 kern.info hba1-SCSI-target-id-1-fibre-channel-port-name=&quot;5006048c52a71a82&quot;;
[..]

As a final note, in order to find the WWN of a JNIC card (old) this is how i managed to find it:

root@somehost{/}#prtconf -vp &#124; grep -i my_wwn_
            my_wwn_hi:  10000001
            my_wwn_lo:  73011218
            my_wwn_hi:  10000001
            my_wwn_lo:  73011170

Join together hi+lo and you&#039;ll have the wwn</description>
		<content:encoded><![CDATA[<p>I&#8217;ve got some troubles finding the WWN&#8217;s of card not sell by Sun (Qlogic and Emulex branded). These are some tips to find the WWN of them:</p>
<p>Emulex:</p>
<p>You have to have installed the emulex utilities. Change to directory /usr/sbin/lpfc, and run lputil64 to find the WWN:</p>
<p>root@somehost{/usr/sbin/lpfc}#./lputil64<br />
LightPulse Common Utility for Solaris/SPARC. Version 1.5a0 (12/18/2002).<br />
Copyright (c) 2002, Emulex Network Systems, Inc.</p>
<p>Emulex Fibre Channel Host Adapters Detected: 1<br />
Host Adapter 0 (lpfc0) is an LP9K (Ready Mode)</p>
<p>MAIN MENU</p>
<p> 1. List Adapters<br />
 2. Adapter Information<br />
 3. Firmware Maintenance<br />
 4. Reset Adapter<br />
 5. Persistent Bindings</p>
<p> 0. Exit</p>
<p>Enter choice =&gt; 2</p>
<p>ADAPTER INFORMATION MENU</p>
<p> 1. PCI Configuration Parameters<br />
 2. Adapter Revision Levels<br />
 3. Wakeup Parameters<br />
 4. IEEE Address<br />
 5. Loop Map<br />
 6. Status &amp; Counters<br />
 7. Link Status<br />
 8. Configuration Parameters</p>
<p> 0. Return to Main Menu</p>
<p>Enter choice =&gt; 4</p>
<p>IEEE Address for Adapter 0:</p>
<p>        10000000 C93A181A</p>
<p>QLOGIC (qlogic 2200):</p>
<p>You need the qlogic utilities installed aswell. Change to the installation directory:</p>
<p>root@somehost{/}#cd /opt/QLogic_Corporation/drvutil/qla2200</p>
<p>You&#8217;ll see some utilities there.</p>
<p>root@somehost{/opt/QLogic_Corporation/drvutil/qla2200}#ls<br />
qldriverop                  qlfwdmp_readme.txt          qlreconfig<br />
qldriverop_readme.txt       qlogic_adapters             qlreconfig_readme.txt<br />
qlfwdmp                     qlogic_adapters_readme.txt  readme.txt</p>
<p>Next step is to find the control devices of the qlogic cards:</p>
<p>root@somehost{/opt/QLogic_Corporation/drvutil/qla2200}#find /devices -name &#8216;QLGC*:devctl&#8217;<br />
/devices/pci@13c,600000/QLGC,qla@1:devctl<br />
/devices/pci@13d,600000/QLGC,qla@1:devctl<br />
/devices/pci@15c,600000/QLGC,qla@1:devctl<br />
/devices/pci@15d,600000/QLGC,qla@1:devctl</p>
<p>With this information, run the following command of the desired control device:</p>
<p>./qldriverop -d /devices/pci@13c,600000/QLGC,qla@1:devctl -c fcid</p>
<p>And finally go to the /var/adm/messages and take a look:</p>
<p>Jun  4 13:00:20 somehost qla2200: ID 670390 kern.info hba1: driverop fcdisplay<br />
Jun  4 13:00:20 somehost qla2200: ID 568177 kern.info hba1-adapter-node-name=&#8221;200000e08b0b973f&#8221;;<br />
Jun  4 13:00:20 somehost qla2200: ID 562076 kern.info hba1-adapter-port-name=&#8221;210000e08b0b973f&#8221;;<br />
Jun  4 13:00:20 somehost qla2200: ID 720712 kern.info hba1-adapter-port-id=&#8221;6f1013&#8243;;<br />
Jun  4 13:00:20 somehost qla2200: ID 564312 kern.info hba1-SCSI-target-id-1-fibre-channel-node-name=&#8221;5006048c52a71a82&#8243;;<br />
Jun  4 13:00:20 somehost qla2200: ID 558211 kern.info hba1-SCSI-target-id-1-fibre-channel-port-name=&#8221;5006048c52a71a82&#8243;;<br />
[..]</p>
<p>As a final note, in order to find the WWN of a JNIC card (old) this is how i managed to find it:</p>
<p>root@somehost{/}#prtconf -vp | grep -i my_wwn_<br />
            my_wwn_hi:  10000001<br />
            my_wwn_lo:  73011218<br />
            my_wwn_hi:  10000001<br />
            my_wwn_lo:  73011170</p>
<p>Join together hi+lo and you&#8217;ll have the wwn</p>
]]></content:encoded>
	</item>
</channel>
</rss>
