You can use a script that is provided with the application server to create and configure the core group policies for messaging engines. The core group policies that the script creates define the behavior of request processing across the cluster, for example, to provide workload management or high availability.
For high availability without workload sharing, you can use the default configuration that is created when you add a cluster as a member of a bus and you do not need to configure the policy further.
You configure a core group policy for service integration to associate the policy with a specific messaging engine and to specify messaging engine behavior, such as which server a messaging engine runs on, whether a messaging engine can fail over or fail back, and the frequency of messaging engine monitoring.
The CreateCoreGroupPolicy.jacl script creates a core group policy and assigns that policy to the required messaging engine and server in the cluster, using a properties file to specify the required behavior. You create a properties file for each messaging engine in the cluster, then run the script against each properties file.
To set up workload management in a cluster, each server in the cluster must be able to process messages locally. To do this, you create additional messaging engines in the cluster so that autonomous message processing can occur. Typically, you create one messaging engine for each server in the cluster. You also need a core group policy for each messaging engine to specify which server the messaging engine runs on, and restrict the messaging engine to that server.
For high availability when you want messaging engine behavior that the default configuration does not provide, you need to create and configure a suitable core group policy for the messaging engine.
For high availability with workload sharing, you create additional messaging engines in the cluster, typically one messaging engine for each server in the cluster. You need a core group policy for each messaging engine to specify which server the messaging engine runs on, and which servers the messaging engine can fail over to.
For the example properties files in the following procedure, the script creates core group policies that assign each messaging engine to an individual server in the cluster and restrict the messaging engine to that server, thus providing a workload management configuration.
The CreateCoreGroupPolicy.jacl script is in the ${WAS_INSTALL_ROOT}/bin directory.
In this information ...Related tasks
Related reference
| IBM Redbooks, demos, education, and more(Index) |