This is Google's cache of http://publib.boulder.ibm.com/infocenter/dsichelp/ds6000ic/topic/com.ibm.storage.smric.help.doc/f2c_confighostddscsi_19yone.html. It is a snapshot of the page as it appeared on Dec 4, 2011 01:19:30 GMT. The current page could have changed in the meantime. Learn more

Text-only version
 
Configuring host device drivers on a Sun host

Configuring host device drivers on a Sun host

Complete this task to update the configuration files for your adapter and the Solaris device driver.

Notes:
  1. The Emulex and Sun-Emulex adapters look the same physically. However, Sun-Emulex adapters include Sun firmware, the Sun label, and a part number beginning with SG instead of LP.
  2. The QLogic and Sun-QLogic adapters look the same physically. However, Sun-QLogic adapters include Sun firmware, the Sun label, and a part number beginning with SG instead of QLA.

To configure the host device drivers, perform the following steps:

  1. Type cd /kernel/drv to change directories.
  2. Edit parameter settings in your adapter configuration file:
    AMCC adapters
    Parameters are in the /kernel/drv/jnicxxx.conf file, where the value of xxx depends on the AMCC model number. For parameter descriptions and recommendations, see Parameter settings for AMCC adapters on a Sun host.
    Emulex adapters
    Parameters are in the /kernel/drv/lpfc.conf file. For parameter descriptions and recommendations, see Parameter settings for Emulex adapters on a Sun host.
    Sun-Emulex adapters
    Parameters are in the /kernel/drv/emlxs.conf file. For parameter descriptions and recommendations, see Parameter settings for Sun-Emulex adapters on a Sun host.
    QLogic adapters
    Parameters are in the /kernel/drv/qla2300.conf file. For parameter descriptions and recommendations, see Parameter settings for QLogic QLA23xx adapters with driver level 4.03 on a Sun host or Parameter settings for QLogic QLA23xx and QLA246x adapters with a San Surf configuration on a Sun host.
    Sun-QLogic adapters
    Parameters are in the /kernel/drv/qlc.conf file. For parameter descriptions and recommendations, see Parameter settings for Sun-QLogic adapters on a Sun host.
  3. Back up the Solaris device driver configuration file, /kernel/drv/sd.conf.
  4. Edit the sd.conf file to add support for the target and LUN pairs that are configured on the host system.
    Notes:
    1. Do not change or remove entries in the sd.conf file for preexisting devices. Changing or removing entries can cause your system to become inoperable.
    2. Do not add duplicate target and LUN pairs.

    Figure 1 shows the lines that you must add to the file to access LUNs 0 to 49 on target 0 for fibre-channel connections.

    Figure 1. Example of Solaris device driver configuration file entries for fibre-channel connections
    name="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 configuration for a Sun host
    name="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;
  5. From the Sun UNIX prompt, type:
    1. cd /
    2. touch reconfigure
    3. reboot

    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.

Library | Support | Terms of use | Feedback