[omniORB] host address encoded in IOR?

Rahul Sood rsood@panix.com
Thu, 7 May 1998 23:38:19 -0400 (EDT)


If the impl is running on host A, where the BOA is listening, can a client
on host B obtain a reference to it using the IOR generated by
BOA::obj_to_string() on A? Otherwise, can the client specify the command
line argument ORBserverName to be the hostname of the target ORB? 

I have impls running on multiple hosts. The client is to be configured
with different weights for the hosts so that it first contacts the host
with the highest weight, and if there is no response or a COMM_FAILURE
exception, go to the next host and so on. One solution is to create a node
for each host in the naming service and bind the same impl under each
node. The client can associate the parent nodes, which will have the "id"
field set to hostname, with the respective weights. 

What is the general way of doing this without the naming service. IIOP
does not do broadcasts, so how is the destination address specified?

-R. Sood
rsood@panix.com