HP-UX Reference (11i v3 07/02) - 1M System Administration Commands N-Z (vol 4)
s
scsimgr(1M) scsimgr(1M)
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.
Usage:
scsimgr [-v] clear_stat [ identifier |
all_lun | all_ctlr ]
scsimgr [-v] clear_stat identifier {
all_lpt|all_tp}
scsimgr [-v] clear_stat -D leg_dsf
scsimgr [-v] get_stat [ identifier |
all_lun | all_ctlr ]
scsimgr [-v] get_stat identifier {
all_lpt |all_tp}
scsimgr [-v] get_stat -D leg_dsf
Note: identifier identifies a LUN, LUN path, target path, or SCSI HBA controller.
cold_bdr/lun_reset/warm_bdr
Respectively performs the following SCSI task management functions (if supported by the
interface driver):
• TARGET COLD RESET management task sent to the device.
Actions necessary to perform a cold target reset depend on the SCSI transport. In case
of Fibre Channel transports, the target is reset and a TPLO (Third Party Log Out) is per-
formed.
• LUN RESET management task sent to the device.
• TARGET WARM RESET management task sent to the device.
Usage:
scsimgr [-f] cold_bdr identifier
scsimgr [-f] lun_reset identifier
scsimgr [-f] warm_bdr identifier
Note: identifier identifies only a LUN.
ddr_add/ddr_del
Respectively adds and deletes a settable attribute scope for a driver.
Once a scope is added, it is possible to set specific attribute values at this scope. These
values will affect the default behavior for devices covered by the scope.
It is not necessary to add a scope to be able to display the values of attributes for devices
covered by the scope. The values are inherited from highest scope where the attributes are
explicitly set.
WARNING: These commands should be used with caution. It is recommended to
consult your HP support representative before adding or deleting a settable attri-
bute scope.
Usage:
scsimgr [-f] ddr_add -N attr_scope
scsimgr [-f] ddr_del -N attr_scope
ddr_list Lists driver settable attribute scopes registered on the system.
Usage:
scsimgr ddr_list
Note: The attribute scope specifies the set of devices affected by attribute values set at this
level.
To display the list of attributes that can be set at a given scope and their values, run the
command:
HP-UX 11i Version 3: February 2007 − 5 − Hewlett-Packard Company 313