HP Storage Provisioning Manager (SPM) version 2.3 User Guide

treated as if all ports on the array are in a single group. These default groups are not named
and cannot be specified in a port group requirement.
SPM can limit target port zoning by defining port groups for an array. When SPM provisions
a new SAN Connected Volume (SCV) service presenting a volume on an array to an initiator
using the automated zoning functionality, SPM creates a zone to connect the initiator to the
array. If there is an existing zone connecting the initiator to target ports on the array, SPM
re-uses that zone. If there is not an existing zone, SPM creates a new zone containing the
initiator and all ports on the array that are on the same fabric as the initiator.
This behavior can be changed by modifying the Configuration.xml port group
configuration file and by using Fibre Channel Port Group requirements. The port group
configuration file is located in the <SPM install
location>/state/storageArrayBridge folder. An example a port group configuration
file is shown below.
Rezoning port group configuration file example
<?xml version="1.0"?>
<StorageArrayBridgeConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="2.2"
xmlns="urn:StorageArrayBridgeConfiguration">
<ArrayPortGroupLists>
<ArrayPortGroupList ArrayName="Array1">
<PortGroup GroupName="Group1">
<Port WWN="AA:BB:CC:DD:EE:FF:00:01" />
<Port WWN="AA:BB:CC:DD:EE:FF:00:02" />
</PortGroup>
<PortGroup GroupName="Group2">
<Port WWN="AA:BB:CC:DD:EE:FF:00:03" />
<Port WWN="AA:BB:CC:DD:EE:FF:00:04" />
</PortGroup>
</ArrayPortGroupList>
<ArrayPortGroupList ArrayName="Array2">
<PortGroup GroupName="Group3">
<Port WWN="AA:BB:CC:DD:EE:FF:00:05" />
<Port WWN="AA:BB:CC:DD:EE:FF:00:06" />
<Port WWN="AA:BB:CC:DD:EE:FF:00:07" />
<Port WWN="AA:BB:CC:DD:EE:FF:00:08" />
</PortGroup>
<PortGroup GroupName="Group4">
<Port WWN="AA:BB:CC:DD:EE:FF:00:09" />
<Port WWN="AA:BB:CC:DD:EE:FF:00:0A" />
<Port WWN="AA:BB:CC:DD:EE:FF:00:0B" />
<Port WWN="AA:BB:CC:DD:EE:FF:00:0C" />
</PortGroup>
</ArrayPortGroupList>
</ArrayPortGroupLists>
</StorageArrayBridgeConfiguration>
Using the SPMRezone.ps1 script
SPMRezone.ps1 is a Windows PowerShell script that automates the steps involved if the port
group chosen by SPM or specified by a port group requirement must be changed. The script
performs the following steps:
1. Identifies all SPM storage services using a specified initiator.
2. Removes the initiator WWN requirements and any port group requirements from services
matching the specified initiator WWN and presenting a volume from the specified array (if
any).
3. Reactivates the services.
4. Reinstalls the initiator WWN requirements
5. Adds port group requirements for the specified port group (if any) in the script.
6. Reactivates the services a second time.
Running the script causes SPM to delete the existing zones for an initiator and create new zones
for that initiator using the specified port group.
120 Additional tools