Changing the Port Setting for Broker Monitor
When you have multiple installations of Broker Server and Broker Monitor running, the instance index is displayed along with the service names and port number. The instance index number starts with 1. The instance index of a Broker Server and that of the assigned Broker Monitor will be same. For example, Windows lists the services as follows:
Software AG Broker Monitor version (6850)
Software AG Broker Monitor version (7850) (2)
Software AG Broker Monitor version (9950) (3)
Software AG Broker Server version (6849)
Software AG Broker Server version (7849) (2)
Software AG Broker Server version (8849) (3)
Software AG Broker Server version (9949) (3)
In this example, the Broker Monitor on port 9950 monitors the Broker Servers on port 8849 and port 9949.
To change the port setting for
Broker Monitor and update the service names
1. Run the following command to stop and remove the Broker Server and Broker Monitor Windows services:
awbrokermon -unconfig
Note:
If you use awbrokermon -stop instead of awbrokermon -unconfig , Broker Monitor does not change the Windows service names.
2. Edit the value of monitor-port parameter in the awbrokermon.cfg file to change the port setting for Broker Monitor.
3. Run the following command to start and add the Broker Server and Broker Monitor Windows services:
awbrokermon -config
Note:
If you use awbrokermon -start instead of awbrokermon -config, Broker Monitor does not change the Windows service names.
For example, after you change the Broker Monitor port from 6850 to 8850, Windows lists the services as following:
Software AG Broker Monitor version (7850) (2)
Software AG Broker Monitor version (8850)
Software AG Broker Monitor version (9950) (3)
Software AG Broker Server version (6849)
Software AG Broker Server version (7849) (2)
Software AG Broker Server version (8849) (3)
Software AG Broker Server version (9949) (3)