CONFIG OBJECT ROUTER NEW
Level
object+modify
History
Appears in 2 0 0
Description
Add 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 OBJECT ROUTER NEW name=myrouter comment="My router object" gatewaythreshold=1 tries=3 wait=2 frequency=15 loadbalancing=none onfailpolicy=pass CACHE_CATEGORY objects