load-balancing-algorithm
This command identifies the algorithm for load balancing of TIBCO EMS servers.
Syntax
load-balancing-algorithm byte-rate
load-balancing-algorithm least-connections
load-balancing-algorithm none
Parameters
byte-rate- Creates a connection to the server with the lowest total byte rate (input and output).
least-connections- Creates a connection to the server with the least number of active connections.
none- Disables load balancing. This setting is the default value.
Guidelines
The load-balancing-algorithm command identifies the algorithm for load balancing. This command is relevant only when used with the loadbalancing-faulttolerance command.
Examples
- Identify servers at
192.168.45.32and192.168.45.33for fault tolerance. The connection is to the server with the fewest number of connections.# load-balancing-algorithm least-connections # loadbalance-faulttolerance 192.168.45.32 # loadbalance-faulttolerance 192.168.45.33 - Identify servers
192.168.45.32and192.168.45.33for fault tolerance. Because the algorithm isnone, the connection is to the first listed server.# load-balancing-algorithm none # loadbalance-faulttolerance 192.168.45.32 # loadbalance-faulttolerance 192.168.45.33