HP Storage Provisioning Manager (SPM) version 2.3 User Guide

I Additional tools
This appendix provides information on tools available for use with SPM.
SPM rezoning script
If the port group chosen by SPM or specified by a port group requirement must be changed, a
number of manual steps must be performed. To simplify this process, a Windows PowerShell script
(SPMRezone.ps1) is provided to manage rezoning automatically. The rezoning script performs
the following major tasks:
Deletes the zones created by SPM connecting a specified initiator to ports on storage systems
managed by SPM.
Creates new zones for that initiator using ports in a different port group.
It may be necessary to change port groups if administrators using SPM determine that some ports
on a storage system are overloaded. To balance the system, steps can be taken to move some of
the load to other ports. Using the SPM rezoning script to move initiators to other ports typically
involves the following steps:
1. Identify the initiator WWNs that connect to the overloaded ports, and which WWNs should
be moved to different ports.
2. Identify the port group to which each initiator WWN should connect.
3. Run the SPMRezone.ps1 script once for each initiator to be moved, identifying the port group
to which it should be moved.
NOTE: Reconfiguring ports requires close coordination between the administrators managing
the hosts using storage on the storage system, and the administrators managing the storage system
itself.
Considerations when using the rezoning script
If the initiators to be moved are part of a redundant path, the preceding steps can be performed
without interrupting the services that depend on that path. If the initiators to be moved are
part of a non-redundant path, plans must be made to avoid interrupting the services that
depend on that path. For example, the VMs providing the affected services could be migrated
to other hardware. An alternative would be to arrange for a service interval during which the
services that depend on the path can be halted. The rezoning script could then be run and
the services restarted.
If a service originally created from the Matrix Operating Environment is affected by rezoning
and the volume involved is used as a boot volume, the relevant host must be reactivated in
the Matrix Operating Environment and the host rebooted in order to properly reconfigure the
host to use the new boot volume.
If port groups are configured for an array, when creating a service using a volume on that
array SPM zones each initiator to the ports in one port group. If a service request includes a
port group requirement within its initiator endpoint requirement, and there is a port group with
the same name for the array, SPM uses the ports in the group with the name specified by the
requirement.
If a service request does not include a port group requirement within an initiator endpoint
requirement, or if there is such a requirement but the specified port group name does not
match the name of any port group on the array, SPM uses the port group containing a target
port that is used by the smallest number of SPM storage services.
If a number of ports are used by the smallest number of SPM storage services, SPM chooses
one at random. Ports that are not mentioned in the port group file are treated as if they are
in a port group containing only that port. Arrays not mentioned in the port group file are
SPM rezoning script 119