WebSphere Application Server & Liberty

 View Only
Expand all | Collapse all

How do I find out where my messaging engine is running in my Service Integration clustered environment in WebSphere Application Server?

  • 1.  How do I find out where my messaging engine is running in my Service Integration clustered environment in WebSphere Application Server?

    Posted Thu March 28, 2024 09:18 AM

    I have many servers in my messaging cluster, is there a way to find out where my messaging engine is running ?



    ------------------------------
    Marcio D'Amico
    ------------------------------


  • 2.  RE: How do I find out where my messaging engine is running in my Service Integration clustered environment in WebSphere Application Server?
    Best Answer

    Posted Thu March 28, 2024 09:20 AM

    There are multiple ways to find out which server is currently hosting the Messaging Engine in a ME clustered environment .

    1) From Admin Console:

    To determine what JVM is hosting the messaging engine , you can follow the steps below:

    Open WAS admin console

    Go to Servers -> Core groups -> Core group settings

    Click the name of the core group containing the servers you are interested in (usually only one)

    Click the Runtime tab

    Click the Show groups button

    Click the line which has ME name

    The node/jvm that shows green status is the one that currently running the messaging engine

    2) From Wsadmin scripting

    Run the following command to list the process where Messaging Engine is running

    JACL

    $AdminControl queryNames WebSphere:type=SIBMessagingEngine,*

    JYTHON

    print AdminControl.queryNames('WebSphere:type=SIBMessagingEngine,*')

    3) From SystemOut.log

    Grep for CWSID0016I.*Started in SystemOut logs.

    grep CWSID0016I.*Started SystemOut.log

    The SystemOut having latest timestamp is the one hosting Messaging Engine.



    ------------------------------
    JHANSI KOLLA
    ------------------------------