PROCEDURE FOR CONFIGURING BROKER AND QUEUEMANAGER IN WMB FOR AIX AND LINUX PLATFORM.
Aparna Srinivasan 27000574QJ Visits (4016)
We can do it by just following some easy steps .
1.Install WMQ and Websphere Message Broker ( WMB) through GUI mode or through commands in AIX or LINUX machine.
2. Add the root user to the WMQ and WMB user groups ie.. mqm and mqbrkrs and verify the same by running the command "id"bash-3.2# id
uid=0(root) gid=0(system) grou
3.Now move to the current directory as <WMB
4. Next run ". ./mqsiprofile" (dot space dot/mqsiprofile) to setup the MQ environment variables
5.Run " ./mqsiservice -v " to check the WMB version
6. To create a new Broker by running the following command "./mqsicreatebroker <BrokerName> -q <QueueManagerName>"
7. Run " ./mqsilist" to list the created brokers.
8.Run " dspmq " to check the Queue Manager Status(running /stopped)
10.Run "./mqsistart <BrokerName>" to start the broker.
11.Run "runmqsc <Que
DEFINE LISTENER(Lno) TRPTYPE(TCP) PORT(portno)
DEFINE CHANNEL(CHANNELno) CHLTYPE(SVRCONN) TRPTYPE(TCP)
( no can be 1,2....port no can be a 4 digit no example: 7000)
12. Run "ps -ef | grep lsr" to check the Listerner status
13. On Windows machine logon as root user where you have WMQ explorer and WMBT .
14. Open the Websphere Message Broker Toolkit (WMBT) in windows , right click on the Brokers Tab and select Connect to remote broker by giving the created QueueManagerName, Hostname of the AIX machine, PortNumber .15. Open MQ explorer in windows and right click on the Queuemanager and select-> Add remote Queue manager and add using QueueManagerName, Hostname, and Channel no.
1.Setup and use RFHUTILC.EXE to connect to a remote queue manager for INBOUND:
To setup RFHUTILC.EXE to connect to a remote queue manager perform the following steps in this order:
1. Click Start-> Control Panel;
Double-click System, Advanced, Environment Variable. Create a new environment variable "MQSERVER" (without quotes) and the value should be in the form of chan
Here is an example: CHAN
2. Open " RFHUTILC.EXE "- This is the client version of this tool. If you completed step 1 correctly you should now have an drop-down arrow next to "Queue Manager Name" on the Main tab. Click the drop-down arrow and pick the connection.
3. Click "Load Names" on the Main tab to connect to currently selected queue manager and request a list of available queues that will be loaded into the dropdown menu.
4. Type the name of the queue to which you want to connect in the Queue Name box on the Main tab.
5.Invoke an event and see the messages in the data tab.
2.To Stop a QueueManager
"./endmqm -c <QueueManagerName>"
3.To Start a QueueManager
4. To Delete a QueueManager
Its easy right ??? Your feedback about the post are always welcome . Hope to post something more interesting soon.