Set up persistent binding on an HBA

In this Ask the Expert Q&A, SAN expert Chris Poelker gives you the code to set up persistent binding on an HBA for a Unix host.

User question: How can I set up persistent binding on an HBA for a Unix host?

That is a function of the driver for the specific HBA and the SD.conf file. Use the GUI that came with the driver install software to set persistent bindings.

For JNI adapters, the utility is EZFibre. Use the target to WWN binding feature for the driver to set the WWN in the /kernel/drv/sd.conf file. You can set the proper bindings in the fcaw.conf file for JNI adapters like this:

# Configuration flag def_wwn_binding 
# Type: string; default: "$xxxxxxxxxxxxxxxx" (means WWN is "static don't care") 
# Sets the 16 digit hexidecimal default wwn binding for every target/lun 
# instance which does not explicitly define one. 
#      - A "$" preceding the string indicates static binding enabled 
#      - A "x" in place of a digit indicates "don't care" for that digit 
# *See technote for details on wwn bindings 
def_wwn_binding  = "xxxxxxxxxxxxxxxx"; 
For the SD.conf file, follow this format: 
name="sd" class="scsi" target=1 lun=0; wwn="2000004568018769"; 
name="sd" class="scsi" target=1 lun=1; 
name="sd" class="scsi" target=1 lun=2;

For more information:

Tip: Troubleshooting Fibre Channel host bus adapters in PCs

Tip: Taming HBAs

Tip: How HBAs and operating systems work together



About the author:Christopher Poelker is Christopher Poelker is a storage architect at Hitachi Data Systems, and SearchStorage.com's storage networking expert.


This was first published in April 2004

Dig deeper on NAS management

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchSolidStateStorage

SearchVirtualStorage

SearchCloudStorage

SearchDisasterRecovery

SearchDataBackup

Close