Code VIPADEFINE, VIPABACKUP, and VIPADISTRIBUTE statements within the VIPADYNAMIC block of the TCP/IP profile, using the following parameters to define the characteristics of the tier 2 DVIPAs that are to receive connections from DataPower® appliances:
In the following example, the DataPower appliances in site 2 are configured to send requests to IP address 10.81.2.2 and port 9001:
VIPADEFINE TIER2 CPCSCOPE 255.255.255.0 10.81.2.2
VIPADISTRIBUTE DEFINE
DISTMETHOD SERVERWLM
TIER2 GROUP1
10.81.2.2 Port 9001
DESTIP ALL
The TIER2 parameter, in conjunction with the group name (GROUP1), indicates that the tier 2 sysplex distributor gathers information about availability and capacity of the target servers of that group. This information is forwarded to the corresponding tier 1 distributor for that group as a combined CPC weight for use in making the tier 1 load-balancing decision.
The tier 2 weight information cannot be used until the next step in the configuration process (configure a CPCSCOPE DVIPA for each CPC for use by a group of DataPower target appliances) is completed and the tier 1 distributor is able to determine which CPC is used by a DataPower appliance.
Similar to the tier 2 configuration for site 2, the DataPower appliances using site 1 send requests to IP address 10.81.1.1 and port 9001:
VIPADEFINE TIER2 CPCSCOPE 255.255.255.0 10.81.1.1
VIPADISTRIBUTE DEFINE
DISTMETHOD SERVERWLM
TIER2 GROUP1
10.81.1.1 Port 9001
DESTIP ALL