Scripted health check for udp ports, Command line interface – Brocade Virtual ADX Server Load Balancing Guide (Supporting ADX v03.1.00) User Manual
Page 231
![background image](/manuals/361724/231/background.png)
Brocade Virtual ADX Server Load Balancing Guide
215
53-1003247-01
Health check with content match
4
The match-list-name variable defines the name of the matching list used in the binary scripted
health check.
Syntax: [no] port port-name content-check-carray send Carray-data
The port-name variable defines the port where the binary scripted health check is performed.
The Carray-data variable defines the binary data in C array format used in the binary scripted
health check. The maximum number of characters supported is 2000.
NOTE
Sending binary data after a 3-way handshake is not mandatory.
Scripted health check for UDP ports
The scripted health check feature enhances the TrafficWorks software to perform customizable
scripted health checks for UDP protocol. in addition to the current TCP protocol, this feature is
available on any out-of-band port and is able to use the existing L7 content check features.
The Brocade Virtual ADX currently supports scripted health-checks on TCP ports. This feature adds
support for scripted health-checks on UDP ports.
When scripted health-check is configured on a UDP port, the Brocade Virtual ADX will send out a
UDP packet with the content-check-send data if configured; otherwise, it will send out a UDP
packet. Then it expects a UDP reply with ASCII content and will do the content-check on the data
received. It will mark the port UP or DOWN according to the configuration in the match-list.
If an ICMP message is received, then the port will be brought down.
Command line interface
There is no new CLI added for this feature. The CLI is the same as that used for scripted
health-checks for TCP ports. Previously the CLI was restricted to TCP ports, while now that
restriction has been removed.
Virtual ADX(config)#server real r1 10.10.1.31
Virtual ADX(config-rs-r1)#port 1234 keepalive
Virtual ADX(config-rs-r1)#port 1234 content-check m1
Virtual ADX(config-rs-r1)#port 1234 content-check send "how are you"
Virtual ADX(config)#http match-list m1
Virtual ADX(config-http-ml-m1)#up simple good
Virtual ADX(config-http-ml-m1)#default down
In the above example, the Brocade Virtual ADX will send and UDP packet containing the ASCII string
"how are you." On receiving the reply, Brocade Virtual ADX will search for the string "good." If found,
it will mark port 1234 UP, otherwise it will mark the port DOWN.