Menu

Tree [2d5467] master /
 History

HTTPS access


File Date Author Commit
 debug 2011-03-07 Kleber Sacilotto de Souza Kleber Sacilotto de Souza [e63645] iprutils: Remove exec permission from source files
 init.d 2016-03-28 Breno Leitao Breno Leitao [334030] Support force-reload options on daemon scripts
 spec 2020-05-08 Brian King Brian King [9961e5] iprutils: Version 2.4.19
 systemd 2018-06-05 Brian King Brian King [df2be0] iprutils: Fix rpm build with new udev driven sy...
 udev 2018-06-05 Brian King Brian King [df2be0] iprutils: Fix rpm build with new udev driven sy...
 LICENSE 2004-03-08 bjking1 bjking1 [9e8c92] Added license
 Makefile.am 2018-05-13 Jakub Čajka Jakub Čajka [65ada3] Add posibility to activate ipr systemd units vi...
 README 2017-04-19 Guilherme G. Piccoli Guilherme G. Piccoli [67abd8] iprutils/trivial: improve README documentation
 bootstrap.sh 2015-02-25 Gabriel Krisman Bertazi Gabriel Krisman Bertazi [dd5895] iprutils: Add support for Autotools build system.
 configure.ac 2020-08-18 Fabrice Fontaine Fabrice Fontaine [5730e0] configure.ac: add AC_USE_SYSTEM_EXTENSIONS
 ipr.msg 2010-09-24 Kleber Sacilotto de Souza Kleber Sacilotto de Souza [988ed1] iprutils: Add Resource Path field to the device...
 iprconfig-bash-completion.sh 2015-05-07 Gabriel Krisman Bertazi Gabriel Krisman Bertazi [f44ed3] iprutils: Add smart bash completion to iprconfi...
 iprconfig.8 2016-03-29 Gabriel Krisman Bertazi Gabriel Krisman Bertazi [06be23] iprutils: Don't fail with minimum array rebuild...
 iprconfig.c 2021-11-18 Wen Xiong Wen Xiong [2d5467] iprutils: Fixes several issues in Fuel Gauge fo...
 iprconfig.h 2018-04-13 Wen Xiong Wen Xiong [981c7d] iprutils: Improve error messages when creating ...
 iprdbg.c 2014-02-07 Wen Xiong Wen Xiong [f6ee8e] Subject: iprutils: compilation fails on Ubuntu
 iprdump.8 2014-11-18 Daniel Kreling Daniel Kreling [86c5cb] iprutils: clarifying man page for iprdump utility
 iprdump.c 2020-01-07 Anatoly Pugachev Anatoly Pugachev [62d376] iprutils: fix iprdump sigserv on non-existing d...
 iprdumpfmt.8 2015-11-23 Heitor Ricardo Alves de Siqueira Heitor Ricardo Alves de Siqueira [a2d09a] iprutils: Implement ipr dump formatting tool
 iprdumpfmt.c 2015-12-02 Brian King Brian King [b460c0] iprdumpfmt: Remove unnecessary definitions
 iprinit.8 2005-02-25 brking brking [f3eff6] Makefile cleanup. Updated man pages
 iprinit.c 2018-06-05 Brian King Brian King [d8e60c] iprinit: Remove init time messages when ipr not...
 iprlib.c 2020-05-01 Brian King Brian King [c93c65] iprlib: Fixup format_req to no always return true
 iprlib.h 2019-09-14 Brahadambal Srinivasan Brahadambal Srinivasan [8edab8] iprutils: Add support for descriptor format sen...
 iprsos 2016-06-15 Brian King Brian King [739861] iprutils: Collect additional logs with iprsos
 iprsos.8 2015-07-22 Daniel Kreling Daniel Kreling [f934c5] iprutils: changing iprsos to display at stdout
 iprupdate.8 2005-02-25 brking brking [f3eff6] Makefile cleanup. Updated man pages
 iprupdate.c 2015-07-29 Gabriel Krisman Bertazi Gabriel Krisman Bertazi [9e0763] iprutils: Create common interface for get_*_fw_...
 iprutils.py 2015-05-06 Daniel Kreling Daniel Kreling [f4b65a] iprutils: adding sosreport python plugin

Read Me

# (C) Copyright 2000, 2001
# International Business Machines Corporation and others.
# All Rights Reserved. This program and the accompanying
# materials are made available under the terms of the
# Common Public License v1.0 which accompanies this distribution.

This directory contains user space tools required by the ipr device
driver.

For more detailed information about ipr and iprutils, refer to the man pages
and the Linux reference guide (SA23-1327), which is available here:

http://publib16.boulder.ibm.com/pseries/en_US/infocenter/base/HW_scsi_adapters.htm

# INSTALL
Make sure your system has the following packages installed:

     - pciutils-devel (libpci-dev in Ubuntu)
     - ncurses-devel (libncurses-dev in Ubuntu)
     - sysfsutils
     - automake
     - autoconf
     - ncurses
     - libtool

Enter the root directory and type the following commands:

      $ ./configure
      $ make
      $ make install

If the configure script is not available in your package, you can
generate it by running, on the root directory:

      $ ./bootstrap.sh			(requires Autoconf <= 2.69)

# TOOLS
iprdump - A user program meant to be run in the background to gather debug
information should an IOA failure occur.  Ideally, this program should be
started during boot time after file systems are loaded when the ipr
SCSI driver is used. An init.d script is provided to do this.

iprupdate - IOA/disk unit microcode update utility
This tool requires no arguments and should be run after each time the device driver
is loaded. It will query each adapter/disk unit for the microcode version and update 
adapters/disk units that are not currently at the minimum supported levels. An init.d
script is provided to run this at boot time.

iprinit - IOA/disk unit initialization utility
This tool requires no arguments and should be run after each time the device driver
is loaded. It will setup all ipr adapters and attached disks to run with optimal
performance and load any adapter, disk, or scsi bus configurations saved by iprconfig.
It enables U320 scsi speeds and enables tagged command queuing.

iprconfig - IOA Configuration and Recovery tool
This is an ncurses based utility used to configure ipr adapters and devices.
The basic functions of this tool are:

CONFIGURATION
1. Display hardware status.  This can be used to display all ipr SCSI disks attached
to your system. Using this option it is possible to obtain information about
each device on the system.
2. Work with SCSI Bus Configuration.  This allows flexibility in setting some
SCSI Bus parameters such is Max Bus Throughput and host SCSI ID.
3. Work with Driver Configuration.  Currently allows adjustment to the devices drivers
log level.
4. Work with disk configuration. Allows setting per device attributes, such as
queue depth.
5. Download microcode. Allows microcode to be downloaded to adapters and SCSI disks.

RAID
6. Create a disk array.  Used to create a disk array.
7. Delete a disk array. Allows you to delete existing arrays.  Data stored
on the devices will not be preserved after issuing this command.
8. Add a device to a disk array.  This option allows devices of similar capacity
to be included into an existing RAID 5 disk array.
9. Format Device for advanced function/Format Device for JBOD (Just a Bunch Of DASD) function.
Disk devices can either be formatted to 512 bytes/sector or 522 bytes/sector. Devices must
be formatted to 522 bytes/sector, or advanced function format, in order to be used in
a disk array or as a hot spare. Devices not in a disk array can be formatted to
512 bytes/sector so they can be used directly by the operating system.
10. Create a hot spare.  Configure a disk to become a hot spare, capable
of being used by the adapter to automatically replace a failed device


RECOVERY
12. Concurrent add device. Concurrently add a SCSI disk to a running system.
13. Concurrent remove device. Concurrently remove a SCSI disk from a running system.
14. Initialize and format disk. This allows you to issue a SCSI format command 
to SCSI disks. Proceed with caution when using this option.
15. Reclaim IOA cache storage. This is to be used by IBM hardware service personnel only. 
Use of this function is potentially dangerous and may delete data from the non-volatile
write cache on the adapter.
16. Rebuild disk unit data.  This option is generally used following concurrent
maintenance.  Select this option after a failing array member device has been replaced to
reconstruct device as an active array member.
17. Work with Resources Containing Cache Battery Packs.  A set of displays are used to view
the current status of the Cache Battery on resources containing battery packs and allow
maintanence actions to be performed against those resources when necessary.
18. Analyze Log. This allows you to view the error messages logged by the ipr device driver.

Changes Log:
1. Concurrent maintenance commands line changes from PCI location to physical location(3/12/2012).
   #iprconfig -c identify-slot "U5886.001.P915059-P1-D1 1"
   #iprconfig -c remove-slot "U5886.001.P915059-P1-D1 1"
   #iprconfig -c add-slot "U5886.001.P915059-P1-D1 1"
2. Work with disk enclosures
   #iprconfig -c query-disk-enclosure-status
   #iprconfig -c suspend-disk-enclosure sg8
   #iprconfig -c resume-disk-enclosure sg8
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.