Installation and Reference Guide HP StorageWorks Secure Path 3.0F Service Pack 4 for HP-UX 11i v1.0 and 11i v2.0 (5697-8001, March 2009)
When this command is invoked, the Secure Path for Active-Passive device searches for all unclaimed
units associated with the specified array and, if available, adds them to the data. At the same time,
the configuration files gets updated.
This command requires that you use administrative commands before and afterwards. Before running
the spmgr add command, new array units must be found by the system and after running the spmgr
add command, units must be claimed by the system. This command sequence must be done at least
once for adding single or multiple units.
Example:
# spmgr display –u (to identify the WWNN of the array with unmapped units)
# spmgr add –r WWNN all
# ioscan -fnC disk (for the server to claim newly added units)
# insf -e (to install and assign device files)
Deleting LUNs
The spmgr delete command provides the following options:
• # spmgr delete WWLUNID | device
• # spmgr delete –r WWNN all
To unpresent a storage device or array from the Secure Path for Active-Passive configuration, complete
the following procedure:
1. Delete the device or array from Secure Path for Active-Passive arrays using the spmgr delete
command.
2. Remove or unpresent the device from the array.
NOTE:
If a device that has been deleted and unpresented is subsequently re-presented to the array, the device
(or devices) is brought into Secure Path for Active-Passive arrays in the unattached (spmgr display
–u) list. The Secure Path for Active-Passive device keeps track of the device deleted status as long as
the server has not been rebooted.
Complete the following steps to delete a LUN from the attached list of LUNs and have that device be
seen as unattached using the spmgr display –u command:
1. Run spmgr delete command to remove the LUN.
2. Run ioscan to unattach the device.
# spmgr delete WWLUNID | device
This command verifies the device and, if correct, removes the device from the Secure Path for
Active-Passive configuration. These actions occur only on the server where the command was issued.
For shared storage, the unit must be deleted on each server that has access to it.
Syntax:
# spmgr delete WWLUNID | device
Example:
# spmgr delete fireD12
The alias fireD12 is the WWLUNID.
HP StorageWorks Secure Path 3.0F Service Pack 4 for HP-UX 11i v1.0 and 11i v2.0 65