Views:

Following configurations must be defined as in given order.
1.    Http profile which enables WebSocket defined as;
add ns httpProfile nshttp_ws_profile -webSocket ENABLED

2.    Service Group must be created for WebChat servers. The name can be changed.
add serviceGroup ND-WC-Websocket HTTP -maxClient 0 -maxReq 0 -cip DISABLED -usip NO -useproxyport YES -cltTimeout 180

3.    Monitoring setting must be created for related Service Group.
add lb monitor webchat-mon HTTP -respCode 200 -httpRequest "GET /health" -LRTM DISABLED -interval 5 MIN

4.    Monitoring setting must be defined to related Service Group.
bind serviceGroup ND-WC-Websocket -monitorName webchat-mon

5.    WebChat applications are added to Service Group.
bind serviceGroup ND-WC-Websocket myServer01 8080
bind serviceGroup ND-WC-Websocket myServer02 8080

6.    VIP is created which will use the http profile. (Note: If there is a Content Switching, it can be added to this profile)
add lb vserver WC-WEBSOCKET HTTP 192.168.10.127 80 -persistenceType NONE -cltTimeout 180 -httpProfileName nshttp_ws_profile

7.    VIP and Service Group are bounded. 
bind lb vserver WC-WEBSOCKET ND-WC-Websocket

Related Products: Live Chat, SR