HP B- Accelerators Linux manual Building the IO Accelerator driver from source

Page 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.

oOn 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-develor kernel-headerspackages. 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).

oOn 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

Software installation 14

Image 14
Contents HP IO Accelerator Version 3.2.3 Linux User Guide Page Contents Maintenance Resources Contents summary About this guideProduct naming IntroductionOverview Performance attributes IO Accelerator capacity 320GB 640GB Models AJ878B BK836ASupported hardware Required operating environmentSupported firmware revisions Introduction Introduction Installing RPM packages on SUSE, RHEL, and OEL Software installationInstallation overview $ uname -rRpm -Uvh iomemory-vsl-kernel-version-VSL-version.x8664.rpm Rpm -Uvh fio*.rpm$ rpmbuild --rebuild iomemory-vsl-VSL-version.src.rpm Building an RPM installation packageBuilding the IO Accelerator driver from source Upgrading device firmware from VSL 1.x.x or 2.x.x to $ rpm -qa grep -i iomemory Upgrading procedureFio-bugreport $ modprobe iomemory-vsl Fio-update-iodrive iodriveversion.fff$ rpm -e iomemory-vsl-2.6.18-194.el5-2.2.0.82-1.0 Controlling IO Accelerator driver loading # Provides iomemory-vsl # Required-Start boot.udevLoading the IO Accelerator driver Fio-attach /dev/fct$ chkconfig --add iomemory-vsl Using the init script$ chkconfig --del iomemory-vsl # blacklist iomemory-vslMounting filesystems Setting the IO Accelerator driver optionsUsing module parameters Handling IO Accelerator driver unloadsUpgrading the firmware One-time configurationPersistent configuration $ modprobe iomemory-vsl auto-attach=0Using the Logical Volume Manager Enabling PCIe powerUsing the device as swap Options iomemoryvsl preallocatememory=1072,4997,6710,10345Device /dev/fio Configuring RAIDDevice partitions Etc/mdadm.conf$ mdadm --assemble --scan Chkconfig boot.md on Chkconfig mdadmd on$ mdadm --detail --scan Building a RAID 10 across multiple devices Fio-statusUnderstanding Discard Trim support Discard Trim on LinuxFiles and directories Setting up Snmp for LinuxSnmp details for Linux Snmp master agentYum install net-snmp rsync Configuring the Snmp master agentInstalling the Snmp subagent Snmp agentX subagentSubagent log file Running and configuring the Snmp subagentManually running the Snmp subagent Using the Snmp sample config files Enabling Snmp test modePCI0100.0 Setting up Snmp for Linux Troubleshooting Snmp Supported Snmp MIB fieldsSnmp MIB Device LED indicators MaintenanceMaintenance tools Command-line utilitiesEnabling PCIe power override Fio-update-iodriveEnabling the override parameter Common maintenance tasksOptions iomemory-vsl externalpoweroverride=value Disabling auto attach Uninstalling the IO Accelerator driver RPM packageUnloading the IO Accelerator driver Etc/modprobe.d/iomemory-vsl.conf Unmanaged shutdown issuesDisabling the driver Options iomemoryvsl autoattach=0Fio-attach UtilitiesUtilities reference Fio-attach device optionsFio-beacon device options Fio-beaconFio-bugreport Tmp/fio-bugreport-20100121.173256-sdv9ko.tar.bz2Fio-detach Fio-format options device Fio-formatFio-detach device options Fio-pci-check Fio-pci-check optionsFio-snmp-agentx options Fio-snmp-agentxFio-status Fio-status device optionsUtilities Fio-sure-erase Fio-sure-erase options device Fio-update-iodrive Fio-update-iodrive options iodriveversion.fff Domainbusslot.func Health metrics Monitoring IO Accelerator healthNand flash and component failure Health monitoring techniques About flashback protection technology Software RAID and health monitoringDisabling Dvfs Performance and tuningIntroduction to performance and tuning Limiting Apci C-statesSetting Numa affinity Setting the interrupt handler affinityIntroduction to Numa architecture Numa configurationAdvanced configuration example Numa node override parameter13,14,18,19 For more information Subscription serviceResources Regulatory information Safety and regulatory complianceWarranty information HP contact information Support and other resourcesBefore you contact HP Customer Self RepairRéparation par le client CSR Riparazione da parte del cliente Reparaciones del propio cliente Reparo feito pelo cliente Support and other resources Support and other resources Support and other resources Acronyms and abbreviations SMH Documentation feedback Index Uninstalling utilities