<?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; Fibre Channel</title>
	<atom:link href="http://sysinfo.bascomp.org/category/solaris/fibre-channel/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>Solaris 10 Fibre Channel Management</title>
		<link>http://sysinfo.bascomp.org/2007/08/solaris-10-fibre-channel-management/</link>
		<comments>http://sysinfo.bascomp.org/2007/08/solaris-10-fibre-channel-management/#comments</comments>
		<pubDate>Wed, 22 Aug 2007 16:13:37 +0000</pubDate>
		<dc:creator>Hendrawan</dc:creator>
				<category><![CDATA[Fibre Channel]]></category>
		<category><![CDATA[Solaris]]></category>

		<guid isPermaLink="false">http://sysinfo.bascomp.org/2007/08/22/solaris-10-fibre-channel-management/</guid>
		<description><![CDATA[On Solaris 10 Fibre Channel Management was so easy, cos the storage foundation kit is now integrated into the base OS, name was " fcinfo ".
" fcinfo " utility were added to view fibre channel connectivity information.
" fcinfo " is especially useful, since it provides a tool with the base Operating System to view HBA [...]]]></description>
			<content:encoded><![CDATA[<p>On Solaris 10 Fibre Channel Management was so easy, cos the storage foundation kit is now integrated into the base OS, name was " <strong>fcinfo</strong> ".<br />
" <strong>fcinfo </strong>" utility were added to view fibre channel connectivity information.<br />
" <strong>fcinfo</strong> " is especially useful, since it provides a tool with the base Operating System to view HBA and connectivity information, include HBAs from Emulex, JNI and Qlogic.</p>
<p><code># uname -a</code><br />
SunOS 5.10</p>
<p><code># fcinfo -V</code><br />
fcinfo: Version 1.0<br />
For more information, please see fcinfo(1M)</p>
<p><span id="more-22"></span><br />
<code># fcinfo hba-port</code></p>
<blockquote><p>HBA Port WWN: 210000e08b8f29bf<br />
OS Device Name: /devices/pci@84,4000/fibre-channel@3:devctl<br />
Manufacturer: QLogic Corporation<br />
Model: QLA2340<br />
Type: N-port<br />
State: online<br />
Supported Speeds: 1Gb 2Gb<br />
Current Speed: 2Gb<br />
Node WWN: 200000e08b8f29bf</p>
<p>HBA Port WWN: 10000000c9581765<br />
OS Device Name: /dev/cfg/c3<br />
Manufacturer: Emulex<br />
Model: LP9802<br />
Type: N-port<br />
State: online<br />
Supported Speeds: 1Gb 2Gb<br />
Current Speed: 2Gb<br />
Node WWN: 20000000c9581765</p>
<p>HBA Port WWN: 10000000c9582596<br />
OS Device Name: /dev/cfg/c4<br />
Manufacturer: Emulex<br />
Model: LP9802<br />
Type: N-port<br />
State: online<br />
Supported Speeds: 1Gb 2Gb<br />
Current Speed: 2Gb<br />
Node WWN: 20000000c9582596</p></blockquote>
<p>Option "-l" is Lists the link error statistics information for the port<br />
<code># fcinfo hba-port -l</code></p>
<blockquote><p>HBA Port WWN: 210000e08b8f29bf<br />
OS Device Name: /devices/pci@84,4000/fibre-channel@3:devctl<br />
Manufacturer: QLogic Corporation<br />
Model: QLA2340<br />
Type: N-port<br />
State: online<br />
Supported Speeds: 1Gb 2Gb<br />
Current Speed: 2Gb<br />
Node WWN: 200000e08b8f29bf<br />
Error: SendRLS failed for 210000e08b8f29bf</p>
<p>HBA Port WWN: 10000000c9581765<br />
OS Device Name: /dev/cfg/c3<br />
Manufacturer: Emulex<br />
Model: LP9802<br />
Type: N-port<br />
State: online<br />
Supported Speeds: 1Gb 2Gb<br />
Current Speed: 2Gb<br />
Node WWN: 20000000c9581765<br />
Link Error Statistics:<br />
Link Failure Count: 1<br />
Loss of Sync Count: 6<br />
Loss of Signal Count: 0<br />
Primitive Seq Protocol Error Count: 0<br />
Invalid Tx Word Count: 120<br />
Invalid CRC Count: 0</p>
<p>HBA Port WWN: 10000000c9582596<br />
OS Device Name: /dev/cfg/c4<br />
Manufacturer: Emulex<br />
Model: LP9802<br />
Type: N-port<br />
State: online<br />
Supported Speeds: 1Gb 2Gb<br />
Current Speed: 2Gb<br />
Node WWN: 20000000c9582596<br />
Link Error Statistics:<br />
Link Failure Count: 1<br />
Loss of Sync Count: 6<br />
Loss of Signal Count: 0<br />
Primitive Seq Protocol Error Count: 0<br />
Invalid Tx Word Count: 8<br />
Invalid CRC Count: 0</p></blockquote>
<p>Remote -port used  for display information on  remote targets,<br />
This information includes the storage manufacturer, the storage product type, WWPNs, and all of the SCSI targets that have been presented to the host.<br />
<code># fcinfo remote-port -slp 10000000c9582596</code></p>
<blockquote><p>Remote Port WWN: 50060e80042ab014<br />
Active FC4 Types: SCSI<br />
SCSI Target: yes<br />
Node WWN: 50060e80042ab014<br />
Link Error Statistics:<br />
Link Failure Count: 0<br />
Loss of Sync Count: 0<br />
Loss of Signal Count: 0<br />
Primitive Seq Protocol Error Count: 0<br />
Invalid Tx Word Count: 0<br />
Invalid CRC Count: 0</p>
<p>LUN: 0<br />
Vendor: HITACHI<br />
Product: OPEN-V      -SUN<br />
OS Device Name: /dev/rdsk/c4t50060E80042AB014d0s2</p>
<p>LUN: 1<br />
Vendor: HITACHI<br />
Product: OPEN-V*2    -SUN<br />
OS Device Name: /dev/rdsk/c4t50060E80042AB014d1s2</p>
<p>LUN: 2<br />
Vendor: HITACHI<br />
Product: OPEN-V*2    -SUN<br />
OS Device Name: /dev/rdsk/c4t50060E80042AB014d2s2<br />
LUN: 3<br />
Vendor: HITACHI<br />
Product: OPEN-V*2    -SUN<br />
OS Device Name: /dev/rdsk/c4t50060E80042AB014d3s2</p>
<p>LUN: 4<br />
Vendor: HITACHI<br />
Product: OPEN-V*2    -SUN<br />
OS Device Name: /dev/rdsk/c4t50060E80042AB014d4s2</p>
<p>LUN: 5<br />
Vendor: HITACHI<br />
Product: OPEN-V*2    -SUN<br />
OS Device Name: /dev/rdsk/c4t50060E80042AB014d5s2</p>
<p>LUN: 6<br />
Vendor: HITACHI<br />
Product: OPEN-V*2    -SUN<br />
OS Device Name: /dev/rdsk/c4t50060E80042AB014d6s2</p>
<p>LUN: 7<br />
Vendor: HITACHI<br />
Product: OPEN-V*2    -SUN<br />
OS Device Name: /dev/rdsk/c4t50060E80042AB014d7s2</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://sysinfo.bascomp.org/2007/08/solaris-10-fibre-channel-management/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>
