Use this topic to set the advanced configuration routing rules to ensure work requests arrive at the proper generic server cluster. From this topic you can create, delete, or modify a routing rule.
To view this administrative console page, click Servers > Proxy Servers > server_name > HTTP Proxy Server Settings > Routing Rules.
Before you create routing rules, which are used to route requests to servers, define a generic server cluster (Server > Generic Server Clusters), a URI group (Environment > URI Groups), and optionally appropriate virtual hosts (Environment > Virtual hosts > default host).
Routing rules are used to assist the routing of work requests to non-IBM WebSphere Application Server nodes. In addition, using routing rules, a system administrator can reroute work without heavily impacting the environment. This capability is useful when nodes are taken down for maintenance.
For example, the system administrator can set up a routing rule to route /images/* to the ImageServerCluster generic server cluster. If the ImageServerCluster cluster has to come down, the administrator can then route /images/* to another cluster with similar capability, or use a redirect rule. This situation explains why the URI group can be defined independently of the generic server cluster. If the generic server cluster must come down, the URI group can be rerouted elsewhere. When you create the generic server cluster by providing a name, you can configure the cluster by using the ports link to create the actual cluster members. Routing rules function by using the configured virtual hosts and URIs as matching criteria. The proxy server scans all incoming requests and compares the URI and host header from it and matches it against the virtual host and URIs that are configured in the rule. You must create the URI group for a routing rule before creating the routing rule. If you are routing to a generic server cluster, also create the cluster before defining the routing rule. You can create the URI group by completing the following tasks:
The name field is required and is a user-defined field.
The name field cannot contain the following characters: # \ / , : ; " * ? < > | = + & % '
The name that is defined must be unique among routing rules and cannot begin with a period or a space. A space does not generate an error, but leading and trailing spaces are automatically deleted.