CONFIG GLOBAL OBJECT ROUTER NEW

Level

object+modify

History

Appears in 3.1.0

Description

Add global router object

Usage

name=<router name> [comment=<comment>] [tries=<int>] [wait=<seconds>] [frequency=<seconds>] [gatewaythreshold=<int>] [activateallbackup=(on|off)] [loadbalancing=<none|connhash|srchash>] [onfailpolicy=(pass|block)] [update=<0|1|2>]

Remark

With update=2, modules which use the object are not reloaded.
When load balancing is enabled, if there are less than GatewayThreshold principals active, backups will be used
Gatewaythreshold=0 means to use backups when at least one principal is down
Gatewaythreshold=1 means to use backups when all principals are down

Example

CONFIG GLOBAL OBJECT ROUTER NEW name=myrouter comment="My router object" gatewaythreshold=1 tries=3 wait=2 frequency=15 loadbalancing=none onfailpolicy=pass CACHE_CATEGORY objects