2.4.2. Start multiple Brokers
To run more than one broker on a single machine, each broker must run on different ports and use different directories for the journals.
- Select two available ports, for example 5555 and 5556.
- Start each new broker, using the
--data-dir
command to specify a new data directory for each:$ qpidd -p 5555 --data-dir /tmp/qpid/store/1
$ qpidd -p 5556 --data-dir /tmp/qpid/store/2