Professional Documents
Culture Documents
Application Server Load Balancing & Failover
Application Server Load Balancing & Failover
psserver=HostServer1:Port1#Weight,HostServer2:Port2#Weight
Example: psserver=appserver1:9000#3,appserver2:9010#1 – In this case, appserver1 would receive 3x more requests than
appserver2.
You an also specify strict failover assignments with weighted load balancing, with the following options:
Configuring Failover
You can configure with strict failover with weighted backup or strict failover with sequential backup. This is done by adding the
failover servers in curly brackets at the end of the server entry:
psserver=<host>:<port>#wt{failover servers}
Example: With the failover string, you can set weighted backup by separating failover server with a comma (,).
Example: 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.