Configuring a JNI or AMCC HBA for SAN boot

To take advantage of the SAN boot feature on a Sun SPARC host, you must appropriately configure the HBA.

Before you configure the HBA, ensure that you have already completed the following actions:
To configure the HBA for SAN boot, use the following steps:
  1. Change to the OpenBoot prompt.
    For example, you might type in a command similar to the following: shutdown -i0 -g0 -y
  2. At the OK prompt, type setenv auto-boot? false.
    This command specifies that the system does not restart after a power failure or after using 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 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.
  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,2000/JNI,FCR@1" select-dev
    Note: There is a space between the opening quotation mark and the forward slash.
  7. Type set-pconfig.
  8. Type set-speed.
  9. Run probe-scsi-all and note the WWPN associated with the boot volume.
  10. Type set-bootp-wwn and enter the WWPN found in the previous step.
  11. Type set-nvp-valid and type FF as the offset when prompted.
  12. Type reset-all.
  13. Type boot vx-disk –rv, where disk is the name of your boot disk.