User question: How can I set up persistent binding on an HBA for a Unix host?
That is a function
Requires Free Membership to View
When you register for SearchStorage.com, you’ll also receive targeted emails from my team of award-winning editorial writers. Our goal is to keep you informed on the hottest topics, the latest news and the biggest challenges you face as a storage professional today.
Rich Castagna, Editorial DirectorFor 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 PCsTip: 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