Skip to main content

Summary

How to load balance 2 instances of VisiBroker Server ?

Environment

VisiBroker 8.0, AIX 6.1

Question/Problem Description

What is the command line argument to achieve load balancing of 2 instance of VisiBroker Server which uses osagent to bind the second Server's object references ? 

Clarifying Information

There are two instances of VisiBroker Server i.e Server A and Server B. Server A uses osagent to bind to Server B object reference. How to load balance across these two instances of the Servers?

Resolution

For C clients, set “vbroker.orb.cacheDSQuery” property to false.

For Java clients, set  “vbroker.agent.enableCache” property to false.

Once the above properties are set, every _bind() call will go to osagent to get the next available server object reference.If the requirement is to load balance the Server B object references, then Server A will make _bind() call to get Server B object reference and so on.

If Server A is making a call to Server B, the property should be set in Server A and vice-versa.


#Security
#VisiBroker