Question & Answer
Question
When a messaging engine starts in a cluster, it is not always known which JVM it is running in. This Technote shows how to display all of the messaging engines in the cluster, and which JVM they are running in.
Answer
Using a script
- Download this file.
LocateME.py
- Change directories to the Deployment Manager bin directory.
- Execute the command:
wsadmin -lang jython -f <path_to_script>LocateME.py
Using a single command (unformatted output)
- Change directories to the Deployment Manager bin directory.
- Execute this command:
wsadmin -lang jython - At the "wsadmin>" prompt enter the command: AdminControl.queryNames('WebSphere:type=SIBMessagingEngine,*')
[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Administrative Scripting Tools (for example: wsadmin or ANT)","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF012","label":"IBM i"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"6.1;7.0;8.0;8.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21621332