Readme: 3PAR Multipath I/O 2.2 for IBM AIX (June 2013)
Page 4
320-1405-03 3PAR MPIO for IBM AIX November 2007
Utility Scripts
There are some useful 3PAR utility scripts that reside in the /usr/lpp/3PARmpio/bin:
•
3par_dyntrk.sh [-a] - This script enables the dynamic tracking features on adapters that
have 3PAR devices attached. If it is preferable to enable dynamic tracking on all adapters, the
-a
option can be used.
• 3par hdisk2vv.sh - This script takes an AIX hdisk as input and converts it to its associated
3PAR virtual volume.
•
3par_vv2hdisk.sh - This script takes a 3PAR Virtual Volume (VV) as input and converts it to its
associated AIX hdisk.
• 3par_pathmon.sh [-d -s -r -a] [-b] [-i interval]: - This daemon-like program is
designed to monitor the 3PAR device paths in Failed state. For all Failed state paths, which the
health check function cannot bring back, a chpath is issued to enable these paths. By default
the program will check the path state every 20 seconds. To change the interval, the program
needs to be stopped by using the -d option, then restarted by using the -i option with the
preferred time interval in seconds. The -s option checks the program status. The program has
an entry named 3par_pathmon in the /etc/inittab with once setting. To remove the entry,
issue the 3par_pathmon.sh script with the -r option. If the entry is removed by the –r
option, the path monitoring program will NOT auto run in the next reboot. To re-add the entry,
issue the 3par_pathmon.sh script with the -a option. The -b option runs the program in
debug mode. For details of the health check function, see the following section, Manage 3PAR
MPIO Device by SMIT.
•
3par_explorer.sh - This script takes a system snapshot and compresses the output for
debugging purpose.
CAUTION: The following two scripts are needed ONLY during the change of the AIX OS kernel
mode. Incorrectly executing these scripts can cause the 3PAR device(s) to be un-
configured.
• 3par_enable32.sh - Enables the 3PARmpio 32 bit package.
•
3par_enable64.sh - Enables the 3PARmpio 64 bit package.