HP B- Accelerators Linux Setting up Snmp for Linux, Snmp details for Linux, Files and directories

Page 27

Setting up SNMP for Linux

SNMP details for Linux

The fio-snmp-agentxSNMP agent is an RFC 2741-compliant AgentX subagent. It can work with any RFC-compliant SNMP agent, such as Net-SNMP.

The master SNMP agent defers queries to fio-snmp-agentxfor supported MIBs.

Files and directories

File

Description

 

 

/usr/share/fio/mi

HP MIB for the IO Accelerator

b/cpqIODrive.mib

 

/opt/fio/etc/snmp

HP IO Accelerator SNMP configuration

/fio-snmp-agent.co

 

nf*

 

/etc/snmp/snmpd

Master SNMP configuration file

.conf

 

/var/log/fio/fio-s

Log file for the subagent

nmp-agent.log

 

/usr/share/doc/fi

Sample configuration and testini files

o/fio-snmp-agentx

 

/conf

 

hp-ioaccel-sn

RPM that configures the /etc/snmpd.conf file and the

mp-agent-<ver

fio-snmp-agentx.conf file

sion>.x86_64.

 

rpm

 

* This file might be a symbolic link to /etc/snmp/fio-snmp-agentx.conf.

SNMP master agent

The fio-snmp-agentx, provided in the fio-utilpackage, requires an already-installed SNMP master agent. The SNMP master agent must support and be configured for AgentX connections. For more information, see the "AgentX Protocol Version 1 (http://www.ietf.org/rfc/rfc2741.txt)."

The fio-snmp-agentxis tested and verified with Net-SNMP, which is the typical SNMP agent provided with most Linux distributions. Several agents are available that support this functionality. The following sections describe Net-SNMP.

Launching the SNMP master agent

Install the Net-SNMPpackage using the package manager for your version of Linux.

Red Hat

Setting up SNMP for Linux 27

Image 27
Contents HP IO Accelerator Version 3.2.3 Linux User Guide Page Contents Maintenance Resources About this guide Contents summaryIntroduction OverviewProduct naming IO Accelerator capacity 320GB 640GB Models AJ878B BK836A Performance attributesRequired operating environment Supported firmware revisionsSupported 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 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 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/fioChkconfig boot.md on Chkconfig mdadmd on $ mdadm --detail --scan$ 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 rsyncRunning and configuring the Snmp subagent Manually running 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 overrideCommon maintenance tasks Options iomemory-vsl externalpoweroverride=valueEnabling the override parameter Uninstalling the IO Accelerator driver RPM package Unloading the IO Accelerator driverDisabling 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-format Fio-detach device optionsFio-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 Monitoring IO Accelerator health Nand flash and component failureHealth 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 Subscription service ResourcesFor more information Safety and regulatory compliance Warranty informationRegulatory 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