[AIX Solaris HP-UX Linux Windows][z/OS]

Creating a static cluster of ODRs

You can create a static cluster of on demand routers (ODRs). A static cluster is a group of application servers in a WebSphere® Application Server Network Deployment environment that participates in workload management.

Before you begin

When an ODR is a member of a cluster, routing rules and other configuration settings that are set at the ODR level are ignored. Configuration settings at the cluster level take precedence over any configuration settings at the server level.

About this task

Create a static ODR cluster when you are integrating the Session Initiation Protocol (SIP) ODR with Load Balancer for IBM® WebSphere Application Server.

Create a static cluster of HTTP ODRs to administer all ODRs at one time. If you do not create a static cluster, you must administer each ODR individually.

To create a static ODR cluster, and to add members to it, run this command:
./wsadmin.sh -lang jython -f manageODR.py convertToCluster <ODR_node_name>:<ODR_name><cluster_name>
To create the specified ODR, and to add it to the cluster, run this command:
./wsadmin.sh -lang jython -f manageODR.py addToCluster <ODR_node_name>:<ODR_name><cluster_name>
To remove the static ODR cluster and its members, run the following command:
$AdminTask deleteCluster {-clusterName <cluster_name>}
Avoid trouble: The SIP ODR is stabilized, and is currently not recommended. Use the SIP proxy server instead.

Procedure

  1. Create an ODR to use as a template when you create your cluster. You can create the ODR in the administrative console or with the createodr.jacl script.
    For more information, read about creating ODRs, and about the createodr.jacl script.
  2. Run the following wsadmin command to create a static cluster.
    $AdminTask createCluster {-clusterConfig {-clusterName odr_cluster_name -clusterType ONDEMAND_ROUTER} 
    -convertServer {-serverNode node_name -serverName my_odr}} 
    For the my_odr value, specify the name of the ODR that you created as a template.
  3. Add ODRs to the static cluster.
    Run the following command for each ODR cluster member:
    $AdminTask createClusterMember {-clusterName odr_cluster_name -memberConfig {-memberNode node_name 
    -memberName odr_cluster_member_name}}
  4. Save your changes.
    Run the following command:
    $AdminConfig save

What to do next

To modify the settings of an ODR static cluster, such as the action type and rule expression, use the wsadmin tool to complete administrative tasks at the cluster level. For more information, read about rules for ODR routing policy administrative tasks and rules for ODR service policy administrative tasks.