Yuvaraj:
“Can the Enterprise Server run on one host/machine and the brokers for that Enterprise Server run on a different host/machine?”
No. A Broker Server is essentially the runtime environment for Brokers. A Broker Server can host multiple brokers.
“Also how does the communication between brokers of the same Enterprise/Broker server happen?”
By default, they do not communicate with each other. The territory facility provides communication between brokers.
“Is the grouping into Territory is at the Enterprise server level or at the Broker level?”
It is at the Broker level. Brokers within a Territory can communicate directly to each other–but this is managed behind the scenes. You only need to set up the territory and the appropriate permissions. The shuffling of configuration data amongst the brokers in the territory is done automatically (all event/document definitions, client groups, etc. are automatically propagated to all brokers in the territory). Adapters/broker clients still connect to a specific broker. The subscriptions made will be known to all brokers in the territory.
For example, say adapter ‘A’ connects to Broker ‘Y’ and subscribes to doc type ‘D’. Adapter ‘B’ connects to Broker ‘Z’ and publishes a doc of type ‘D’. Adapter ‘A’ will get the doc if Brokers ‘Y’ and ‘Z’ are in the same territory.
If Brokers ‘Y’ and ‘Z’ are in different territories, you can set up gateways, one in each territory. If doc type ‘D’ is configured to be allowed to be passed through the gateways, then a doc of type ‘D’ from Adapter ‘B’ will make it through to Adapter ‘A’.
“Does the brokers needs to be grouped into a single Territory for communication to happen between them even if the brokers belong to the same Enterprise Server?”
Yes.
Shyam’s advice to review the “Territories and Gateways” chapter is right on.
#webMethods-Architecture#Integration-Server-and-ESB#webMethods-General#webMethods