How do I set persistent binding with Emulex HBAs on RedHat Advanced Server 2.1 - KB Article - 174846
Why should I use persistent binding on my EMC® storage array?
For a fabric configuration, EMC highly recommends enabling persistent binding. Without a persistent binding mechanism, the host will be unable to maintain a persistent logical routing of communication from a storage device object across the fabric to an EMC storage array volume. If the physical configuration of the switch is changed (for example, cables are swapped or the host is rebooted), the logical route becomes inconsistent. This could cause possible data corruption.
Modify the options lpfcdd line in the /etc/modules.conf file to set persistent binding.
At the command type cd /proc/scsi/lpfc and press the <Enter> key. The command context will be changed to /proc/scsi/lpfc.
Type grep WWPN* at the command prompt and press the <Enter> key. The initiator and target information output should be similar to the following:
1: lpfc0t00 DID 010a00 WWPN 50:06:01:60:00:60:00:ed WWNN 50:06:01:60:00:60:00:ed 1: lpfc0t01 DID 011700 WWPN 50:06:01:69:00:60:00:ed WWNN 50:06:01:60:00:60:00:ed 2: lpfc1t00 DID 010a00 WWPN 50:06:01:61:00:60:00:ed WWNN 50:06:01:60:00:60:00:ed 2: lpfc1t01 DID 011700 WWPN 50:06:01:68:00:60:00:ed WWNN 50:06:01:60:00:60:00:ed
NOTE:
In the example above :lpfcxt0x is the initiator and 50:06:01:6x:00:60:00:ed following WWPN is the Target WWPN. The number of bind entries in this example is 4.
Use a text editor to open the /etc/modules.conf file.
Add the following entries to the end of the options lpfcdd line.
NOTE:
The following entries should be entered as one line, they have been split up below for carity. The Target WWPN should have the colons removed. There should be a Target WWPN:initiator entry for each of the bind entries.
lpfc_lun_skip=1 lpfc_bind_entries=x Where x is number of bind entries, 4 in the example above. lpfc_scandown=0 lpfc_automap=0 lpfc_fcp_bind_WWPN=Target WWPN:initiator,Target WWPN:initiator,Target WWPN:initiator,Target WWPN:initiator Where Target WWPN is the Target WWPN with the colons and any spaces removed, and initiator is the initiator, both of these are obtained from step 2.
Save the chages made to /etc/modules.conf and close the text editor.
Make a new initial ram disk by typing mkinitrd at the command prompt and pressing <Enter>.
Reboot the server by typing reboot at the command line and pressing <Enter>. Persistent binding is now set on the array.
NOTE:
The persistence information should only be updated if there is a change to the WWPN that the host sees or the initiator identifier on the host.
Quick Tips content is self-published by the Dell Support Professionals who resolve issues daily. In order to achieve a speedy publication, Quick Tips may represent only partial solutions or work-arounds that are still in development or pending further proof of successfully resolving an issue. As such Quick Tips have not been reviewed, validated or approved by Dell and should be used with appropriate caution. Dell shall not be liable for any loss, including but not limited to loss of data, loss of profit or loss of revenue, which customers may incur by following any procedure or advice set out in the Quick Tips.
Article ID: SLN69583
Last Date Modified: 11/14/2010 12:00 AM
Rate this article
Accurate
Useful
Easy to understand
Was this article helpful?
Yes No
Send us feedback
Comments cannot contain these special characters: <>()\
Sorry, our feedback system is currently down. Please try again later.
Thank you for your feedback.
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please select whether the article was helpful or not.
Comments cannot contain these special characters: <>()\
characters left.
Feature not supported by browser
FireFox does not support this feature with a secure connection(https). For the best experience, we recommend using Internet Explorer or Chrome.