HP StorageWorks Secure Path V3.0C for Linux and Linux Workgroup Edition Installation and Reference Guide (AA-RU7VD-TE, February 2004)
Managing Secure Path
83Secure Path v3.0C for Linux and Linux Workgroup Edition Installation and Reference Guide
# spmgr select -a
HBA –d device
This command selects the path with the indicated HBA and device and makes that
path Active.
Example:
# spmgr select –a 2300-1 –d spa
Result: The Secure Path driver selects one path from 2300-1 to unit spa and
marks it selected.
# spmgr select -c controller_serial_number
This command selects the path with the indicated controller serial number and
makes that path Active. For example, if there are three HBAs with paths through
one controller, the Secure Path driver marks one path for each device from one
HBA, not necessarily the same HBA. The result is to have identified selected
paths for multiple units with this command.
Example:
# spmgr select –c P56350A91MN19M
Result: The Secure Path driver selects each path through the controller,
P56350A91MN19M, to each unit for I/O.
# spmgr select -c controller_serial_number -d
device
This command selects the path with the indicated controller and device and makes
that path Active. This command selects one controller. Therefore, the driver is
able to mark one path for each device on that controller as selected. This
command indicates which controller to begin selecting and which unit to end
marking. If you have three HBAs with paths through that controller, the Secure
Path driver will mark one path for the device from one HBA. The overall result is
to have identified selected paths for a single unit with this command.
Example:
# spmgr select –c P56350A91MN19M –d spa
Result: The Secure Path driver selects each path through the controller,
P56350A91MN19M, to unit spa as the selected path for I/O.