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

Creating routing policies for application editions

Update your routing rules after you activate an application edition to ensure that the on demand router (ODR) can route requests to the appropriate application edition.

Before you begin

Activate your application edition.

About this task

A routing policy is stored as part of the configuration metadata for an application. With a routing policy, you can express rules that instruct an on demand router (ODR) to send particular application requests to one edition or another based on a set of criteria. You can use various criteria that specify which requests are sent to a particular application edition. Use this process to send requests from certain users to one edition and requests from other users to another edition.

Avoid trouble: If your application has an existing application edition with a defined multi-cluster routing policy and you install a new edition, you must create a new multi-cluster routing policy for that specific edition. Use the administrative tasks to add multi-cluster routing policies for your new editions. For information about routing administrative tasks, read about rules for ODR routing policy administrative tasks.

Procedure

  1. Navigate to the routing policies for the application.
    Click Applications > Enterprise applications > application_name or Applications > All applications > application_name. Click the Routing policies tab.
    For example, select the my_application application.
  2. Expand Work classes for HTTP requests.
    Because no routing rules are specified, all requests are routed to the edition that is displayed on this page.
    For example, all requests are routed to application edition, my_application-edition2.0.
  3. Click Rule builder.
  4. From the rule list, select a rule.
    For example, select Client host (clienthost), and click Add.
  5. Select criteria for the rule.
    For example, select an operator of Equals (=) and type a value of your client host name. Click OK.
  6. Click OK again.
  7. Expand Work classes for HTTP requests.
  8. Set the action associated with the new rule.
    For example, requests from the host route to edition, my_application-edition1.0. Select the corresponding action from the Then list, and click Apply to save the rule.
  9. From the Routing policies tab, click Apply.
  10. Save the changes to the configuration repository and synchronize the nodes.

What to do next

If you are routing to multiple editions of the same application, you can validate your new application edition before moving to the new edition. For more information, read about validating an edition.