+

Search Tips   |   Advanced Search

Create a dynamic cluster of ODRs

We can create a dynamic cluster of on demand routers (ODRs), which means that the application placement controller selects the best node on which to start the minimum number of ODRs. If an ODR stops for any reason, the application placement controller will then start a new instance.

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

We can configure a dynamic cluster isolation policy to prevent ODRs from running on the same node with application servers. We can use the console, or we can run the manageODR.py script to create ODR dynamic clusters. We can also set a cell-level custom property to enable elasticity mode for ODR dynamic clusters.


Create ODR dynamic clusters using the console

to create ODR dynamic clusters.

  1. Click

  2. Select On demand router as the dynamic cluster server type.

  3. Select the membership method, which defines how servers join the dynamic cluster as cluster instances. Select Automatically define cluster members with rules to create a membership policy that defines the nodes on which cluster instances can be placed. Select Manually define cluster members to add existing servers to the dynamic cluster. The servers selected must be homogenous: that is, they must be of the same server type, middleware server version, and have the same applications installed.

  4. Define the dynamic cluster members.

  5. Select a dynamic cluster template.

    Deprecated feature: The defaultXD and defaultXDZOS server templates used when creating a dynamic cluster are deprecated. Use the default or defaultZOS server template instead.depfeat

  6. Specify dynamic cluster-specific properties.

  7. Confirm the creation of the ODR dynamic cluster.

    Click Finish > Save to save the changes to the master configuration.

  8. Select the mode of operation.

    Choose the operational mode, and click Set mode.


Create ODR dynamic cluster with script

Run the manageODR.py script to create ODR dynamic clusters. The manageODR.py script is in the install_root/bin directory.

In the following example, an ODR dynamic cluster named myOdrCluster is created on all nodes in the node group named myOdrNodeGroup.


Enable elasticity mode

Set the APC.predictor custom property to enable elasticity mode for ODR dynamic clusters. By setting the custom property, the application placement controller starts and stops servers based on CPU usage alone. Furthermore, the controller no longer retrieves data from the ARFM regarding what servers to start and stop.

  1. Click System administration > Cell > Custom properties > New.

  2. Specify the name of the custom property as APC.predictor.

  3. Specify the value of the custom property as CPU.

  4. Click OK, and save and synchronize your changes.


What to do next


Related concepts

  • Dynamic clusters
  • Elasticity mode
  • Create a static cluster of ODRs
  • Intelligent Management: scripts
  • Intelligent Management: custom properties