Configuring Jolt Failover

You an also specify strict failover assignments with weighted load balancing, with the following options:

  • Strict failover with weighted backup.

  • Strict failover with sequential backup.

You add the failover string within curly brackets at the end of the server entry.

psserver=<host>:<port>#wt{failover servers}

With the failover string, you can set weighted backup by separating failover server with a comma (,).

psserver=Host1:Port1#Wt{Host3:Port3#Wt,Host4:Port4#Wt},Host2:Port2#Wt

In this case, Host 3 and Host 4 are failover servers when Host 1 is down. You can assign weighted load balancing to the backup servers just as you would a primary server.

You can also set a sequential backup with your failover string. To set sequential backup, you separate multiple backup servers using a semicolon (;).

psserver=Host1:Port1#Wt{Host3:Port3;Host4:Port4},Host2:Port2#Wt

In this case, the system assigns Host 4 the requests when both Hosts 1 and 3 are down.