Web agent relay configuration

Relays can be configured to support web agents exclusively.

You must upgrade relays for agents with web communication enabled and associate with the relay from the UI. However, a successful agent communication does not require any configuration. The following web communication parameters are defined in the relayInstallDir/conf/agentrelay.properties file:
agentcomm.enabled=true
agentcomm.server.uri=random:(wss://ucd1.example.org:7919,wss://ucd2.example.org:7919)

Agent relay limits

The maximum number of agents that can be assigned to a relay is limited in each of the releases. See to the following table to check the number of agents that are allowed for a relay for your installedIBM® UrbanCode® Deploy version.
Version Relay mode Agent type Limit with default proxy
7.0.4.0 to 7.0.5.0 Web mode Web Agents 1K
7.0.5.0 or later Web mode Web Agents 10K

In Linux, use the following utilities to reach the design limit of 10K concurrent agents:

  • sysctl:
    fs.file-max >= 40000
  • ulimit:
    nofile >= 40000
  • sysctl:
    net.ipv4.ip_local_port_range >= "10000 65000"