Wednesday, November 08, 2006

Connecting Multi-Brokers

Steps for Connecting two or more NaradaBrokering Nodes (From Galip, I just fix some errors)
We have two brokers,
Broker A running on tcp://gf3:5544
(change AssignedAddress=false to AssignedAddress=true The first Broker node should assigns its own address, that mean "AssignedAddress" parameter should be true.)
Broker B running on tcp://gf1:5545
(AssignedAddress=false)
1. Go to BROKER_B_HOME/config open BrokerConfiguration.txt, change AssignedAddress=false Save and Exit.
2. Start Broker A
3. Start Broker B
4. For Broker B, run ./brokerInteract.sh Type h to see usage
Type [c gf3.ucs.indiana.edu 5544 t] [t for tcp nio for niotcp]
After the connection is done copy the link address printed at the end of the message and type [na linkaddress 0]
i.e. [na tcp://gf3.ucs.indiana.edu:5544 0]
[note](from NaradaBroker User documentation):
Other brokers can contact this broker to help set up the distributed network. Please note that the first broker on a NB broker network assigns its own address.If the AssignedAddress parameter is set to false the broker does not assign itself an address and is ready to be part of a distributed broker network.

Comments: Post a Comment



<< Home