Pinned topicAgents running as a service?

‏2009-08-14T20:00:33Z
|Tags:

Answered question
This question has been answered.

Unanswered question
This question has not been answered yet.

Is there a way to have the agents run as a service? Right now we have to log into the server and start the service from the command line and this user needs to remain logged in - which is an administration problem especially after hours and a RDP session usually has to remain open...

RedHat is easy as all you need to do is run the fteStartAgent command from the system start sequence scripts. Agents will run quite happily as daemon processes until stopped by a stop agent command.

Windows is more problematic.
You can start the agent automatically at boot time using a scheduled task to execute the fteStartAgent command.
The catch is that a user logoff event will still terminate the JVM's. We already have a requirement to address this and, if you think it's important, you should add your voice to this requirement to raise its priority.
The only work around I can suggest at present would be some clever scripting or a repeating scheduled task to restart the agent if it's been killed by a logoff.

Re: Agents running as a service?

RedHat is easy as all you need to do is run the fteStartAgent command from the system start sequence scripts. Agents will run quite happily as daemon processes until stopped by a stop agent command.

Windows is more problematic.
You can start the agent automatically at boot time using a scheduled task to execute the fteStartAgent command.
The catch is that a user logoff event will still terminate the JVM's. We already have a requirement to address this and, if you think it's important, you should add your voice to this requirement to raise its priority.
The only work around I can suggest at present would be some clever scripting or a repeating scheduled task to restart the agent if it's been killed by a logoff.

Re: Agents running as a service?

‏2010-03-01T21:55:46Z

This is the accepted answer.
This is the accepted answer.

HI Guys,
To start the FTE Agent as a Windows Services, the simple solution is to download and install the MQATTACH Launcher which is designed to start / stop any application which has a command interface, as a Windows Service. You can download the MQALauncher directly from the following site: http://www.mqattach.com Once there, you click on the downloads link, and you will see that there "FTE as a Windows Service" link to download.

If you download the executable, and install it it will create a directory structure of C:/Program Files/MQAttach/MQALauncher. There is a "config.xml" which you have to change in the MQAttach/MQALauncher directory. A sample is provided on the download site, all you have to do is change the Agent name. You need to then go to the Windows "Services" administration screen, there you will see a service called "MQATTACH Command Line Launcher Service", by default it is setup to start as a "System User", you could opt to change this by assigning a user/pw or leave it as is, and then simply start the service.

Re: Agents running as a service?

HI Guys,
To start the FTE Agent as a Windows Services, the simple solution is to download and install the MQATTACH Launcher which is designed to start / stop any application which has a command interface, as a Windows Service. You can download the MQALauncher directly from the following site: http://www.mqattach.com Once there, you click on the downloads link, and you will see that there "FTE as a Windows Service" link to download.

If you download the executable, and install it it will create a directory structure of C:/Program Files/MQAttach/MQALauncher. There is a "config.xml" which you have to change in the MQAttach/MQALauncher directory. A sample is provided on the download site, all you have to do is change the Agent name. You need to then go to the Windows "Services" administration screen, there you will see a service called "MQATTACH Command Line Launcher Service", by default it is setup to start as a "System User", you could opt to change this by assigning a user/pw or leave it as is, and then simply start the service.

Guys, be very aware that MQAttach is NOT an IBM product and you will not get any help from IBM Service with problems relating to it. Think very carefully before including it in your production systems.

Re: Agents running as a service?

Guys, be very aware that MQAttach is NOT an IBM product and you will not get any help from IBM Service with problems relating to it. Think very carefully before including it in your production systems.

And I just thought I would clarify the comments on this issues regarding us.
MPhillip is correct in the sense that MQAttach is not an IBM product, but we are IBM Business Partners and we do provide support for MQAttach

We are actively developing the product, and have included a number of features in the lastest release, with more to come in the next few weeks and months

Our goal is to enhance the usability of FTE by providing cost-effective tools and functionality

If you require any further info, please do hesitate to contact me or consult our website at http://www.mqattach.com
Thanks
Mac

Re: Agents running as a service?

‏2010-09-08T06:52:18Z

This is the accepted answer.
This is the accepted answer.

Hi,

see the developerWorks article "Mission:Messaging: Using a Windows service to start WebSphere MQ File Transfer Edition client agents" at
http://www.ibm.com/developerworks/websphere/techjournal/1007_mismes/1007_mismes.html?ca=drs-

Re: Agents running as a service?

‏2011-01-23T08:56:03Z

This is the accepted answer.
This is the accepted answer.

hi
i am trying to install mqattach.
i understand that there should be some config files :
one config.xml file for the MQALauncher inside the Launcher directory.
one web.config inside the MQAWeb directory.
one config.xml inside the shared directory.

i dowloaded the ZIPs of mqattach from the mqattach.com website , but there are no such files..and i cant find samples for them..

Re: Agents running as a service?

hi
i am trying to install mqattach.
i understand that there should be some config files :
one config.xml file for the MQALauncher inside the Launcher directory.
one web.config inside the MQAWeb directory.
one config.xml inside the shared directory.

i dowloaded the ZIPs of mqattach from the mqattach.com website , but there are no such files..and i cant find samples for them..

Re: Agents running as a service?

hi
i am trying to install mqattach.
i understand that there should be some config files :
one config.xml file for the MQALauncher inside the Launcher directory.
one web.config inside the MQAWeb directory.
one config.xml inside the shared directory.

i dowloaded the ZIPs of mqattach from the mqattach.com website , but there are no such files..and i cant find samples for them..