Advanced Configuration and Management Guide
The server real command in this example configures the HP
The port http keepalive command in this example is entered at the Real Server level and enables the HTTP health check. The health check is disabled by default, so you must enter this command. You can enter additional commands at this level to modify the health check parameters. These commands are shown in the examples for 9308M R2 and
The ip address command adds an IP interface for the connection to the IP address. This interface must be in the same
The ip dont_advertise command configures the routing switch to block advertisement of the network route for this IP
CLI Commands for 9308M R2
The following commands configure 9308M R2 for the configuration shown in Figure 2.
Syntax: port http url “[GET HEAD]
Syntax: port http status_code <range> [<range> [<range> [<range>]]]
The port http url command changes the URL that the routing switch sends as part of the health check. By default, the routing switch sends an HTTP HEAD request for the default page (“1.0”). If you enter a URL, the health check instead requests that URL. The slash ( / ) is an optional parameter. If you do not set the GET or HEAD parameter, and the slash is not in the configured URL page, then the routing switch automatically inserts a slash before retrieving the URL page.
In addition to specifying another URL, you can change the method to GET. Changing the method does not affect the health check from the routing switch‘s standpoint. You can use either method.
The port http status_code command in this example changes the range of HTTP status codes the routing switch accepts as normal (healthy) replies to a health check.
17 - 6