Specify a preferred server for messaging requests
If a core group includes a cluster of appservers, and a messaging engine is configured for that cluster, any of the servers in that cluster can handle work items for the messaging engine.
The default message provider in WAS is governed by the Service Integration Bus default policy (Default SIBus policy), which is a One of N policy, ensuring that only one of the appservers in the cluster is active at a time.
You can modify the high availability group policy to specify that a specific cluster member handles the messaging work.
Before specifying a preferred server for messaging requests:
- You should review the following topics:
- High availability groups
- High availability group policy modification guidelines
- High availability group policies
- You must determine:
- The name of the core group that includes the server to handle messaging requests.
- The name of the high availability group for the messaging function.
- The name of the policy that is associated with this high availability group
- You must create a new policy specific to the high availability group that controls the messaging engine cluster, if one does not already exist.
It is possible for a single policy to govern several different high availability groups. Therefore, to modify the policy for cluster scoped control, create a new policy specific to the high availability group that controls the messaging engine cluster.
After creating the new policy and associate the policy with the high availability group for a given cluster, You can specify a preferred server for messaging requestws..
Overview
For high availability, configure a messaging engine to run in a cluster. However, you might want a specific cluster member to handle the messaging requests. Another member of the cluster should handle the messaging requests only if the preferred member fails.
Procedure
- In the console, click...
Servers | Core groups | Core group settings | core_group_name | Runtime tab...to determine the name of the HA group, and the name of the policy currently controlling the group.
At least one of the group members must be running.
- In the console, click...
Servers | Core groups | Core group settings | core_group_name | Policies | policy_name | Additional Properties | Preferred servers- Select the preferred servers for this policy.
Click Add to move core group servers into the list of preferred servers.
Select specific servers in the list and click Move up and Move down to adjust the order of the servers within the list. Verify the most preferred server is at the beginning of the list and the least preferred server is at the end of the list.