Steps for Connecting two NaradaBrokering Nodes
We have two brokers,
Broker A running on tcp://gf3:5544
Broker B running on tcp://gf1:5545
- Go to BROKER_B_HOME/config
open BrokerConfiguration.txt,
change AssignedAddress=false to AssignedAddress=true
Save and Exit. - Start Broker A
- Start Broker B
- 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]