Configuring port profile attributes, Adding a port and specifying its type, Changing a port’s keepalive parameters – Brocade Virtual ADX Server Load Balancing Guide (Supporting ADX v03.1.00) User Manual
Page 205
![background image](/manuals/361724/205/background.png)
Brocade Virtual ADX Server Load Balancing Guide
189
53-1003247-01
Port profiles and attributes
4
Adding a port and specifying its type
By adding a port, you also automatically enable periodic Layer 4 (and Layer 7, if applicable)
keepalive health checks for the port. If you do not specify the port type (TCP or UDP), the Brocade
Virtual ADX assumes the port type is UDP.
To add a port and specify that it is a TCP port, enter commands such as the following.
Virtual ADX(config)#server port 8080
Virtual ADX(config-port-8080)#tcp
Syntax: server port TCP/UDP-portnum
Syntax: tcp | udp [keepalive [disable | enable]]
Changing a port’s keepalive parameters
To change a port’s keepalive state, enter a command such as the following.
Virtual ADX(config-port-8080)#tcp keepalive disable
To change a port’s keepalive interval and retries, enter a command such as the following.
Virtual ADX(config-port-80)#tcp keepalive 15 5
Syntax: tcp | udp keepalive [interval-in-seconds retries]
You can specify from 1 through 120 seconds for the interval-in-seconds variable. You can specify
from 1 through 5 for the retries variable.
Configuring port profile attributes
lists the port attributes you can configure at the port profile level.
TABLE 18
Port profile attributes
Attribute
Description
Port type (TCP or
UDP)
This attribute applies only to ports for which the Brocade Virtual ADX does not already know
the type. For example, if a real server uses port 8080 for HTTP (a TCP port), you can globally
identify 8080 as a TCP port. The Brocade Virtual ADX assumes that ports for which it does
not know the type are UDP ports.
Refer to
“Adding a port and specifying its type”
NOTE: To display a list of the ports for which the Brocade Virtual ADX already knows the
type, enter the server port ? command at the global CONFIG level.
Keepalive interval
and retries
The number of seconds between health checks and the number of times the Brocade
Virtual ADX re-attempts a health check to which the server does not respond.
Refer to
“Changing a port’s keepalive parameters”
Keepalive state
Whether the Brocade Virtual ADX’s health check for the port is enabled or disabled.
Recurring Layer 4 and Layer 7 health checks are disabled by default. When you configure a
port profile, the software automatically globally enables the health check for the
application. You also can explicitly disable or re-enable the keepalive health check at this
level.
NOTE: If you are configuring a port profile for a port that is known to the Brocade Virtual
ADX, the keepalive parameters affect Layer 7 health checks. For other ports, the
keepalive parameters affect Layer 4 health checks.