Professional Documents
Culture Documents
Installation and
Configuration Tips
for Oracle Linux SANs
At a glance Introduction
The Emulex Linux driver and HBAnyware utility provide optimized
This application note is targeted towards performance and management support for Emulex LightPulse HBAs and
system and storage administrators managing
Emulex LightPulse® host bus adapters CNAs. Installation and configuration is easy and straight forward. This
(HBAs) and converged network adapters document provides tips to help server and storage administrators.
(CNAs) that are connected to a Fibre Chanel
storage area network (SAN) for use with Driver Installation
Oracle Database. This document will cover
installation and configuration of the Emulex Download the driver
driver, HBAnyware® management utility, and Download the latest Emulex driver kit for OEL5 and RHEL5 (Linux 2.6
multipathing for Oracle Enterprise Linux 5 kernel) from the Emulex web site:
(OEL5) and Red Hat Enterprise Linux 5 (RHEL5).
http://www.emulex.com/support/linux/linux_26_2.jsp
This document will also discuss installation
and configuration of MultiPulse,® an Emulex- The driver kit contains the Emulex driver in an RPM package.
exclusive multipath solution for RHEL5 and
Hewlett Packard servers. Install Linux components
The driver installation requires installation of components from the OEL5
Content or RHEL5 distribution. The required RPMs can be found on the first two
· Driver Installation installation CDs for the operating system.
· HBAnyware Installation Perform the following steps to install the Linux components for OEL5:
· DM-MPIO Installation for OEL5 and RHEL 5 From OEL5 installation CD 1:
· MultiPulse Installation for RHEL 5 cd /media/cdrom/Server
rpm –Uvh kernel-devel-2.6.18-92.el5.i686.rpm
rpm –Uvh kernel-headers*
rpm –Uvh kernel-PAE-devel*
The HBAnyware CLI supports all of the basic commands After the installation completes, type the following to
that are available in the HBAnyware GUI. The CLI is a launch the management utility:
command-line interface requiring no user interaction,
/usr/sbin/hbanyware/hbanyware
allowing commands to be integrated into scripts to
Tech Brief
Figure 1—HBAnyware GUI showing port view Use one of the following commands to install and load the
device-mapper-multipath RPM.
From OEL5 installation CD 1:
rpm -Uvh device-mapper-multipath-*
Configure Multipathing
After loading the multipath RPM, make a backup copy
of the /etc/multipath.conf file and edit the original file.
Uncomment the following entries (by removing the # ). Note
that vendor and product values are informational only and
would typically reference the storage array being used.
defaults {
user_friendly_names yes
DM-MPIO Multipath Installation }
for OEL5 and RHEL5 devnode_blacklist {
devnode “^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*”
Install DM-MPIO devnode “^hd[a-z]”
Multipathing solutions use redundant adapters to provide devnode “^cciss”
load balancing for maximum total bandwidth and failover }
to continue I/O if an adapter link goes down. The SAN can devices {
also include redundant switches and array controllers to device {
vendor “vendor”
implement a fully fault-tolerant environment.
product “product”
Device Mapper Multipath I/O (DM-MPIO) is the generic path_grouping_policy multibus
Linux multipath solution that is included with OEL5 and }
REL5. DM-MPIO provides native Linux multipath failover }
support only. This section will cover installation and basic The section devnode_blacklist includes devices that
configuration steps for DM-MPIO. It‘s assumed that the should not have multipathing enabled. This is useful if there
server has multiple HBA ports connected to a common set are direct attached SCSI or IDE drives that should not be
of storage targets. part of the multipath.
The following RPMs must be loaded: To add the multipath service to the boot sequence, type
device-mapper-1.02* the following commands:
device-mapper-multipath-0.4.7* chkconfig --add multipathd
In most OEL5 or RHEL5 installations, the device-mapper chkconfig multipathd on
RPM is loaded by default. The device-mapper-multipath Basic multipathing on Linux is Active/Active with a round-
RPM is usuallly not loaded by default and needs to be robin algorithm. More advanced features such as grouping
installed. by priority, serial, or node name can be configured after
Type the following to check for the presence of device installation.
mapper RPMs: Reboot the system to complete the installation.
rpm –qa | grep device-mapper After rebooting, login and type:
rpm –qa | grep multipath
cd /dev/mapper
Tech Brief
Verify that there are newly listed mpath* files. An example MultiPulse Multipath Installation for RHEL5
of the directory listing follows: MultiPulse is a high-availability technology that provides
# ls /dev/mapper/ failover and static load balancing capabilities for Emulex
control mpath1 mpath3 mpath5 HBAs provided by HP.
mpath0 mpath2 mpath4 VolGroup00-LogVol00
Download MultiPulse
To view a list of multipath devices, use:
MultiPulse is supported on Red Hat Enterprise Linux
# multipath –d –l
Server and SUSE Linux Enterprise Server. At the time of
# multipath –l
this publication, the latest MultiPulse driver kit can be
The following example shows 2 LUNs with 2 paths. Each downloaded from HP at:
section (mpath1, mpath0) is specific to a storage target,
http://h20000.www2.hp.com/bizsupport/TechSupport/
or LUN in this example. Multiple paths are listed for each
SoftwareDescription.jsp?lang=en&cc=us&swItem=
target. In this example, they are SCSI paths 2 (2:0:n:0) and
co-61248-1&jumpid=reg_R1002_USEN
3 (3:0:n:0), which correspond to two HBAs installed in the
initiator, or server. One HBA is active (round-robin 0 [prio=0] Install MultiPulse
[active]). The second HBA is enabled and available for After downloading the driver package, use the following
failover (round-robin 0 [prio=0] [enabled]). commands to install MultiPulse:
mpath1 (320000011c6810684) dm-4 SEAGATE,ST336854FC # tar zxf hp-lpfc-2008-05-30.tar.gz
[size=34G][features=0][hwhandler=0] # cd hp-lpfc-2008-05-30
\_ round-robin 0 [prio=0][active] # ./INSTALL
\_ 2:0:2:0 sdd 8:48 [active][undef] # rpm -Uvh hp-multipulse-2.2.22-1.linux.rpm
\_ round-robin 0 [prio=0][enabled]
\_ 3:0:2:0 sdj 8:144 [active][undef] Once the MultiPulse RPM is installed, HBAnyware can be
mpath0 (320000011c6810689) dm-2 SEAGATE,ST336854FC used to monitor and configure multipath connections.
[size=34G][features=0][hwhandler=0]
\_ round-robin 0 [prio=0][active]
Figure 2—HBAnyware GUI showing multipath connections
\_ 2:0:0:0 sdb 8:16 [active][undef]
\_ round-robin 0 [prio=0][enabled]
\_ 3:0:0:0 sdh 8:112 [active][undef]
This document refers to various companies and products by their trade names. In most, if not all cases, their respective companies claim these designations as trademarks or
registered trademarks. This information is provided for reference only. Although this information is believed to be accurate and reliable at the time of publication, Emulex assumes
no responsibility for errors or omissions. Emulex reserves the right to make changes or corrections without notice. This report is the property of Emulex and may not be duplicated
without permission from the Company. 09-490 · 12/08
World Headquarters 3333 Susan Street, Costa Mesa, CA 92626 +1 714 662 5600
www.emulex.com Wokingham, UK +44 (0) 118 977 2929 | Munich, Germany +49 (0) 89 97007 177
Paris, France +33 (0) 158 580 022 | Beijing, China +86 (10) 68499547