scsimgr.1m (2011 03)
s
scsimgr(1M) scsimgr(1M)
recommends that you consult your HP support representative before adding or deleting a
settable attribute 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:
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.
HP-UX 11i Version 3: March 2011 − 7 − Hewlett-Packard Company 7