scsimgr.1m (2010 09)
s
scsimgr(1M) scsimgr(1M)
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:
scsimgr get_attr -N attr_scope
For instance, if you add the scope corresponding to all disk devices from HP:
’/escsi/esdisk/0x0/HP ’
, to list attributes which can be set at this level
and their values, run the following command:
scsimgr get_attr -N ’/escsi/esdisk/HP ’ settable
For description of attributes, refer to the manpage of the
scsimgr plug-in for the
corresponding driver.
ddr_name Generates a settable attribute scope covering a SCSI object. The user can then register
the scope generated using the command option
ddr_add.
Usage:
scsimgr ddr_name identifier pdt | vid | pid | rev
where:
identifier Identifies a LUN.
pdt Includes elements down to the peripheral device identifier.
vid Includes elements down to the vendor identifier.
pid Includes elements down to the product identifier.
rev Includes elements down to the firmware revision number.
Note: the user can manually build the settable attribute scope, but this is prone to
errors. The
ddr_name command option automatically generates the settable attribute
scope from the inquiry data of the LUN, as well as the driver to which it is bound. The
user can then "cut and paste" the scope to register it with the system using the
ddr_add
command option.
For example, to register the settable attribute scope corresponding to all disk devices
bound to the same driver as disk20, and from the same vendor as disk20, run the follow-
ing command:
scsimgr ddr_name -D /dev/rdisk/disk20 vid
If the command gives the output:
SETTABLE ATTRIBUTE SCOPE
"/escsi/esdisk/0x0/COMPAQ "
the user can then register the scope generated as follows:
scsimgr ddr_add -N "/escsi/esdisk/0x0/COMPAQ "
disable/enable
Disables/enables a SCSI object. Upon disable, the object cannot be used to transfer I/Os.
If the disabled object is a LUN, all pending I/Os are aborted for that LUN. Currently
supported SCSI objects are LUNs and LUN paths.
The SCSI object can be disabled either administratively by invoking the disable com-
mand, or by the SCSI stack upon detection of certain types of critical errors. When this
condition has occurred, HP-UX logs a message in
syslog which informs the user that a
SCSI object has been disabled. In the case of the SCSI stack disabling the SCSI object,
the system administrator, after resolving the problem on the device, can invoke the
HP-UX 11i Version 3: September 2010 − 7 − Hewlett-Packard Company 7