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 » IBM MQ File Transfer Edition » How to check WMQFTE agent is running and working properly

Post new topic  Reply to topic
 How to check WMQFTE agent is running and working properly « View previous topic :: View next topic » 
Author Message
rajeevsandil
PostPosted: Mon Apr 06, 2009 10:16 pm    Post subject: How to check WMQFTE agent is running and working properly Reply with quote

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
View user's profile Send private message
amreinm
PostPosted: Tue May 26, 2009 3:14 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
PeteVerdon
PostPosted: Thu Jun 11, 2009 7:27 am    Post subject: Reply with quote

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
View user's profile Send private message
pranaygupta
PostPosted: Fri Jan 08, 2010 3:14 am    Post subject: Reply with quote

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
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 » IBM MQ File Transfer Edition » How to check WMQFTE agent is running and working properly
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.