ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Standalone Integration Server Status Check Command in ACE12

Post new topic  Reply to topic
 Standalone Integration Server Status Check Command in ACE12 « View previous topic :: View next topic » 
Author Message
EricL
PostPosted: Wed Mar 26, 2025 8:22 am    Post subject: Standalone Integration Server Status Check Command in ACE12 Reply with quote

Centurion

Joined: 10 Oct 2014
Posts: 102

Hi,

I got a curious question about standalone integration server status check in ACE 12.

Knowing normally admin UI is used for a standalone integration server, is there a way to check it from command line?

Thanks
Eric
Back to top
View user's profile Send private message
mgk
PostPosted: Fri Mar 28, 2025 7:54 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

Yes, there are a couple of options.

Firstly you can use: curl

The docs mention it here for v12: https://www.ibm.com/docs/en/app-connect/12.0?topic=servers-starting-integration-server There are examples on many more pages as well but here is the simplest example which returns lots of info:

Code:
curl -s https://<your-host>:7600/apiv2/


You can narrow it down with a JQ query like this:

Code:
curl -s https://<your-host>:7600/apiv2/ | jq .active
{
  "eventLog": "/home/aceuser/ace-server//log/integration_server.ace-server.events.txt",
  "exceptionLoggingOn": false,
  "isOptimized": false,
  "isRunning": true,
  "lastMessageEpoch": 1742309714,
  "lastMessageTime": "2025-03-18T14:55:14Z",
  "monitoring": "inactive",
  "monitoringProfile": "",
  "processId": 15,
  "restAdminListenerIPCSocket": "/home/aceuser/ace-server//config/IntegrationServer.uds",
  "restAdminListenerPort": 7600,
  "serviceTraceOn": false,
  "startupEpoch": 1742228764,
  "startupTime": "2025-03-17T16:26:04Z",
  "state": "started",
  "traceNodeLevel": true,
  "userTraceOn": false
}


or even get just the "state" with a query like:

Code:
curl -s https://<your-host>:7600/apiv2/ | jq .active.state
"started"


or if you don't want the quotes, just add the -r flag:

Code:
curl -s https://<your-host>:7600/apiv2/ | jq -r .active.state
started


Alternatively you can use the mqsilist command with the options to point to a specific integration server like this:

Code:
mqsilist -i <your-host> -p 7600
BIP1275I: Application 'MyApp' on integration server 'my-server' is running.
BIP1390I: Policy project 'jndi' is deployed to integration server 'my-server'.
BIP8071I: Successful command completion.


I hope that helps
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
EricL
PostPosted: Fri Mar 28, 2025 12:52 pm    Post subject: Reply with quote

Centurion

Joined: 10 Oct 2014
Posts: 102

Very informative reply "mgk", thank you so much.

j-Query is a powerful utility to filter jason messages.

Appreciated your advice, thanks again !

Eric
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Standalone Integration Server Status Check Command in ACE12
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.