A CPCSCOPE DVIPA is specific to the CPC on which it is defined, and cannot be moved to or taken over by another TCP/IP stack that is in a different CPC.
Code a VIPADEFINE or VIPABACKUP statement within the VIPADYNAMIC block of the TCP/IP profile, and include the CPCSCOPE parameter to indicate that the DVIPA specified by an IP address on this statement is specific to the CPC on which it is defined.
Using the CPCSCOPE subnet mask, the tier 1 distributor determines the DataPower appliances that are in its subnet. The distributor associates these DataPower appliances with a tier 2 distributor in the CPC of the stack where the CPCSCOPE DVIPA was defined. When determining the composite weights for these DataPower appliances, the distributor uses the tier 2 combined CPC weights received from the tier 2 distributor on that CPC.
The following example shows the definition on an LPAR on site 1:
VIPADEFINE CPCSCOPE 255.255.255.0 201.81.10.7
As shown in Figure 1, the tier 1 distributor uses the CPCSCOPE subnet mask (201.81.10.0/24) to determine that DATAP1 and DATAP2 are in that subnet. The distributor associates these DataPower appliances with the tier 2 distributor for address 10.81.1.1, because it is defined on a stack in CPC1 and this CPCSCOPE DVIPA is also defined on a stack in CPC1. As the distributor receives a tier 2 weight for GROUP1 (combined CPC weights for CICS1 and CICS2) from this distributor, it finds the matching tier 1 GROUP1 DataPower targets and uses this weight when determining the composite weights for DATAP1 and DATAP2.
LPAR3 in CPC2 contains the tier 2 distributor for that site, so a CPCSCOPE DVIPA for CPC2 is defined on one of the LPARs in CPC2:
VIPADEFINE CPCSCOPE 255.255.255.240 201.81.20.7
The VIPABACKUP statements for the tier 2 DVIPA and CPCSCOPE DVIPA defined in CPC1 are defined in one or more other stacks in that CPC:
VIPABACKUP TIER2 CPCSCOPE 201.81.1.1
VIPABACKUP CPCSCOPE 255.255.255.240 201.81.10.7
Similarly, the VIPABACKUP statements for the tier 2 DVIPA and CPCSCOPE DVIPA defined in CPC2 are defined in one or more other stacks in that CPC:
VIPABACKUP TIER2 CPCSCOPE 201.81.2.2
VIPABACKUP CPCSCOPE 255.255.255.240 201.81.20.7