To take advantage of the SAN boot feature with an Emulex host bus adapter
(HBA) on an Oracle SPARC host, you must configure the HBA.
Before you begin
Before you configure the Emulex HBA, ensure that you complete these actions:
- Configured the HBA for static port binding.
- Configured and mapped the volume that serves as the SAN boot disk.
- Configured the LUNs for use with VERITAS Volume Manager with DMP.
- Mirrored the boot volume onto the discovered LUNs.
- Installed the correct level of FCode on your HBA. To find the correct level, see the supported
hardware list at the following website:
www.ibm.com/support
About this task
To configure the Emulex HBA for SAN boot, complete the following steps:
Procedure
- Start the lputil utility (/usr/sbin/lpfc/lputil).
- At the main menu, enter
3
(Firmware
Maintenance).
-
At the firmware maintenance menu, enter
6
(Boot BIOS Maintenance). If the boot
code is disabled, press 1
to enable it.
- Change to the OpenBoot prompt.
For example, you might enter a command that is similar to the following command:
shutdown -i0 -g0 -y
Note: An ok
displays for the prompt when
you are at the OpenBoot prompt.
-
Type
setenv auto-boot? false
.
This command specifies that the system will not reboot after a power failure or after you use
the reset command.
- Type
setenv
use-nvramrc? true
to enable
script interpretation.
- Type
reset-all
to
clear the system's registers.
- Type
devalias
to
identify the device aliases
and the associated paths of devices that are connected to the system.
Note the device alias of the HBA, which presents your SAN boot volume.
- Select the HBA device by typing
"/devicestring"
select-dev
, where /devicestring is the
device alias string that you wrote down. The following command is an
example:
" /pci@1f,2000/lpfc@1" select-dev
Note: A space exists between the
opening quotation mark and the forward slash.
- Type
set-default-mode
to reset
the HBA
parameters.
- Type
set-ptp
to
set the HBA to point mode.
- Run
probe-scsi-all
.
Note the WWPN associated
with the boot volume, along with its LUN and target IDs. This information
is required for the next step.
- Type
WWPN yourwwpn lun targetid
,
where yourwwpn is the WWPN associated with the
boot volume, lun is the associated LUN, and targetid is
the associated target ID. The following command is an
example:
WWPN 5005076803041234 0 3
- Type
reset-all
.
- Type
boot
vx-disk –rv
,
where disk is the name of your boot disk.