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:
- 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 virtual disks (VDisks) to
the host using the following steps.
- Log on to the attached console of the Sun or the remote
host with xhost capability.
- Download and install the HBAnyware utility from www.emulex.com/support/supportContact.jsp.
- 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.
- Use the SAN Volume Controller command
line interface or graphical user interface to register the HBA ports
with the SAN Volume Controller.
- 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.
- When the VDisks are created and mapped, restart the
host with the reboot -- -r command.
- 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.
- 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:
- Run the lputil utility by entering the following:
/usr/sbin/lpfc/lputil
- 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. If there are any existing mappings, remove them.
- 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.
- 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 should display.
- Restart the host and examine the /var/adm/messages file
to ensure that the Emulex HBA is set up as a switch-fabric connection.