Thursday, November 02, 2006

Connecting Two Brokers

Steps for Connecting two NaradaBrokering Nodes

We have two brokers,
Broker A running on tcp://gf3:5544
Broker B running on tcp://gf1:5545

  1. Go to BROKER_B_HOME/config
    open BrokerConfiguration.txt,
    change AssignedAddress=false to AssignedAddress=true
    Save and Exit.
  2. Start Broker A
  3. Start Broker B
  4. For Broker B,
    run ./brokerInteract.sh
    Type h to see usage
  5. Type
    [c gf3.ucs.indiana.edu 5544 t]
    [t for tcp nio for niotcp]
  6. 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]

0 Comments:

Post a Comment

<< Home