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+

Content

Find more PRO+ content and other member only offers, here.

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

  • Flash technologies remain hot in 2016, experts predict

    Experts predict solid-state technology will remain hot in 2016, leading to the demise of high-speed hard disk drives, as ...

  • Tintri VMstore T5000

    Like all of its VM-aware storage systems, Tintri’s first all-flash array -- the Tintri VMstore T5000 -- allows admins to bypass ...

  • SolidFire SF9605

    The high-capacity SolidFire SF9605 uses SolidFire’s Element OS 8 (Oxygen) to deliver new enterprise features such as synchronous ...

SearchVirtualStorage

SearchCloudStorage

SearchDisasterRecovery

SearchDataBackup

Close