<?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>Sys-Admin Information&#039;s &#187; wwn</title>
	<atom:link href="http://sysinfo.bascomp.org/tag/wwn/feed/" rel="self" type="application/rss+xml" />
	<link>http://sysinfo.bascomp.org</link>
	<description></description>
	<lastBuildDate>Fri, 23 Apr 2010 09:43:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Get WWN of Fibre cards</title>
		<link>http://sysinfo.bascomp.org/2007/07/get-wwn-of-fibre-cards/</link>
		<comments>http://sysinfo.bascomp.org/2007/07/get-wwn-of-fibre-cards/#comments</comments>
		<pubDate>Thu, 05 Jul 2007 16:58:19 +0000</pubDate>
		<dc:creator>Eriek Regandono</dc:creator>
				<category><![CDATA[*Nix]]></category>
		<category><![CDATA[Fibre Channel]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[wwn]]></category>

		<guid isPermaLink="false">http://sysinfo.bascomp.org/2007/07/05/get-wwn-of-fibre-cards/</guid>
		<description><![CDATA[A World Wide Name (WWN) or World Wide Identifier (WWID) is a unique identifier in a Fibre Channel or Serial Attached SCSI storage network. Each WWN is an 8-byte number derived from an IEEE OUI (for the first 3 bytes) and vendor-supplied information (for the rest) ... quote from wiki 
To get your wwn at [...]]]></description>
			<content:encoded><![CDATA[<p>A World Wide Name (WWN) or World Wide Identifier (WWID) is a unique identifier in a Fibre Channel or Serial Attached SCSI storage network. Each WWN is an 8-byte number derived from an IEEE OUI (for the first 3 bytes) and vendor-supplied information (for the rest) ...<a href="http://en.wikipedia.org/wiki/World_Wide_Name"> <em>quote from wiki</em> </a></p>
<p><strong>To get your wwn at your Solaris machine, you can use this command</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> prtpicl <span style="color: #660033;">-v</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> wwn
:node-wwn      <span style="color: #000000;">50</span>  01  04  f0  00  5f  0a  <span style="color: #000000;">85</span>
:port-wwn      <span style="color: #000000;">50</span>  01  04  f0  00  5f  0a  <span style="color: #000000;">83</span>
:node-wwn    <span style="color: #000000;">50</span>  06  0e  <span style="color: #000000;">80</span>  04  2a  b0  04</pre></div></div>

<p>or</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> luxadm <span style="color: #660033;">-e</span> port
<span style="color: #000000; font-weight: bold;">/</span>devices<span style="color: #000000; font-weight: bold;">/</span>ssm<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">0</span>,<span style="color: #000000;">0</span><span style="color: #000000; font-weight: bold;">/</span>pci<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">18</span>,<span style="color: #000000;">700000</span><span style="color: #000000; font-weight: bold;">/</span>SUNW,qlc<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">/</span>fp<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>:devctl            CONNECTED
<span style="color: #000000; font-weight: bold;">/</span>devices<span style="color: #000000; font-weight: bold;">/</span>ssm<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">0</span>,<span style="color: #000000;">0</span><span style="color: #000000; font-weight: bold;">/</span>pci<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">18</span>,<span style="color: #000000;">700000</span><span style="color: #000000; font-weight: bold;">/</span>SUNW,qlc<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">1</span><span style="color: #000000; font-weight: bold;">/</span>fp<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>:devctl            CONNECTED
<span style="color: #000000; font-weight: bold;">/</span>devices<span style="color: #000000; font-weight: bold;">/</span>ssm<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">0</span>,<span style="color: #000000;">0</span><span style="color: #000000; font-weight: bold;">/</span>pci<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">18</span>,<span style="color: #000000;">600000</span><span style="color: #000000; font-weight: bold;">/</span>fibre-channel<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">1</span><span style="color: #000000; font-weight: bold;">/</span>fp<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>:devctl       CONNECTED
<span style="color: #000000; font-weight: bold;">/</span>devices<span style="color: #000000; font-weight: bold;">/</span>ssm<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">0</span>,<span style="color: #000000;">0</span><span style="color: #000000; font-weight: bold;">/</span>pci<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">18</span>,<span style="color: #000000;">700000</span><span style="color: #000000; font-weight: bold;">/</span>SUNW,qlc<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">2</span>,<span style="color: #000000;">1</span><span style="color: #000000; font-weight: bold;">/</span>fp<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>:devctl          NOT CONNECTED
<span style="color: #000000; font-weight: bold;">/</span>devices<span style="color: #000000; font-weight: bold;">/</span>ssm<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">0</span>,<span style="color: #000000;">0</span><span style="color: #000000; font-weight: bold;">/</span>pci<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">18</span>,<span style="color: #000000;">700000</span><span style="color: #000000; font-weight: bold;">/</span>SUNW,qlc<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">1</span>,<span style="color: #000000;">1</span><span style="color: #000000; font-weight: bold;">/</span>fp<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>:devctl          NOT CONNECTED</pre></div></div>

<p>And then grab one of the luxadm output</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> luxadm <span style="color: #660033;">-e</span> dump_map <span style="color: #000000; font-weight: bold;">/</span>devices<span style="color: #000000; font-weight: bold;">/</span>ssm<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">0</span>,<span style="color: #000000;">0</span><span style="color: #000000; font-weight: bold;">/</span>pci<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">18</span>,<span style="color: #000000;">700000</span><span style="color: #000000; font-weight: bold;">/</span>SUNW,qlc<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">/</span>fp<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">0</span>,<span style="color: #000000;">0</span>:devctl
Pos  Port_ID Hard_Addr Port WWN         Node WWN         Type
<span style="color: #000000;">0</span>    <span style="color: #000000;">10000</span>   <span style="color: #000000;">0</span>         200400a0b818aad4 200400a0b818aad3 0x0  <span style="color: #7a0874; font-weight: bold;">&#40;</span>Disk device<span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #000000;">1</span>    <span style="color: #000000;">10300</span>   <span style="color: #000000;">0</span>         200500a0b818aad4 200400a0b818aad3 0x0  <span style="color: #7a0874; font-weight: bold;">&#40;</span>Disk device<span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #000000;">2</span>    <span style="color: #000000;">20000</span>   <span style="color: #000000;">0</span>         200400a0b818aad5 200400a0b818aad3 0x0  <span style="color: #7a0874; font-weight: bold;">&#40;</span>Disk device<span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #000000;">3</span>    <span style="color: #000000;">20300</span>   <span style="color: #000000;">0</span>         200500a0b818aad5 200400a0b818aad3 0x0  <span style="color: #7a0874; font-weight: bold;">&#40;</span>Disk device<span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #000000;">4</span>    <span style="color: #000000;">20900</span>   <span style="color: #000000;">0</span>         210000e08b829a76 200000e08b829a76 0x1f <span style="color: #7a0874; font-weight: bold;">&#40;</span>Unknown Type,Host Bus Adapter<span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p><strong>At your HP-UX machine, you can use this command</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> fcmsutil <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>td9
Vendor ID is = 0x001254
Device ID is = 0x001159
XL2 Chip Revision No is = <span style="color: #000000;">2.3</span>
PCI Sub-system Vendor ID is = 0x05103c
PCI Sub-system ID is = 0x01128c
Topology = PTTOPT_FABRIC
Link Speed = 2Gb
Local N_Port_id is = 0x0a1650
N_Port Node World Wide Name = 0x50060b000023c458
N_Port Port World Wide Name = 0x50060b000023c459
Driver state = ONLINE
Hardware Path is = <span style="color: #000000;">0</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">0</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">14</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">0</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">0</span>
Number of Assisted IOs = <span style="color: #000000;">32763725</span>
Number of Active Login Sessions = <span style="color: #000000;">2</span>
Dino Present on Card = NO
Maximum Frame Size = <span style="color: #000000;">2048</span>
Driver Version = <span style="color: #000000; font-weight: bold;">@</span><span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #666666; font-style: italic;">#) libtd.a HP Fibre Channel Tachyon TL/TS/XL2 Driver B.11.11.12 PATCH_11.11 (PHSS_31326) /ux/kern/kisu/TL/src/common/wsio/td_glue.c: Sep 5 2005, 10:14:40</span></pre></div></div>

<p><strong>At your Linux machine, used this..</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #000000; font-weight: bold;">/</span>proc<span style="color: #000000; font-weight: bold;">/</span>scsi<span style="color: #000000; font-weight: bold;">/</span>qla2xxx<span style="color: #000000; font-weight: bold;">/*</span> <span style="color: #000000; font-weight: bold;">|</span><span style="color: #c20cb9; font-weight: bold;">grep</span> port<span style="color: #000000; font-weight: bold;">|</span><span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-v</span> port-<span style="color: #000000;">0</span>
scsi-qla0-adapter-port=210000145e254fca;
scsi-qla0-port-<span style="color: #000000;">1</span>=50060160b021b712:500601683021b712:018100:<span style="color: #000000;">82</span>;
scsi-qla1-adapter-port=210000145e254fcb;
scsi-qla1-port-<span style="color: #000000;">1</span>=50060160b021b712:500601693021b712:018100:<span style="color: #000000;">82</span>;</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://sysinfo.bascomp.org/2007/07/get-wwn-of-fibre-cards/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
