Thoughts on Domino, Life and whatever else comes to mind

 Denny Russell
 
Site Resources
Archives
Blog Roll
Categories
 

Allow agents executed using server command "tell amgr run" to be seen...

Denny Russell   June 23 2011 07:02:24 AM
In working with our customers, many have requested the ability to see what an agent is doing when they use the 'Run Now' option.  The 'Run Now' option in our products simply uses the 'Tell AMGR RUN' command at the console to start an agent.  Unlike a scheduled LotusScript agent, once you issue this command, you have no control. This is nothing new, as it's been on IdeaJam for a while now.

Let me show you what I mean. (if you understand the issue and just want the information on the enhancement request, skip to the bottom.)


1. I started an agent with the Tell amgr Run command....
Image:Allow agents executed using server command "tell amgr run" to be seen...

2. I issued the Tell amgr status command...
Image:Allow agents executed using server command "tell amgr run" to be seen...
NOTE: It does not think my agent is running.
NOTE2: I understand this to be the way it is designed based on this Technote...
Title: How to run multiple agents in the same database using a Program document
Doc #: 1279832
URL: http://www.ibm.com/support/docview.wss?uid=swg21279832
NOTE 3: This Technote does not mention 8.5x

3. I tried to stop the agent with a "Tell amgr cancel"
Image:Allow agents executed using server command "tell amgr run" to be seen...
NOTE: It does not know my agent is running. Again, it's expected.

4. I shut down the agent manager using "Tell amgr quit"
Image:Allow agents executed using server command "tell amgr run" to be seen...
NOTE: Now here's the catch. When shutting down amgr, it knows that my agent was running and completes.
So why does #2 & 3 not know my agent exists, yet #4 does?  If they know it's running to shut it down, they have to be able to report on #2 & 3.


So here is the good news, in working with IBM they understand the issue and more importantly, the need.  They have created an enhancement request, SPR #JGIR73JSXW.

As many of you know, the way to get an SPR through is to get more weight behind it.  So please, if you have the need for this, add your name to the enhancement request.

  • Admin Thanks to Chris Miller and Connectria for hosting this blog.