标题: Configuring host device drivers for Sun [打印本页] 作者: wenzk 时间: 2005-12-28 22:56 标题: Configuring host device drivers for Sun
The following instructions explain how to update the device driver
configuration file on the Sun host to enable access to target and LUN pairs
that are configured on a DS8000.
Perform the following steps to update the Solaris driver configuration
file:
Note:
Do not change or remove entries in kernel /drv/sd.conf for preexisting
devices. Doing so can cause your system to become inoperable.
Do not add duplicate target and LUN pairs.
Change directories by typing: cd /kernel/drvBackup the sd.conf file in this subdirectory.Edit the sd.conf file to add support for the target and LUN pairs
that are configured on the host system. Figure 1
shows
the lines that you must add to the file to access LUNs 0 - 49 on target 0
for fibre-channel.
Figure 1. Example of
sd.conf file entries for fibre-channelname="sd" class="scsi"
target=0 lun=0;
name="sd" class="scsi"
target=0 lun=1;
name="sd" class="scsi"
target=0 lun=2;
name="sd" class="scsi"
target=0 lun=3;
name="sd" class="scsi"
target=0 lun=4;
name="sd" class="scsi"
target=0 lun=5;
name="sd" class="scsi"
target=0 lun=6;
name="sd" class="scsi"
target=0 lun=7;
name="sd" class="scsi"
.
.
.
name="sd" class="scsi"
target=0 lun=48;
name="sd" class="scsi"
target=0 lun=49; Figure 2
shows the
start lpfc auto-generated configuration. Note: You will delete anything that
you put within this auto-generated section if you issue the pkgrm command
to remove the lpfc driver package. You might want to add additional lines
to probe for additional LUNs or targets. Delete any lines that represent lpfc
targets or LUNs that are not used.
Figure 2. Example of a start lpfc auto-generated configurationname="sd" parent="lpfc" target=0 lun=0;
name="sd" parent="lpfc" target=1 lun=0;
name="sd" parent="lpfc" target=2 lun=0;
name="sd" parent="lpfc" target=3 lun=0;
name="sd" parent="lpfc" target=4 lun=0;
name="sd" parent="lpfc" target=5 lun=0;
name="sd" parent="lpfc" target=6 lun=0;
name="sd" parent="lpfc" target=7 lun=0;
name="sd" parent="lpfc" target=8 lun=0;
name="sd" parent="lpfc" target=9 lun=0;
name="sd" parent="lpfc" target=10 lun=0;
name="sd" parent="lpfc" target=11 lun=0;
name="sd" parent="lpfc" target=12 lun=0;
name="sd" parent="lpfc" target=13 lun=0;
name="sd" parent="lpfc" target=14 lun=0;
name="sd" parent="lpfc" target=15 lun=0;
name="sd" parent="lpfc" target=16 lun=0;
name="sd" parent="lpfc" target=17 lun=0;
name="sd" parent="lpfc" target=17 lun=1;
name="sd" parent="lpfc" target=17 lun=2;
name="sd" parent="lpfc" target=17 lun=3;
Type either:
reboot -- -r from the Open Windows® window
to shutdown and restart the Sun host system with the kernel reconfiguration
option
boot -r from the OK prompt after you shutdown
The fibre-channel adapters that are supported for attaching the storage
unit to a Sun host are capable of full-fabric support. Ensure that all fibre-channel
driver configurations include worldwide port name, worldwide node name, port
ID, or host adapter binding of target LUN pairs.
Binding of target LUN
pairs implements the Solaris fibre-channel host adapter configuration file
that is installed by the adapter software package. Refer to the manufacturer's
adapter documentation and utilities for detailed configuration instructions.
You
can tune fibre-channel host adapter configuration files for host system reliability
and performance. Parameter settings for the AMCC adapters for the Sun host system
The following table provides the parameter settings for the QLogic
QLA23xx adapters for storage units with the San Surf configuration
(4.06+ driver). Parent topic: Sun host attachment