<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Sun Solaris System Admin &#187; wwnn</title>
	<atom:link href="http://www.sunsolarisadmin.com/tag/wwnn/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sunsolarisadmin.com</link>
	<description>Sun Solaris HowTo's Tips Tricks Tutorials</description>
	<lastBuildDate>Wed, 21 Sep 2011 19:57:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<image>
<link>http://www.sunsolarisadmin.com</link>
<url>http://www.sunsolarisadmin.com/wp-content/mbp-favicon/favicon.ico</url>
<title>Sun Solaris System Admin</title>
</image>
		<item>
		<title>How to find the WWN (World Wide Name) in Sun Solaris</title>
		<link>http://www.sunsolarisadmin.com/hardware/how-to-find-the-wwn-world-wide-name-in-sun-solaris/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-find-the-wwn-world-wide-name-in-sun-solaris</link>
		<comments>http://www.sunsolarisadmin.com/hardware/how-to-find-the-wwn-world-wide-name-in-sun-solaris/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 22:57:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[hardware]]></category>
		<category><![CDATA[fcal]]></category>
		<category><![CDATA[fcinfo]]></category>
		<category><![CDATA[fcode]]></category>
		<category><![CDATA[firmware]]></category>
		<category><![CDATA[hba]]></category>
		<category><![CDATA[node]]></category>
		<category><![CDATA[port]]></category>
		<category><![CDATA[prtconf]]></category>
		<category><![CDATA[prtpicl]]></category>
		<category><![CDATA[scli]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[version]]></category>
		<category><![CDATA[worldwide name]]></category>
		<category><![CDATA[wwn]]></category>
		<category><![CDATA[wwnn]]></category>
		<category><![CDATA[wwpn]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/?p=64</guid>
		<description><![CDATA[World Wide Name (WWN) are unique 8 byte (64-bit) identifiers in SCSI or fibre channel similar to that of MAC Addresses on a Network Interface Card (NIC). Talking about the WWN names, there are also World Wide port Name (WWpN), a WWN assigned to a port on a Fabric which is what you would be <a href='http://www.sunsolarisadmin.com/hardware/how-to-find-the-wwn-world-wide-name-in-sun-solaris/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><div style="float: left"><script type="text/javascript"><!--
google_ad_client = "pub-6220434432369569";
/* sunsoladm_336x280_post */
google_ad_slot = "5048319182";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div><strong><em>World Wide Name (WWN) </em></strong>are unique 8 byte (64-bit) identifiers in SCSI or fibre channel similar to that of MAC Addresses on a Network Interface Card (NIC).</p>
<p>Talking about the WWN names, there are also</p>
<p><strong><em>World Wide port Name (WWpN)</em></strong>, a WWN assigned to a port on a Fabric which is what you would be looking for most of the time.</p>
<p><strong><em>World Wide node Name (WWnN)</em></strong>, a WWN assigned to a node/device on a Fibre Channel fabric.</p>
<p><span id="more-64"></span></p>
<p>To find the WWN numbers of your HBA card in Sun Solaris, you can use one the following procedures</p>
<p><strong><span style="text-decoration: underline;"><em>Using fcinfo (Solaris 10 only)</em></span></strong></p>
<p>This is probably the easiest way to find the WWN numbers on your HBA card. Here you can see the HBA Port WWN (WWpN) and the Node WWN (WWnN) of the two ports on the installed Qlogic HAB card.</p>
<p>This is also useful in finding the Model number, Firmwar version FCode, supported and current speeds and the port status of the HBA card/port.</p>
<p> </p>
<blockquote><p><strong>root@ sunserver:/root# fcinfo hba-port | grep WWN</strong><br />
HBA Port WWN: 2100001b32xxxxxx<br />
Node WWN: 2000001b32xxxxxx<br />
HBA Port WWN: 2101001b32yyyyyy<br />
Node WWN: 2001001b32yyyyyy</p></blockquote>
<p>For detailed info including Make &amp; model number, Firmware, Fcode and current status and supported/current speeds then</p>
<blockquote><p><strong>root@ sunserver:/root# fcinfo hba-port</strong><br />
HBA Port WWN: 2100001b32xxxxxx<br />
OS Device Name: /dev/cfg/c2<br />
Manufacturer: QLogic Corp.<br />
Model: 375-3356-02<br />
Firmware Version: 4.04.01<br />
FCode/BIOS Version:  BIOS: 1.24; fcode: 1.24; EFI: 1.8;<br />
Type: N-port<br />
State: online<br />
Supported Speeds: 1Gb 2Gb 4Gb<br />
Current Speed: 4Gb<br />
Node WWN: 2000001b32xxxxxx<br />
HBA Port WWN: 2101001b32yyyyyy<br />
OS Device Name: /dev/cfg/c3<br />
Manufacturer: QLogic Corp.<br />
Model: 375-3356-02<br />
Firmware Version: 4.04.01<br />
FCode/BIOS Version:  BIOS: 1.24; fcode: 1.24; EFI: 1.8;<br />
Type: unknown<br />
State: offline<br />
Supported Speeds: 1Gb 2Gb 4Gb<br />
Current Speed: not established<br />
Node WWN: 2001001b32yyyyyy</p></blockquote>
<p> </p>
<p><strong><span style="text-decoration: underline;"><em>Using scli</em></span></strong></p>
<p> </p>
<blockquote><p><strong>root@ sunserver:/root# scli -i | egrep &#8220;Node Name|Port Name&#8221;</strong><br />
Node Name                  : 20-00-00-1B-32-XX-XX-XX<br />
Port Name                  : 21-00-00-1B-32-XX-XX-XX<br />
Node Name                  : 20-01-00-1B-32-YY-YY-YY<br />
Port Name                  : 21-01-00-1B-32-YY-YY-YY</p></blockquote>
<p> </p>
<p>For more detailed info on the HBA Cards run as follows: Similar to fcinfo but also provides Model Name and serial number.</p>
<p> </p>
<blockquote><p><strong>root@ sunserver:/root# scli -i</strong><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Host Name                  : sunserver<br />
HBA Model                  : QLE2462<br />
HBA Alias                  :<br />
Port                       : 1<br />
Port Alias                 :<br />
Node Name                  : 20-00-00-1B-32-XX-XX-XX<br />
Port Name                  : 21-00-00-1B-32-XX-XX-XX<br />
Port ID                    : 11-22-33<br />
Serial Number              : AAAAAAA-bbbbbbbbbb<br />
Driver Version             : qlc-20080514-2.28<br />
FCode Version              : 1.24<br />
Firmware Version           : 4.04.01<br />
HBA Instance               : 2<br />
OS Instance                : 2<br />
HBA ID                     : 2-QLE2462<br />
OptionROM BIOS Version     : 1.24<br />
OptionROM FCode Version    : 1.24<br />
OptionROM EFI Version      : 1.08<br />
OptionROM Firmware Version : 4.00.26<br />
Actual Connection Mode     : Point to Point<br />
Actual Data Rate           : 2 Gbps<br />
PortType (Topology)        : NPort<br />
Total Number of Devices    : 2<br />
HBA Status                 : Online<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Host Name                  : sunserver<br />
HBA Model                  : QLE2462<br />
HBA Alias                  :<br />
Port                       : 2<br />
Port Alias                 :<br />
Node Name                  : 20-01-00-1B-32-YY-YY-YY<br />
Port Name                  : 21-01-00-1B-32-YY-YY-YY<br />
Port ID                    : 00-00-00<br />
Serial Number              : AAAAAAA-bbbbbbbbbb<br />
Driver Version             : qlc-20080514-2.28<br />
FCode Version              : 1.24<br />
Firmware Version           : 4.04.01<br />
HBA Instance               : 3<br />
OS Instance                : 3<br />
HBA ID                     : 3-QLE2462<br />
OptionROM BIOS Version     : 1.24<br />
OptionROM FCode Version    : 1.24<br />
OptionROM EFI Version      : 1.08<br />
OptionROM Firmware Version : 4.00.26<br />
Actual Connection Mode     : Unknown<br />
Actual Data Rate           : Unknown<br />
PortType (Topology)        : Unidentified<br />
Total Number of Devices    : 0<br />
HBA Status                 : Loop down</p></blockquote>
<p> </p>
<p><strong><span style="text-decoration: underline;"><em>Using prtconf</em></span></strong></p>
<blockquote><p>root@ sunserver:/root# prtconf -vp | grep -i wwn<br />
port-wwn:  2100001b.32xxxxxx<br />
node-wwn:  2000001b.32xxxxxx<br />
port-wwn:  2101001b.32yyyyyy<br />
node-wwn:  2001001b.32yyyyyy</p></blockquote>
<p><strong><span style="text-decoration: underline;"><em>Using prtpicl</em></span></strong></p>
<blockquote><p><strong>root@ sunserver:/root# prtpicl -v | grep wwn</strong><br />
:node-wwn  20  00  00  1b  32  xx  xx  xx<br />
:port-wwn  21  00  00  1b  32  xx  xx  xx<br />
:node-wwn  20  01  00  1b  32  yy  yy  yy<br />
:port-wwn  21  01  00  1b  32  yy  yy  yy</p></blockquote>
<p> </p>
<p><strong><span style="text-decoration: underline;"><em>Using luxadm</em></span></strong></p>
<p>Run the following command to obtain the physical path to the HBA Ports</p>
<blockquote><p><strong>root@ sunserver:/root$ luxadm -e port</strong><br />
/devices/pci@400/pci@0/pci@9/SUNW,qlc@0/fp@0,0:devctl              CONNECTED<br />
/devices/pci@400/pci@0/pci@9/SUNW,qlc@0,1/fp@0,0:devctl            NOT CONNECTED</p></blockquote>
<p> </p>
<p>With the physical path obtained from the above command, we can trace the WWN numbers as follows. here I use the physical path to the one that is connected:</p>
<blockquote><p><strong>root@ sunserver:/root$ luxadm -e dump_map /devices/pci@400/pci@0/pci@9/SUNW,qlc@0/fp@0,0:devctl</strong><br />
Pos  Port_ID Hard_Addr Port WWN         Node WWN         Type<br />
0    123456  0         1111111111111111 2222222222222222 0&#215;0  (Disk device)<br />
1    789123  0         1111111111111111 2222222222222222 0&#215;0  (Disk device)<br />
2    453789  0         2100001b32xxxxxx 2000001b32xxxxxx 0x1f (Unknown Type,Host Bus Adapter)</p></blockquote>
<p> </p>
<p>Hope this helps. If you know of any more way then please feel free to post it to the comments and I shall amend it to the article.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/hardware/how-to-find-the-wwn-world-wide-name-in-sun-solaris/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

