Installing HBAs/Drivers on an HP-UX Host



Setting up a host environment


Select a host: HP-UX

Select a HP-UX task: Installing HBAs/drivers




·             Installing HBA(s) on an HP-UX Host 3

·             Installing an HBA driver on an HP-UX host 4

·             Making LUNs or Devices available to HP-UX.. 5



Install/Setup HBA/Driver Environment on HP-UX

Using various procedures, this section for HP-UX, featuring HP HBA environments describes how to install and setup host bus adapters and other aspects of a host environment that deal with managing devices of a storage system.  A series of procedures take you from installing HBAs, HBA drivers, to installing and setting up HBA firmware and driver software.



·              Installing HBA(s) on an HP-UX Host



This procedure describes how to install HBAs on an HP-UX host.


This procedure is based on content from the following EMC manual:

  • EMC Host Connectivity Guide for HP-UX
  • EMC Support Matrix HPQ


You can download these guides from EMC Online Support (registration required):


Skip the following two steps if the HBA(s) are already installed.




Install Adapter in card slot

With host system power removed, install the HBA(s) by following the HP instructions included with your adapter. The adapter installs into a single slot per HP requirements.


Repeat the installation steps for each host system in which you are installing Fibre Channel HBAs.




Apply power and boot

Reapply power and allow the system to boot normally.





7Table of Contents


·              Installing an HBA driver on an HP-UX host


Locate the appropriate driver software

When installing or upgrading drivers, be sure to use the latest versions supported by EMC. Review the E-Lab Interoperability Navigator for the latest information on approved HBAs and drivers. Refer to the release notes provided with the driver for information that might be unique to new driver revisions. The following approved Hewlett-Packard HBAs are on the current supported list:







These typically plug into a PCI bus that adapt to FC-AL and FC-SW Fibre topologies.

Make sure it is a supported version specified in the EMC E-Lab Navigator. Within E-Lab Navigator, click on the PDFs and Guides tab and locate the EMS PDF for the EMC Support Matrix HPQ document which defines the appropriate software versions to apply.



Download the appropriate driver and firmware

Go to the HP download site, look for the appropriate driver and firmware for your specific HBA, and download the appropriate HBA software. Follow the directions provided in the HP documentation for installing drivers and firmware. Typically, it will be an SD-UX object, either a fileset, product, or bundle. You can use the following form to install driver software:


swinstall [-i] [-p] [-v] [-s source] [-x option=value]…





Cable the HBA connections

Cable the new HBA. Label each cable to identify the HBA and the Symmetrix FA, hub, or switch port that it connects to.




Reboot the HP-UX host

Reboot the HP-UX operating system.




Discover the HBA WWN

To determine the WWN of the new HBA, enter the following:


ioscan –fnC fc


or use the following fcmsutil utility:


/opt/fcms/bin/fcmsutil /dev/fcd0 [or td0]




7Table of Contents



·        Making LUNs or Devices available to HP-UX



This procedure describes how to make the LUNs or devices available or visible to an HP-UX host. It describes how to use the format command to label and partition devices.


This procedure is based on content from the following EMC manual:

  • EMC Host Connectivity Guide for HP-UX


You can download the guide from EMC Online Support (registration required):


Note and Caution: If your host system cannot see the devices, it may necessary to do a disk or device scan of the I/O bus with this procedure. If you must, at an appropriate low-peak time in your production environment, apply the necessary operating system native commands, to perform a device scan (discover) to make the devices visible to the host workstation. This might take a few minutes or so to execute. Be sure you follow your operating system specific administrators guide and/or known site procedures for this operation, as scanning devices can cause pauses and crashes to other operational processes running on this host. If you can and prefer, a reboot will also accomplish the same thing (device discovery). The following steps are provided only as a general or possible guide and not meant to supersede your site preferences.




Discover devices:

The host can discover and identify the connected devices in the storage array using the following command:


Verify you are logged in as root and discover the devices and capture the device list in file orig.scan with the following command:


ioscan –fnC disk > orig.scan




Create another device names file:

Create device names files for any new devices by installing special files using the command:


insf -e




Verify devices:

Verify that HP-UX sees all devices. Use SAM or the following UNIX command and direct output to lun.scan:


ioscan –kfnC disk > lun.scan




Examine the device file:

To view the lun.scan file:


more lun.scan


Compare the list of disks in the orig.scan file with the list in the lun.scan file.

The list in the lun.scan file should contain an entry for each new storage-system device.  If you see no devices (other than LUN 0), the server does not see the storage system, which could be because:


· No disk modules in the array were masked to the host HBA or they were not mapped to the FA.

· The array has a defective component in the Fibre Channel path: Fibre Channel adapter, Fibre Channel cable, hub, switch, or FA. 

· Review the zoning configuration.

· The Fibre Channel adapter software driver is not installed in the kernel.  Install the driver, rebuild the kernel, and reboot the server.




7Table of Contents