User guide

configure server-group health-check tcp-open
ExtremeWarePx1 1.2 Command Reference Guide 217
configure server-group health-check tcp-open
configure server-group name <name string> health-check tcp-open
return <return string>
Description
ConÞgures TCP open health checks for the speciÞed server group.
Syntax Description
Default
If no health-check type is conÞgured for a server group, that group uses ping health checks by default.
Usage Guidelines
You must have administrator privileges to issue this command.
When a TCP open health check is performed on a server:
1 A connection is opened to the port conÞgured for the server. The health check fails if the connection
cannot be opened.
2 If the return parameter was speciÞed, the health check compares the response returned by the open
operation to the speciÞed return string. The health check fails if the return string does not match the
response.
You must use the build command to commit the conÞguration changes made by this command.
Example
The following command conÞgures the server group named sg1 to use TCP open health checks:
configure server-group name "sg1" health-check tcp-open
The following command conÞgures the server group named sg1 to use TCP open health checks, that
check for the return string "HELLO":
configure server-group name "sg1" health-check tcp-open return "HELLO"
History
This command was available in ExtremeWarePx 1.1.
Platform Availability
This command is available on the Px-series application switch.
name string Name of the server group for which to configure the health-check type.
return string String to be compared to the response.