The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`" Lokesha UNIX for Dummies Questions & Answers 4 12-19-2007 09:52 PM
Repeating "vi" ex-editor 'command mode' commands royalibrahim Shell Programming and Scripting 0 09-25-2007 12:21 AM
"vxdctl -c mode"--cluster inactive problem. ranacse SUN Solaris 4 07-24-2007 12:38 AM
"cannot display this video mode" here2learn UNIX for Dummies Questions & Answers 1 05-19-2005 06:56 AM
Why i can't use the tool "turbosoundcfg" to configure the sound in my TurboLinux? sensir163 Filesystems, Disks and Memory 3 04-04-2002 07:36 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-14-2008
Registered User
 

Join Date: May 2008
Posts: 3
Stumble this Post!
How to configure a FC HBA in "initiator mode"?

Hi all,
I have a p520 machine running 5.2ML9 with a 2Gb FC HBA from IBM, i.e.

# lscfg -vl fcs0
fcs0 U787A.001.DNZ06YM-P1-C3-T1 FC Adapter

Part Number.................80P4543
EC Level....................A
Serial Number...............1F4270A0B6
Manufacturer................001F

Our network administrator is trying to get the host to see some shared storage on our SAN, but reports that the switch sees the host as "UNKNOWN", and states that the HBA needs to be in "initiator mode". However, going into SMIT, I can't see obvious configuration options to use.

The device is seen as "AVAILABLE" as per lsdev -C. Has anyone any idea how this mode should be configured?

Many thanks,
Bookie
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 05-14-2008
Registered User
 

Join Date: Mar 2008
Location: Infractor's boudoir
Posts: 148
Stumble this Post!
Could you post the output of
# lsattr -El fscsi0
Reply With Quote
  #3 (permalink)  
Old 05-14-2008
Registered User
 

Join Date: May 2008
Posts: 3
Stumble this Post!
Sure - here it is - thanks!

# lsattr -El fscsi0
attach switch How this adapter is CONNECTED False
dyntrk no Dynamic Tracking of FC Devices True
fc_err_recov delayed_fail FC Fabric Event Error RECOVERY Policy True
scsi_id 0x110400 Adapter SCSI ID False
sw_fc_class 3 FC Class for Fabric True
Reply With Quote
  #4 (permalink)  
Old 05-14-2008
Registered User
 

Join Date: Mar 2008
Location: Infractor's boudoir
Posts: 148
Stumble this Post!
Quote:
Originally Posted by Bookie View Post
[...] # lsattr -El fscsi0
attach switch How this adapter is CONNECTED False
dyntrk no Dynamic Tracking of FC Devices True
fc_err_recov delayed_fail FC Fabric Event Error RECOVERY Policy True
scsi_id 0x110400 Adapter SCSI ID False
sw_fc_class 3 FC Class for Fabric True
So it seems that the adapter itself knows that it is attached to a switch. Thus from the AIX server side it seems ok. I assume that you have the latest adapter microcode plus AIX driver filesets installed. If you don't - update those first. What you could try then is:
firstly: have the SAN admin switch the port in question off and then on again. Check.
Secondly: if the WWN does not want to register with the switch: delete the fibre channel adapter (from slot to latest device) from the server and re-install.
# lsdev -l fcs0 -F parent
will return a slot e.g. pci03
# rmdev -dl pci03 -R
[in case of DS4K HW you might use rdac and then you need to delete dar and dac devices, too]
After all fcs, fcsi, fcsnet etc. devices are gone run
# cfgmgr

Then test again.
Reply With Quote
  #5 (permalink)  
Old 05-14-2008
Registered User
 

Join Date: May 2008
Posts: 3
Stumble this Post!
Thanks for taking the time to respond. Will try those things once network guy back in the office.

Thanks again!
Reply With Quote
  #6 (permalink)  
Old 05-15-2008
Registered User
 

Join Date: Sep 2006
Posts: 207
Stumble this Post!
Did you post the whole lscfg -vl fcs0 output?
A while ago there was a firmware bug on some adapters and they would not report the whole output, looked just like the output you posted.
If that is all the output you get then call IBM, or the people who supplied the card, and ask for the tool to reflash the card, or for a new card.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 05:10 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0