HP 3PAR RedHat and Oracle Linux Implementation Guide

5 Configuring a Host with Fibre Channel
This chapter describes the tasks necessary for connecting the host to Fibre Channel.
NOTE: For RHEL 6.x, follow the instructions for RHEL 5.x, unless otherwise noted. When tasks
are specific to the version of the RHEL OS, headings refer to RHEL 4, RHEL 5, or RHEL 6.
Checking the Host for Required Packages
If you are installing and building the Emulex driver, make sure the Developmental Tool package
that contains the gcc compiler is installed on the RHEL server. If not, install them from the RHEL
installation CD. After installation, verify the following gcc packages were installed. Some gcc
packages may not be needed.
The following example shows gcc compilers installed for RHEL 4 Update 6 Linux.
# rpm -qa | grep gcc
gcc-java-3.4.6-9
gcc-3.4.6-9
compat-gcc-32-c++-3.2.3-47.3
gcc-c++-3.4.6-9
compat-libgcc-296-2.96-132.7.2
libgcc-3.4.6-9
gcc-g77-3.4.6-9
libgcc-3.4.6-9
Installing the Emulex HBA
Install the Emulex host bus adapter(s) or converged network adapter(s) (CNAs) in the host in
accordance with the documentation provided with the HBAs or CNAs and host.
Building the Emulex Driver
NOTE: HP recommends using the Emulex driver, which can be downloaded from the HP Support
website:
HP Support
(Optional) Use this section only if you are installing and building the Emulex driver from the Emulex
website.
If you are using the Emulex driver that was installed by the RHEL installation, skip to “Modifying
the /etc/modprobe.conf File and Building the Ramdisk (page 33).
If you are installing the Emulex driver instead of using the in-box Emulex driver that was already
installed by the RHEL installation, follow these steps:
1. Download the driver package from the Emulex website:
Emulex
2. Extract the driver contents by issuing tar xvzf lpfc_<kernel
version>_driver_kit-<version>.tar.gz
For example:
# tar xvzf lpfc_2.6_driver_kit-8.2.0.29-1.tar.gz
lpfc_2.6_driver_kit-8.2.0.29-1/
lpfc_2.6_driver_kit-8.2.0.29-1/lpfcdriver_2.6-8.2.0.29-1.noarch.rpm
lpfc_2.6_driver_kit-8.2.0.29-1/lpfc-install
lpfc_2.6_driver_kit-8.2.0.29-1/README
32 Configuring a Host with Fibre Channel