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:
- 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;
- Register the HBA ports and map volumes to the host by using
the following steps:
- Log on to the attached console of Oracle or the remote
host with xhost capability.
- Download and install the HBAnyware utility from the
following site:
- 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.
- Use the system command-line interface or graphical
user interface to register the HBA ports with the system.
- 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.
- When the volumes are created and mapped, restart the
host with the reboot -- -r command.
- After the host restarts, restart the HBAnyware utility.
All of the available volumes are listed under their corresponding
HBA targets.
- 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:
- Run the lputil utility by entering the following:
- From the Main Menu, press 5 (Persistent
Bindings).
- From the Persistent Bindings Menu, press 1 (Display Current Bindings). Ensure that there are no current
bindings. Remove any existing mappings.
- 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.
- Press Enter and then enter Y (Yes) to bind the targets.
- 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.
- Restart the host and examine the /var/adm/messages file
to ensure that the Emulex HBA is set up as a switch-fabric connection.