Setting up dynamic routing for Liberty collectives
The Dynamic Routing feature enables routing of HTTP requests to members of Liberty collectives without regenerating the WebSphere plug-in configuration file when the environment changes. When servers, cluster members, applications, or virtual hosts are added, removed, started, stopped, or modified; the new information is dynamically delivered to the WebSphere plug-in. Requests are routed based on up-to-date information.
The Dynamic Routing feature routes application requests to all application instances when the application is deployed in multiple collectives. Previously, when routing to multiple collectives, a particular application could exist in only one of the collectives.
The Dynamic Routing feature can use rules to route requests to a smaller set of servers than can handle the request. You can configure rules to permit the request, reject the request, or redirect the request. If a request is permitted, it can be configured to load balance across a set of servers or clusters, and to fail over between servers or clusters.
Before you begin
For the Dynamic Routing function to work, the dynamicRouting-1.0
feature is
required in collective controllers only. There is no requirement to upgrade every collective member.
Dynamic Routing can be used to route to applications installed in any Liberty server in a collective, including WebSphere Application Server Network Deployment Liberty, WebSphere Application Server Liberty Core, and WebSphere Application Server (base) Liberty editions.
- Download and install the latest version of the IBM Installation Manager. For more information on installing IBM Installation Manager, see Installing Installation Manager and preparing to install the product.
- Use the Installation Manager to access online product repositories to install the Web Server Plug-in for WebSphere Application Server along with the fixpack. Open the Installation Manager GUI preferences page by selecting .
- Use the Installation Manager to install the product from the web-based repository. You need an
IBM ID to access the following repository:
http://www.ibm.com/software/repositorymanager/com.ibm.websphere.PLG.zOS.v90
Note: You need an IBM ID to access the repository. This repository is only for distributed operating systems. - Use the installation wizard to install both the web server plug-ins and the fixpack.
- When prompted by the wizard, specify the installation location and proceed with the installation.
Watch: The Enabling IHS for Liberty Dynamic Routing video shows how to install IHS, install Web Server
Plug-in for WebSphere Application Server, and apply the interim fix for Dynamic Routing. [Transcript]