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.32 and 192.168.45.33 for 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.32 and 192.168.45.33 for fault tolerance. Because the algorithm is none, the connection is to the first listed server.
    # load-balancing-algorithm none
    # loadbalance-faulttolerance 192.168.45.32
    # loadbalance-faulttolerance 192.168.45.33