Configuring the Cluster

Using WebSockets in a cluster requires a few additional settings. These settings should be applied to related configuration files (CFG files).

CFG: hyper_server section
[hyper_server]

server_direct_url=
CFG: websockets section
[websockets]

enabled=1
aux_port=0
max_queue_length=1000
binding=
global_binding=
global_port=0
external_server_url=
external_server_token=
always_use_http=0

Above parameters are defined in CFG file. For Standalone Server or Windows Service modes no configuration is needed. For ISAPI and Apache modules an aux_port should be defined. Another solution can be Using a Dedicated WebSockets Server and populating proper parameters such as external_server_url, external_server_token and global_binding in the CFG file: https://unigui.com/doc/online_help/using-a-dedicated-websockets-s.htm

If you don't want to use a dedicated WebSockets server then for different HyperServer cluster modes you need to make different settings. In next sections the required HyperServer settings for different scenarios and cluster modes are explained.