scsimgr.1m (2010 09)
s
scsimgr(1M) scsimgr(1M)
attr Name of an attribute.
value Value to set current and/or saved value of the attribute.
default When specified with the command
save_attr, the default value of the attri-
bute is persistently restored.
Note: Valid attribute names can be obtained by running the command:
scsimgr get_attr identifier
They depend on the identifier.
Supported scsimgr Commands
To get the list of supported scsimgr
commands, run the help option:
scsimgr -h
These commands are described below.
activate This operation is applicable only to devices supporting explicit Asymmetric Logical Unit
Access (ALUA) or vendor specific active-passive access. This operation can be invoked on
the given LUN or any of its LUN path.
This operation activates the LUN paths in standby state, or active non-optimized state to
active optimized state on the given LUN. This operation will have no effect if initiated on
a LUN having no standby or active non-optimized LUN paths or if the LUN does not sup-
port explicit activation of standby or active non-optimized paths.
Note: After the successful completion of the operation, LUN paths that were in active
optimized state prior to the operation may automatically switch over to standby state or
active non-optimized state.
WARNINGS:
• The
activate command can affect the state of currently active ports on the target.
This command should be used only by an experienced user. Before performing this
operation, consult the scsimgr white paper, scsimgr SCSI Management and Diagnos-
tics Utility on HP-UX 11i v3 at http://www.hp.com/go/hpux-core-docs
or
consult your HP support representative.
Usage:
scsimgr [-f] activate identifier
Note: identifier identifies a LUN or LUN path.
clear_stat/get_stat
The clear_stat command clears while get_stat displays global statistics or statis-
tics of a SCSI object or a group of SCSI objects, respectively.
The
-v option with get_stat, displays all statistics. If -v is not specified, only basic
statistics are displayed.
The
-v option with clear_stat specifies a verbose output for the execution of the com-
mand. For instance, if executed on a group of objects (for example, all_lun), the com-
mand shows the result for each SCSI object.
If no identifier or keyword for a group of SCSI objects is specified,
get_stat or
clear_stat displays or clears global generic statistics respectively.
If an identifier or a keyword for a group of SCSI objects is specified,
get_stat or
clear_stat displays or clears generic statistics (in other words, statistics commonly
defined for all class or interface drivers), respectively. It also displays or clears class
and/or interface driver specific statistics if any, if the driver provides a scsimgr plug-in
module. So there is no need to specify "-d driver" to display or clear driver specific
statistics for SCSI objects. However, to display or clear a class or interface driver global
statistics, you must specify the option "-d driver" without any SCSI object identifier or
keyword for a group of SCSI objects.
If the identifier
all is specified with clear_stat, clear_stat clears the statistics
of all SCSI HBA controllers, all target paths, all LUN paths, and all LUNs in the system.
You do not need to use any other identifiers. This operation also resets the global generic
HP-UX 11i Version 3: September 2010 − 5 − Hewlett-Packard Company 5