Configuring a QLogic HBA for SAN boot

To take advantage of the SAN boot feature with a QLogic host bus adapter (HBA) on an Oracle SPARC host, you must configure the HBA.

Before you configure the QLogic HBA, ensure that you complete the following tasks:
To configure the QLogic HBA for SAN boot, use the following steps:
  1. 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.
  2. 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.
  3. Type setenv use-nvramrc? true to enable script interpretation.
  4. Type reset-all to clear the system's registers.
  5. 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.
  6. 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: A space exists between the opening quotation mark and the forward slash.
  7. Type show-children and write down the WWPN, loop ID, and LUN of the boot device.
  8. Type WWPN yourwwpnloopidlun 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
  9. Type reset-all.
  10. Type boot vx-disk –rv, where disk is the name of your boot disk.