Building the io accelerator driver from source, Building an rpm installation package – HP MSR Encryption Accelerators User Manual

Page 14

Advertising
background image

Software installation 14

Package type Installation location

SNMP MIB

/usr/share/fio/mib

IMPORTANT:

HP IO Accelerator Management Tool 3.0 Installation

HP IO Accelerator Management Tool 3.0 is a free GUI solution for managing IO Accelerator

devices. The tool is also available from the HP website (

http://www.hp.com/support

).

Uninstall any previous versions of HP IO Accelerator Management Tool before installing the latest

version. To install and use HP IO Accelerator Management Tool, download and follow the

installation and user guides located in the ioSphere download folder.

When all package installations are complete, go to "Loading the IO Accelerator driver (on page

18

)."

Building the IO Accelerator driver from source

The IO Accelerator driver is distributed as a source package. If a binary version of the software is not
available, you must build the IO Accelerator driver from source. Use the source package that is made for your

distribution. Source packages from other distributions might not work.

1.

Download current IO Accelerator source and support packages from the HP website
(

http://www.hp.com/support

).

IMPORTANT:

The exact source package to download depends on your operating system, but it

is either an RPM package (for operating systems that use RPM packages) or a tar installation

package (for all other operating systems).

2.

Change directory to where you downloaded the source package.

3.

To create a customized installation package, follow the instructions in "Building an RPM installation
package (on page

14

)".

Building an RPM installation package

1.

Install the prerequisite files for your kernel version.

IMPORTANT:

Some of the prerequisite packages might currently be in the default OS

installation. If the system is not configured to get packages over the network, you might have to

mount the install CD/DVD.

o

On RHEL 5/6, you need kernel-devel, kernel-headers, rpm-build, GCC4, and rsync:
$ yum install kernel-devel kernel-headers rpm-build gcc rsync

CAUTION:

The yum option might not install the correct (matching) kernel versions of

kernel-devel or kernel-headers packages. The yum option will download the latest

version. Use the following command to force yum to download the exact versions:

yum install kernel-headers-`uname -r`

kernel-devel-`uname -r` gcc rsync rpm-build

If the exact versions are no longer available in the repository, you must manually download them

from the Internet. For more information, contact HP Support (

http://www.hp.com/support

).

o

On SLES 10/11 you need kernel-syms, make, rpm-build, GCC4, and rsync:
$ zypper install kernel-syms make rpm-build gcc rsync

2.

Build an RPM installation package for the current kernel:
$ rpmbuild --rebuild iomemory-vsl-<VSL-version>.src.rpm

Advertising