HP Storage Provisioning Manager (SPM) version 2.3 User Guide

Table 6 (page 121) lists the parameters used with the SPMRezone.ps1 script. The port group and
array name parameters are optional. If no port group is specified, SPM will use the least-used port
algorithm to choose a new port group.
Table 6 Rezoning script parameters
DescriptionParameter
The tcp port number to use. The default is 8000.-Port <port#>
A valid login name. If not included, the script prompts for a login name.-Login <login name>
A valid password. If not included, the script prompts for a password.-Password <password>
The web protocol to use, http or https. The default is https.-UseHttp
The WWN of the initiator to be rezoned. This parameter is required.-InitiatorWWN <wwn>
Optional name of port group to be used.
To enable SPM to automatically choose the port group to which the initiator should
be moved, do not specify a port group. In this case, SPM uses the least-used-port
algorithm to determine which port group the service should use.
-PortGroup <group name>
Optional name of array for which target ports should be rezoned.
If no array name is specified, SPM acts on all services that reference the specified
initiator. If an array name is specified, SPM limits its actions to those services that
present volumes on the specified array to the specified initiator.
-ArrayName <array name>
Limitations when using the rezoning script
The rezoning script must run on the CMS where SPM is installed.
While the rezoning script is running, no operations should be performed on any service
referencing the initiator provided to the script.
The rezoning script should not be started when operations on any service referencing the
initiator provided to the script are in flight.
SPM rezoning script 121