After you have installed the Emulex host bus adapter (HBA)
and the driver on the Sun SPARC host, you must configure the Emulex
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 volumes 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 shows a list with both adapters listed, and all of the connected
remote ports listed as targets.
- Use the Lenovo Storage V7000 system command-line interface or graphical
user interface to register the HBA ports with the Lenovo Storage V7000 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 Lenovo Storage V7000 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 has been restarted, 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 SAN booting the machine, you must use static port binding.
Otherwise, use dynamic binding. If you use static port binding with
the Lenovo Storage V7000 systemvolumes, perform
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. 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 Lenovo Storage V7000 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.