Using a primary and a secondary network in a cluster
Follow these instructions to make one network the primary network, and another network the backup network. Use the backup network if there is a problem with the primary network.
Before you begin
Note: For changes to a cluster to be propagated throughout
the cluster, at least one full repository must always be available.
Ensure that your repositories are available before starting this task.
Scenario:
- The
INVENTORYcluster has been set up as described in Using two networks in a cluster. It contains four queue managers;LONDONandNEWYORKboth hold full repositories;PARISandTOKYOhold partial repositories. The inventory application runs on the system in New York, connected to the queue managerNEWYORK. TheTOKYOqueue manager has two different networks that it can communicate on. - You want to make one of the networks the primary network, and another of the networks the backup network. You plan to use the backup network if there is a problem with the primary network.
About this task
Use the NETPRTY attribute to configure a primary and a secondary network in a cluster.
Procedure
Alter the existing CLUSRCVR channels on
TOKYO.
To indicate that the network A channel is the primary channel, and the network B channel is the secondary channel, use the following commands:
-
ALTER CHANNEL(INVENTORY.TOKYO.NETA) CHLTYPE(CLUSRCVR) NETPRTY(2) DESCR('Main cluster-receiver channel for TOKYO') -
ALTER CHANNEL(INVENTORY.TOKYO.NETB) CHLTYPE(CLUSRCVR) NETPRTY(1) DESCR('Backup cluster-receiver channel for TOKYO')