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

    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 Director

    By submitting your registration information to SearchStorage.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchStorage.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

This is a Q&A from SAN School Lesson 7.
Click here for more SAN School lessons.

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;

This was first published in April 2004