Topic
  • 3 replies
  • Latest Post - ‏2013-02-14T09:58:38Z by SystemAdmin
Steola
Steola
14 Posts

Pinned topic Multiple MQ Managers on same default port: 1414

‏2013-02-12T21:59:31Z |
running command "crtmqm" i can create an MQ manager on a box which has multiple managers...
However i cannot connect using MQ explorer on default server channel and port 1414!
Can multiple managers on same box use same port 1414 (in case they have same listener agent)
If not how do i specify a channel and a port when create a server with mentioned command: crtmqm.

thanks.
Updated on 2013-02-14T09:58:38Z at 2013-02-14T09:58:38Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    8523 Posts

    Re: Multiple MQ Managers on same default port: 1414

    ‏2013-02-13T01:53:59Z  
    They are not called "MQ managers", the correct terminology is "MQ Queue Managers".

    Each queue manager on a box would normally have its own unique port number (eg. 1414, 1415, 1416 etc). You can choose whatever acceptable numbers you like.

    After creating each queue manager, you will need to define a LISTENER object on each queue manager to listen on its TCP port number, and to start the LISTENER.

    MQ Explorer requires a SVRCONN type channel to be defined on the queue manager so that explorer can establish a MQ Client connection to the queue manager.

    You really need to do some reading and learning about MQ Queue Managers and intercommunication !
    See if you can go away and work out how to set up a LISTENER object and MQ explorer connection yourself.

    HTH, G.
  • Steola
    Steola
    14 Posts

    Re: Multiple MQ Managers on same default port: 1414

    ‏2013-02-13T20:29:59Z  
    They are not called "MQ managers", the correct terminology is "MQ Queue Managers".

    Each queue manager on a box would normally have its own unique port number (eg. 1414, 1415, 1416 etc). You can choose whatever acceptable numbers you like.

    After creating each queue manager, you will need to define a LISTENER object on each queue manager to listen on its TCP port number, and to start the LISTENER.

    MQ Explorer requires a SVRCONN type channel to be defined on the queue manager so that explorer can establish a MQ Client connection to the queue manager.

    You really need to do some reading and learning about MQ Queue Managers and intercommunication !
    See if you can go away and work out how to set up a LISTENER object and MQ explorer connection yourself.

    HTH, G.
    thanks very much, kind of reached similar conclusion by trial and erroir, but confirmation is great... i was trying to start a second MQ Queue manager listener on port 1414 and would not start(no message error though!) as soon as i configured listener on 1415 and a channel with server connection i could connect from MQ Explorer...
    as for the reading will do what we can, got stuck in Java till now...
  • SystemAdmin
    SystemAdmin
    8523 Posts

    Re: Multiple MQ Managers on same default port: 1414

    ‏2013-02-14T09:58:38Z  
    • Steola
    • ‏2013-02-13T20:29:59Z
    thanks very much, kind of reached similar conclusion by trial and erroir, but confirmation is great... i was trying to start a second MQ Queue manager listener on port 1414 and would not start(no message error though!) as soon as i configured listener on 1415 and a channel with server connection i could connect from MQ Explorer...
    as for the reading will do what we can, got stuck in Java till now...
    Check the AMQERR01.LOG for the queue manager where the listener was started second. You should see error messages like this:-
    
    2/14/2013 10:00:11 - Process(6628.4) User(MUSR_MQADMIN2) Program(runmqlsr.exe) Host(R820DGM) Installation(V750Gold) VRMF(7.5.0.0) QMgr(MQ750QM) AMQ9255: Listener already running.   EXPLANATION: The request to start the WebSphere MQ listener failed because there is already a listener running against the specified network resources. ACTION: None. ----- amqcclxa.c : 1923 ------------------------------------------------------- 2/14/2013 10:00:11 - Process(7964.1) User(MUSR_MQADMIN2) Program(amqzmgr0.exe) Host(R820DGM) Installation(V750Gold) VRMF(7.5.0.0) QMgr(MQ750QM) AMQ5027: The listener 
    'PORT.2000' has ended. ProcessId(6628).   EXPLANATION: The listener process has ended. ACTION: None. -------------------------------------------------------------------------------
    


    Cheers
    Morag