HP B- Accelerators Linux manual PCI0100.0

Page 31

The conditions for test mode include the following:

If the Admin has set the test_mode_enabled parameter from TRUE to FALSE, then the SNMP subagent does not attempt to run test mode but it continues processing data as usual from the IO Accelerator driver, storing the data in the MIB.

If the CONF file says that test_mode_enabled is TRUE, then the SNMP subagent first reads the testmode_file line to locate the testmode.ini file. Next, the subagent reads this file.

If the testmode.ini file shows the test mode is set to ON, then it engages the test mode.

If test mode is ON, then the SNMP subagent reads the next line, TestModeIndex, to identify which IO Accelerator to test. The number in this parameter is the PCIe device number shown using fio-statussuch as:

PCI:01:00.0

The first two numerals identify the PCIe bus number (in this case, 01). This bus number is reported in hexadecimal, whereas the TestModeIndex in the testmode.ini file must be specified in decimal. The converted number must be entered into testmode.ini file. The TestModeIndex must be a valid bus number of an IO Accelerator installed in the system.

The SNMP subagent now replaces any existing IO Accelerator driver data it might have for the IO Accelerator specified by TestModeIndex with any populated fields in the list of parameters. If a field is not populated, then the subagent retains the existing data and reports it to the MIB. If the field has a value, then the subagent replaces that data, and reports it to the MIB.

The subagent continues in test mode until the .ini file parameter is set to OFF. The test mode information is described in the testmode.ini file. A sample.ini file is located in the

/usr/share/doc/fio/fio-snmp-agentx/conf directory:

#SNMP Test Mode sample file.

#These values may be used to test the SNMP subsystem when it is in test mode. [SNMP Agent Test Mode]

TestMode = off TestModeIndex = 0

#InfoState: Note that the following states may change, but current definitions are:

#0 = unknown

#1 = detached

#2 = attached

#3 = minimal mode

#4 = error

#5 = detaching

#6 = attaching

#7 = scanning

#8 = formatting

#9 = updating firmware

#10 = attach

#11 = detach

#12 = format

Setting up SNMP for Linux 31

Image 31
Contents HP IO Accelerator Version 3.2.3 Linux User Guide Page Contents Maintenance Resources About this guide Contents summaryOverview IntroductionProduct naming IO Accelerator capacity 320GB 640GB Models AJ878B BK836A Performance attributesSupported firmware revisions Required operating environmentSupported hardware Introduction Introduction $ uname -r Software installationInstallation overview Installing RPM packages on SUSE, RHEL, and OELRpm -Uvh fio*.rpm Rpm -Uvh iomemory-vsl-kernel-version-VSL-version.x8664.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 Fio-attach /dev/fct # Provides iomemory-vsl # Required-Start boot.udevLoading the IO Accelerator driver Controlling IO Accelerator driver loading# blacklist iomemory-vsl Using the init script$ chkconfig --del iomemory-vsl $ chkconfig --add iomemory-vslHandling IO Accelerator driver unloads Setting the IO Accelerator driver optionsUsing module parameters Mounting filesystems$ modprobe iomemory-vsl auto-attach=0 One-time configurationPersistent configuration Upgrading the firmwareOptions iomemoryvsl preallocatememory=1072,4997,6710,10345 Enabling PCIe powerUsing the device as swap Using the Logical Volume ManagerEtc/mdadm.conf Configuring RAIDDevice partitions Device /dev/fio$ mdadm --detail --scan Chkconfig boot.md on Chkconfig mdadmd on$ mdadm --assemble --scan Fio-status Building a RAID 10 across multiple devicesDiscard Trim on Linux Understanding Discard Trim supportSnmp master agent Setting up Snmp for LinuxSnmp details for Linux Files and directoriesSnmp agentX subagent Configuring the Snmp master agentInstalling the Snmp subagent Yum install net-snmp rsyncManually running the Snmp subagent Running and configuring the Snmp subagentSubagent log file Enabling Snmp test mode Using the Snmp sample config filesPCI0100.0 Setting up Snmp for Linux Supported Snmp MIB fields Troubleshooting SnmpSnmp MIB Command-line utilities MaintenanceMaintenance tools Device LED indicatorsFio-update-iodrive Enabling PCIe power overrideOptions iomemory-vsl externalpoweroverride=value Common maintenance tasksEnabling the override parameter Unloading the IO Accelerator driver Uninstalling the IO Accelerator driver RPM packageDisabling auto attach Options iomemoryvsl autoattach=0 Unmanaged shutdown issuesDisabling the driver Etc/modprobe.d/iomemory-vsl.confFio-attach device options UtilitiesUtilities reference Fio-attachTmp/fio-bugreport-20100121.173256-sdv9ko.tar.bz2 Fio-beaconFio-bugreport Fio-beacon device optionsFio-detach Fio-detach device options Fio-formatFio-format options device Fio-pci-check options Fio-pci-checkFio-status device options Fio-snmp-agentxFio-status Fio-snmp-agentx 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 Software RAID and health monitoring About flashback protection technologyLimiting Apci C-states Performance and tuningIntroduction to performance and tuning Disabling DvfsSetting the interrupt handler affinity Setting Numa affinityNuma node override parameter Numa configurationAdvanced configuration example Introduction to Numa architecture13,14,18,19 Resources Subscription serviceFor more information Warranty information Safety and regulatory complianceRegulatory information Customer Self Repair Support and other resourcesBefore you contact HP HP contact informationRé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