|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to check WMQFTE agent is running and working properly |
« View previous topic :: View next topic » |
Author |
Message
|
rajeevsandil |
Posted: Mon Apr 06, 2009 10:16 pm Post subject: How to check WMQFTE agent is running and working properly |
|
|
Newbie
Joined: 06 Apr 2009 Posts: 3
|
Hi all
I have just started using WebSphere MQ FTE. I am facing a problem, can you please suggest some thing.
I have created a Agent and Started it on Linux machine. Now I am writing a program to transfer some file between agents. But before doing the transfer I want to check whethe FTE agents are started or not. And if started working perfectly or not.(i.e. There shouln not any configuration issue). But I am not able to find out how to do these checks.
One option may be by creating dummy transfer but in that case there may be some long wait condition. As far as I got from the documentation, the file will be placed in the queue of the same priority which we provide and since there may be some other transfer going on at the time my program starts, I have to wait for all the other transfer to complete.
So can any one please tell me the method by which I can do the mentioned task.
Thanks |
|
Back to top |
|
 |
amreinm |
Posted: Tue May 26, 2009 3:14 am Post subject: |
|
|
 Newbie
Joined: 26 May 2009 Posts: 2
|
Hello!
This is a question that I also asked myself immediately after I set up my first FTE test environment.
There really should be some "fteDisplayAgentStatus" command- but this does not exist (yet).
So, I use to practice the following method to determine whether or not an FTE client is started, which may even be useful for your (rajeevsandil) purposes:
check the OPEN STATUS of the SYSTEM.FTE.COMMAND.<fte-agent> queue.
Issue the following MQSC command against the agent queue manager (if there is only one FTE Agent, the generic queue name will resolve to the the one FTE Command queue- else you have to name the queue completely)
display qstatus(SYSTEM.FTE.COMMAND.*) TYPE(HANDLE) OPENTYPE(INPUT)
If the FTE Agent is started, the result will look like this:
QUEUE(SYSTEM.FTE.COMMAND.<agentname>) TYPE(HANDLE)
APPLTAG(\IBM\WMQFTE\jre\bin\java.exe) APPLTYPE(USER)
USERID(......)
If it's not, then the command returns: AMQ8565: Queue Status not found.
Not a very sexy solution, but as long as we don't have a command to directly inquire in the FTE Agent's status, this maybe used.
cheers
Marcel |
|
Back to top |
|
 |
PeteVerdon |
Posted: Thu Jun 11, 2009 7:27 am Post subject: |
|
|
Apprentice
Joined: 11 Feb 2009 Posts: 33 Location: Hursley, UK
|
Now that FTE 7.0.1 has been released, there is an ftePingAgent command which will allow you to check whether an agent is running and able to receive commands.
Pete |
|
Back to top |
|
 |
pranaygupta |
Posted: Fri Jan 08, 2010 3:14 am Post subject: |
|
|
Novice
Joined: 01 Sep 2009 Posts: 14
|
use the following command in command line:
ftePingAgent <agentName>
times out if agent is not running.
fteStartAgent to start an agent
fteStopAgent to stop it. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|