HP B- Accelerators Linux manual Loading the IO Accelerator driver, Fio-attach /dev/fct

Page 18

fio-attach /dev/fct*

10.Using the following command, check the status of all devices: fio-status-a

Your IO Accelerator devices are now successfully upgraded for this version of the HP IO Accelerator. You can now install any IO Accelerator Gen2 devices.

Loading the IO Accelerator driver

1.Load the driver:

$ modprobe iomemory-vsl

The driver automatically loads at system boot. The IO Accelerator is now available to the operating system as /dev/fiox, where x is a letter.

For this command to work on SLES 10 systems, you must edit the /etc/init.d/iomemory-vslfile init info and change udev to boot.udev. The file should look like the following:

### BEGIN INIT INFO

#Provides: iomemory-vsl

#Required-Start: boot.udev

On SLES systems you must allow unsupported modules for this command to work:

oSLES 11 Update 2: Modify the /etc/modprobe.d/iomemory-vsl.conffile, and then uncomment the appropriate line:

#To allow the ioMemory VSL driver to load on SLES11, uncomment below

allow_unsupported_modules 1

oSLES 10 SP4: Modify the /etc/sysconfig/hardware/config file so the LOAD_UNSUPPORTED_MODULES_AUTOMATICALLY sysconfig variable is set to yes:

LOAD_UNSUPPORTED_MODULES_AUTOMATICALLY=yes

2.Confirm that the IO Accelerator device is attached: fio-status

The output lists each drive and status (attached or unattached).

NOTE: If the IO Accelerator device does not automatically attach, then check the /etc/modprobe.d files to see if the auto_attach option is turned off (set to 0).

Controlling IO Accelerator driver loading

Control driver loading through the init script or through the udev command.

In newer Linux distributions, users can rely on the udev device manager to automatically find and load drivers for their installed hardware at boot time, though udev can be disabled and the init script used in nearly all cases. For older Linux distributions without this functionality, users must rely on a boot-time init script to load needed drivers. HP Support can provide an init script in /etc/init.d/iomemory-vslto load the VSL driver in older RHEL4 releases and SLES10 distributions.

Using the init script

On systems where udev loading of the driver does not work or is disabled, the init script might be enabled to load the driver at boot. On some distributions, it might be enabled by default.

Software installation 18

Image 18
Contents HP IO Accelerator Version 3.2.3 Linux User Guide Page Contents Maintenance Resources Contents summary About this guideIntroduction OverviewProduct naming Performance attributes IO Accelerator capacity 320GB 640GB Models AJ878B BK836ARequired operating environment Supported firmware revisionsSupported 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 an RPM installation package Building the IO Accelerator driver from source$ rpmbuild --rebuild iomemory-vsl-VSL-version.src.rpm Upgrading device firmware from VSL 1.x.x or 2.x.x to Upgrading procedure Fio-bugreport$ rpm -qa grep -i iomemory Fio-update-iodrive iodriveversion.fff $ rpm -e iomemory-vsl-2.6.18-194.el5-2.2.0.82-1.0$ 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.confChkconfig boot.md on Chkconfig mdadmd on $ mdadm --detail --scan$ 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 subagentRunning and configuring the Snmp subagent Manually running 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-iodriveCommon maintenance tasks Options iomemory-vsl externalpoweroverride=valueEnabling the override parameter Uninstalling the IO Accelerator driver RPM package Unloading the IO Accelerator driverDisabling 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-format Fio-detach device optionsFio-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 Monitoring IO Accelerator health Nand flash and component failureHealth 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 Subscription service ResourcesFor more information Safety and regulatory compliance Warranty informationRegulatory 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