HP B- Accelerators Linux manual Enabling PCIe power, Using the device as swap

Page 22

If the output shows that the device is running in Minimal mode, download the latest firmware from the HP website (http://www.hp.com/support), and then use the HP IO Accelerator Management Tool application or the "fio-update-iodrive (on page 49)" utility to upgrade the firmware.

CAUTION: Upgrade Path

Do not attempt to downgrade the firmware on any IO Accelerator device.

You must follow a specific upgrade path when upgrading an IO Accelerator device.

When installing a new IO Accelerator device along with existing devices, you must upgrade all of the existing devices to the latest available versions of the firmware before installing the new devices.

Consult the release notes for this IO Accelerator release before upgrading IO Accelerator devices.

IMPORTANT: The IO Accelerator device might have a minimum firmware label affixed (for

example, "MIN FW: XXXXXX"). This label indicates the minimum version of the firmware that is compatible with your device.

Enabling PCIe power

For PCIe IO Accelerators, if you have installed any dual IO Accelerator devices, such as the HP ioDrive2 Duo, then the device might require additional power than the minimum 25 W provided by PCIe Gen2 slots to properly function.

For instructions on enabling the device to draw additional power from the PCIe slots, see "Enabling PCIe power override (on page 36)."

Using the device as swap

To safely use the IO Accelerator as swap space, you must pass the swap_mode=1 kernel module parameter. To pass this parameter, add the following line to the /etc/modprobe.d/iomemory_vsl file:

options iomemory_vsl preallocate_memory=1072,4997,6710,10345

where 1072,4997,6710,10345 are serial numbers obtained from the fio-statusutility. Be sure to use serial numbers for the IO Accelerator modules and not the adapter.

A 4K sector size format is required for swap. This format reduces the driver memory footprint.

CAUTION: You must have 400MB of free RAM per 80GB of IO Accelerator capacity (formatted to 4KB block size) to enable the IO Accelerator with pre-allocation enabled for swap. Attaching an IO Accelerator with pre-allocation enabled and insufficient RAM might result in the loss of user processes and system instability.

IMPORTANT: During the loading of the IO Accelerator, the preallocate_memory parameter is recognized and the memory allocates when the specific device is attached.

Using the Logical Volume Manager

If you add the IO Accelerator as a supported type, the LVM volume group management application handles mass storage devices like the IO Accelerator. To use the LVM:

1. Locate the /etc/lvm/lvm.conf configuration file.

Software installation 22

Image 22
Contents HP IO Accelerator Version 3.2.3 Linux User Guide Page Contents Maintenance Resources Contents summary About this guideOverview IntroductionProduct naming Performance attributes IO Accelerator capacity 320GB 640GB Models AJ878B BK836ASupported firmware revisions Required operating environmentSupported hardware 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*.rpmBuilding the IO Accelerator driver from source Building an RPM installation package$ rpmbuild --rebuild iomemory-vsl-VSL-version.src.rpm Upgrading device firmware from VSL 1.x.x or 2.x.x to Fio-bugreport Upgrading procedure$ rpm -qa grep -i iomemory $ rpm -e iomemory-vsl-2.6.18-194.el5-2.2.0.82-1.0 Fio-update-iodrive iodriveversion.fff$ modprobe iomemory-vsl 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 --detail --scan Chkconfig boot.md on Chkconfig mdadmd on$ mdadm --assemble --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 subagentManually running the Snmp subagent Running and configuring the Snmp subagentSubagent log file 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-iodriveOptions iomemory-vsl externalpoweroverride=value Common maintenance tasksEnabling the override parameter Unloading the IO Accelerator driver Uninstalling the IO Accelerator driver RPM packageDisabling auto attach 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-detach device options Fio-formatFio-format options device 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 Nand flash and component failure Monitoring IO Accelerator healthHealth metrics 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 Resources Subscription serviceFor more information Warranty information Safety and regulatory complianceRegulatory 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