HP Matrix Operating Environment and HP Storage Provisioning Manager support for port groups

Technical white paper | Matrix OE and SPM
6
Example showing all controller ports in same port group
The following is an example of a Configuration.xml file that defines two port groups for the HP 3PAR StoreServ
“matrix-3par”. Each port group contains two controller ports, which will result in one-to-two zoning. Note that there are two
(redundant) networks, with one port group defined for each network. (Note that because there is only one port group
defined for each network, and all of the controller ports for each network are included within that one port group, this
provides the exact same behavior as not using port groups.)
<?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="suntr-f1-srv">
<PortGroup GroupName="SANA_Group">
<Port WWN="22:01:00:02:AC:00:38:3F" />
<Port WWN="23:01:00:02:AC:00:38:3F" />
</PortGroup>
<PortGroup GroupName="SANB_Group">
<Port WWN="22:02:00:02:AC:00:38:3F" />
<Port WWN="23:02:00:02:AC:00:38:3F" />
</PortGroup>
</ArrayPortGroupList>
</ArrayPortGroupLists>
</StorageArrayBridgeConfiguration>
Example showing port group configuration with two arrays
The following example is not from the same array as the previous two examples. It is used to show an example of a more
complex Configuration.xml file, with the definitions for multiple arrays within the same file.
<?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="22:01:00:02:AC:00:38:3F" />
<Port WWN="23:01:00:02:AC:00:38:3F" />
</PortGroup>
<PortGroup GroupName="Group2">
<Port WWN="22:02:00:02:AC:00:38:3F" />
<Port WWN="23:02:00:02:AC:00:38:3F" />
</PortGroup>
</ArrayPortGroupList>
<ArrayPortGroupList ArrayName="Array2">
<PortGroup GroupName="Group3">
<Port WWN="22:02:00:02:AC:00:37:3E" />
<Port WWN="23:02:00:02:AC:00:37:3E" />
<Port WWN="22:01:00:02:AC:00:37:3E" />
<Port WWN="23:01:00:02:AC:00:37:3E" />
</PortGroup>
<PortGroup GroupName="Group4">
<Port WWN="24:02:00:02:AC:00:37:3E" />
<Port WWN="21:02:00:02:AC:00:37:3E" />
<Port WWN="24:01:00:02:AC:00:37:3E" />
<Port WWN="21:01:00:02:AC:00:37:3E" />
</PortGroup>
</ArrayPortGroupList>
</ArrayPortGroupLists>
</StorageArrayBridgeConfiguration>
Manually Selecting Port Groups
As previously noted, controller ports will be selected automatically using the least used port policy by SPM, or manually by
the storage administrator via a PowerShell script. The script adjusts the existing SAN zoning, removing access via one set of
ports and providing access through a different set of ports (essentially moving the access). This section discusses the
general steps needed to identify which server WWNs to move, the precautions that need to be taken, and finally how to
rezone to the new port groups. These steps will involve coordination between administrators overseeing servers using