Configuring the Emulex HBA using Emulex lpfc driver for Sun SPARC hosts

After you have installed the Emulex host bus adapter (HBA) and the driver on the Sun SPARC host, you must configure the HBA.

To configure the Emulex HBA for a Sun SPARC host, use the following steps:

  1. Modify the sd.conf file (in the /kernel/drv/ directory) to inform the Solaris operating system about the new SCSI target device and LUNs. For example, if you had four LUNs, you would add lines similar to the following example lines:
    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;
  2. Register the HBA ports and map virtual disks (VDisks) to the host using the following steps.
    1. Log on to the attached console of the Sun or the remote host with xhost capability.
    2. Download and install the HBAnyware utility from www.emulex.com/support/supportContact.jsp.
    3. Start the HBAnyware configuration utility by entering the following:
      /usr/sbin/hbanyware/hbanyware

      The user interface will display a list with both adapters listed, and all of the connected remote ports listed as targets.

    4. Use the SAN Volume Controller command line interface or graphical user interface to register the HBA ports with the SAN Volume Controller.
    5. Create the necessary VDisks and map them to the host.
      Note: You can obtain the HBA worldwide port name (WWPN) from the /var/adm/messages file, the HBAnyware utility, the SAN Volume Controller/SIS candidate HBA port list, or by using the Solaris prtconf tool.
    6. When the VDisks are created and mapped, restart the host with the reboot -- -r command.
  3. After the host has been restarted, restart the HBAnyware utility. It should show all of the available VDisks under the listing of their corresponding HBA targets.
  4. Decide whether you will use dynamic port binding or static port binding. If you are using the subsystem device driver (SDD) or are SAN booting the machine, you must use static port binding. Otherwise, use dynamic binding. If you use static port binding with the SAN Volume Controller VDisks, perform the following steps:
    1. Run the lputil utility by entering the following:
      /usr/sbin/lpfc/lputil
    2. From the Main Menu, press 5 (Persistent Bindings).
    3. From the Persistent Bindings Menu, press 1 (Display Current Bindings). Ensure that there are no current bindings. If there are any existing mappings, remove them.
    4. Again, from the Persistent Bindings Menu, press 5 (Bind Automapped Targets) and then press the appropriate number to select adapter 0. Assuming that your SAN Volume Controller has four nodes, you should see four targets.
    5. Press Enter and then enter Y (Yes) to bind the targets.
    6. Repeat steps 4.d through 4.e for adapter 1. After you complete these steps, when you display the current bindings (by pressing 1 from the Persistent Bindings Menu), eight persistent targets should display.
  5. Restart the host and examine the /var/adm/messages file to ensure that the Emulex HBA is set up as a switch-fabric connection.
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2003, 2009. All Rights Reserved.