To take advantage of the SAN boot feature with a QLogic
host bus adapter (HBA) on a Sun SPARC host, you must appropriately
configure the HBA.
Before you configure the QLogic HBA, ensure that you have
already done the following:
To configure the QLogic HBA for SAN boot, use the following
steps:
- Change to the OpenBoot prompt. For example,
you might type in a command similar to the following:
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 using the reset command.
- Type setenv use-nvramrc? true to enable
script interpretation.
- Type reset-all to clear the system's registers.
- Type show-devs to identify the device
aliases and the associated paths of devices that are connected to
the system. Write down the device alias of the first QLogic HBA.
- 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,0/pci@1/QLGC,qla@4" select-dev
Note: There
is a space between the opening quotation mark and the forward slash.
- Type show-children and write down the
WWPN, loop ID and LUN of the boot device.
- Type WWPN yourwwpn loopid lun set-boot-id,
where yourwwpn is the WWPN associated with the boot volume, loopid is
the associated loop ID, and lun is the associated LUN. The following command is an example:
5005076812345678 80 0 set-boot-id
- Type reset-all.
- Type boot vx-disk –rv, where disk is
the name of your boot disk.