Wsp content health checks – Nortel Networks WEB OS 212777 User Manual
Page 241

Web OS 10.0 Application Guide
Chapter 10: Health Checking
n
241
212777-A, February 2002
WSP Content Health Checks
Wireless Session Protocol content health checks can be configured in two modes: connection-
less and connection-oriented. Connectionless WSP runs on UDP/IP protocol, port 9200.
Therefore, Alteon Web switches can be used to load balance the gateways in this mode of oper-
ation.
Web OS 10.0 provides a content-based health check mechanism where customized WSP pack-
ets can be sent to the gateways, and the switch can verify the expected response, in a manner
similar to scriptable health checks.
The content of the WSP/UDP packet that is sent to the gateway can be configured as a hexa-
decimal string, which is encapsulated in a UDP packet and shipped to the server. Hence, this
byte string should include all applicable WSP headers.
The content that the switch expects to receive from the gateway is also specified in the form of
hexadecimal byte string. The switch matches each byte of this string with the received content.
If there is a mismatch of even a single byte on the received content, the gateway fails the health
check. The user can also configure an offset for the received WSP packet: a byte index to the
WSP response content from where the byte match can be performed.
Configuring the Switch for WSP Content Health Checks
1.
Select the WAP Health Check Menu.
2.
Use the
sndcnt
command to enter the content to be sent to the WSP gateway.
3.
Enter the content that the switch expects to receive from the WSP gateway.
N
OTE
–
A maximum of 255 bytes of input are allowed on the switch command line. You may
remove spaces in between the numbers to save space on the command line. For example, type
010203040506
instead of
01
02
03
04
05
06
.
>> # /cfg/slb/adv/waphc
>> WAP Health Check# sndcnt
Current Send content:
Enter new Send content: 01 42 15 68 74 74 70 3a 2f 77 77 77 2e 6e 6f
6b 61 6d 00 .
>> WAP Health Check# rcvcnt
Current Receive content:
Enter new Receive content: 01 04 60 0e 03 94