+

Search Tips   |   Advanced Search

Specifying 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 that is included in WAS is based on Service Integration Bus (SIB) technology, and is governed by the Default SIBus policy, which is a One of N policy. This policy ensures that only one of the appservers in the cluster is active at a time). We 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:

For high availability, configure a messaging engine to run in a cluster. However, we 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.

 

  1. In the admin console ...

    Servers > Core Groups > Core group settings > core_group_name.

  2. Click the Runtime tab to determine both the name of the high availability group, and the name of the policy that is currently controlling the group. See View high availability group information for more information on how to perform this step. You must have at least one of the group members running.

  3. In the admin console ...

    Servers > Core Groups > Core group settings > core_group_name > Policies.

  4. Click the name of the policy to modify.

  5. Under Additional Properties, select Preferred servers and 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. Make sure that the most preferred server is at the beginning of the list and the least preferred server is at the end of the list.

  6. After you complete the preferred servers list, click OK.

  7. Click OK and then click Review.

  8. Select Synchronize changes with nodes, and then click Save.

 

Results

All work items for the messaging engine on the associated cluster are routed to the new preferred server.

 

Related tasks


Set up a high availability environment