
49
Symmetrix Fibre Channel with Qlogic HBAs on Linux Hosts
Fabric Configurations
6. In a fabric environment, persistent binding must be enabled.
Without a persistent binding mechanism, the host will be unable
to maintain persistent logical routing of the communication from
a storage device object across the fabric to a Symmetrix 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, which could cause possible data
corruption.
To enable persistent binding for the modular driver, you must
edit /etc/conf.modules. The initiator and target information
necessary for persistent binding are logged in /var/log/messages
when the driver loads. grep the file to obtain the adapter and
target information:
grep scsi-qla /var/log/messages
The output will be similar to the following:
Jan 9 11:24:48 denali kernel: scsi-qla0-adapter-node=0000000000000000;
Jan 9 11:24:48 denali kernel: scsi-qla0-adapter-port=200000e08b009209;
Jan 9 11:24:48 denali kernel: scsi-qla0-target-0=500604800000000c;
The above information is appended to /etc/conf.modules. Use the
ql2xopts parameter to add the persistent binding information to
the file. An example of the /etc/conf.modules configuration file
for a uni-processor system would be:
alias scsi_hostadapter aic7xxx
alias scsi_hostadapter qla2x00
options qla2x00 ql2xopts=scsi-qla0-node=0000000000000000\;scsi-qla0-
adapter-port=200000e08b009209\;scsi-qla0-target-0=500604800000000c\;
When configuring and manually loading the qla2x00(smp) module with
persistent binding information, you must use modprobe rather than
insmod. modprobe is a wrapper that is an extension to insmod. This
utility will load the driver and automatically read the /etc/conf.modules
configuration file.
7. Run the following command to update your
/lib/modules/$1/modules.dep file (where $1 is the kernel version)
with the information you added to /etc/conf.modules:
depmod -a
8. Proceed to Required Kernel Modifications on page 60 to modify and
compile the Linux kernel.
Comentários a estes Manuais