Broker 10.15 | webMethods Broker Documentation | Administering webMethods Broker | Exporting, Importing, and Deploying Assets | Exporting and Importing Territory Gateways
 
Exporting and Importing Territory Gateways
You can export territories and their gateways from one machine to another either by using My webMethods or by using the Broker command line utilities.
For information on how to export Brokers using My webMethods, see Exporting Broker Server and Broker Configuration to a File. For information on how to export Brokers using command line utility, see broker_save.
For information on how to import Brokers using My webMethods, see Importing Broker Server and Broker Configuration from a File. For information on how to import Brokers using command line utility, see broker_load.
*To export two territories and their gateways from one machine to another
1. In the source machine, export Brokers one-by-one from both the territories.
Each Broker’s information will be stored in a separate .adl file.
2. In the target machine, do the following:
a. Create all the Brokers that were existing in the territories that you exported from the source machine. For information on how to create Brokers, see Creating a Broker .
b. Import the Brokers of the first territory using the .adl files exported from the source machine.
You will get an exception because the Brokers of the second territory are not imported yet.
c. Import the Brokers of the second territory.
This step creates a one-way gateway between the second territory and the first territory.
d. Re-import the Brokers of the first territory.
This step creates the other gateway and completes the gateway-pair between the two territories.