Skip to Main Content
Return to Navigation

Configuring Jolt Failover and Load Balancing

This section discusses how to:

Configuring Weighted Load Balancing

With weighted load balancing, you can set the “weight” of the load, or amount of requests, being directed to a particular server. Weight values are integers 1–10, with 1 being low and 10 being a heavy load. Servers that can handle extra work can take heavy loads, while servers that are either less powerful or are being used in other capacities can take lower loads. You specify weighted load balancing by modifying the server values in the psserver property in the PeopleSoft Internet Architecture configuration.properties file, using the following format.

psserver=Host1:Port1#Wt,Host2:Port2#Wt

For example,

psserver=appserver1:9000#3,appserver2:9010#1

In this case, appserver1 would receive 3x more requests than appserver2.

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.