WebSphere WebSphere Application Server Version 6.1.x Feature Pack for Web Services Operating Systems: AIX, HP-UX, i5/OS, Linux, Solaris, Windows, z/OS

Using match criteria to associate a policy with a messaging engine

Use this task to configure match criteria to associate a policy with a messaging engine.

Before you begin
To complete this task you must have created a policy to associate with the messaging engine.
About this task
Each messaging engine is managed by an HAGroup to which a policy is assigned at run time. The policy assigned to an HAGroup is chosen by comparing the match criteria of the set of configured policies with the properties of the HAGroup. The policy with the strongest match is assigned to the HAGroup. The following table lists the names and values of the HAGroup properties for a messaging engine, and the set of matching messaging engines if a property is used in the policy match criteria:
Name Value The messaging engine or engines that the policy will match
type WSAF_SIB Any messaging engine
WSAF_SIB_MESSAGING_ENGINE The name of the messaging engine. This is in the form node.server-bus for a messaging engine in a server, or cluster.number-bus for a messaging engine in a cluster, where number relates to the order that messaging engines were added to the bus (the first messaging engine that is created when you add the cluster to a bus has the number 000). A particular messaging engine
WSAF_SIB_BUS The name of the bus All messaging engines in a particular bus
IBM_hc The name of the cluster All messaging engines in a particular cluster
For more information about match criteria for messaging engines, see Match criteria for service integration.

Procedure

  1. Open the match criteria page for your policy by clicking Servers > Core groups > Core group settings > core_group_name > [Additional Properties] Policies > policy_name > [Additional Properties] Match criteria .
  2. Click New to create a new match criterion.
  3. Enter a suitable Name and Value to specify a messaging engine, or group of messaging engines, that will match this policy. Use the information in the previous table to find the required name and value for the selection you want.

    For more description of the fields on this page, see Match criteria settings. For more information about finding the correct names for match criteria, see Core group settings.

  4. Click OK.
  5. Repeat the previous three steps for each match criteria that you want to add to the policy. You add match criteria to make the match stronger, and to progressively restrict the set of HAGroups that the policy can match. You must specify at least two match criteria to ensure that the policy creates a stronger match than the match that the "Default SIBus Policy" creates. For example, to associate a policy with all the messaging engines in a cluster, you might specify the following match criteria:
    Name Value
    type WSAF_SIB
    WSAF_SIB_BUS bus_name
    IBM_hc cluster_name
  6. Save your changes to the master configuration.
Related concepts
Service integration high availability and workload sharing configurations
Match criteria for service integration

Task topic

Terms of use | Feedback


Timestamp icon Last updated: 27 November 2008
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.pmc.wsfep.multiplatform.doc/tasks/tjt0035_.html

Copyright IBM Corporation 2004, 2008. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)