Configuring the Emulex HBA by using Emulex lpfc driver for Oracle SPARC hosts

After you install the Emulex host bus adapter (HBA) and the driver on the Oracle SPARC host, you must configure the Emulex HBA.

To configure the Emulex HBA for an Oracle SPARC host, complete 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 volumes to the host by using the following steps:
    1. Log on to the attached console of Oracle or the remote host with xhost capability.
    2. Download and install the HBAnyware utility from the following site:
    3. Start the HBAnyware configuration utility by entering the following:
      /usr/sbin/hbanyware/hbanyware

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

    4. Use the system command-line interface or graphical user interface to register the HBA ports with the system.
    5. Create the necessary volumes 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 system/SIS candidate HBA port list, or by using the Solaris prtconf tool.
    6. When the volumes are created and mapped, restart the host with the reboot -- -r command.
  3. After the host restarts, restart the HBAnyware utility.
    All of the available volumes are listed under their corresponding HBA targets.
  4. Decide between dynamic port binding or static port binding. If you are using the Subsystem Device Driver (SDD) or are booting the machine, you must use static port binding. Otherwise, use dynamic binding. If you use static port binding with the system volumes, complete 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. Remove any existing mappings.
    4. Again, from the Persistent Bindings Menu, press 5 (Bind Automapped Targets) and then press the appropriate number to select adapter 0.
      If your system has four nodes, you 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 are shown.
  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.