Create a static cluster of ODRs

We can create a static cluster of on demand routers (ODRs). A static cluster is a group of application servers in a WAS Network Deployment environment that participates in workload management.

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.

Create a static ODR cluster when we 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 we 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:

To create the specified ODR, and to add it to the cluster, run this command:

To remove the static ODR cluster and its members, run the following command:

The SIP ODR is stabilized, and is currently not recommended. Use the SIP proxy server instead.gotcha

  1. Create an ODR to use as a template when creating your cluster. We can create the ODR in the 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 -serverName my_odr}}

    For the my_odr value, specify the name of the ODR 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 -memberName odr_cluster_member_name}}

  4. Save the 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 wsadmin.sh 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.


Related tasks

  • Create ODRs
  • Create a dynamic cluster of ODRs
  • Integrate the SIP on demand router with Load Balancer
  • ClusterConfigCommands (AdminTask)

  • createodr.jacl script
  • Intelligent Management: rules for ODR routing policy administrative tasks
  • Intelligent Management: rules for ODR service policy administrative tasks