SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Remote Agent List

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Remote Agent List
Author Message
NathanW



Joined: 05 Feb 2009
Posts: 51
Country: United Kingdom

Post Remote Agent List Reply with quote
I have some software that creates jobs dynamically. I have run into an issue this morning because my remote agent machine crashed. My software uses the GetAgentList function to dynamically populate the HOST field within the JDL but because the remote had crashed the job failed. I then changed my code so that it uses the BACKUP_AGENT and BACKUP_HOST fields and left them blank because I want the Master Scheduler (the machine my software runs on) to be used as a backup. This seems to be ignored and I have checked the properties on the dynamic jobs and their is no entry for either the REMOTE_BACKUP or HOST_BACKUP fields.

Please can someone tell me what I am doing wrong.

Thanks

Nathan
Fri Apr 17, 2009 6:46 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7953

Post Reply with quote
GetAgentList is not reaching out to remote agents. This function simply reads agent profile names from the local registry..

If you have more then one agent and you want to job to try first the main agent and if that is not available fail-over to a different agent, populate HOST property with the main agent name and then populate BACKUP_HOST with the other agent(s) name. If specifying more than one agent for the BACK_HOST, save the value as a comma-separated list. Here is what is going to happen when this job is run. First the scheduler will make an attempt to contain the agent specified in the HOST property. If that agent is not responding, it will try the first agent specified in the BACKUP_HOST. If that is unavailable too, it will try the next. In any case, you always need to have the HOST property populated. In case you don't really care which agent runs the job, you can use the load balancing method. For that set HOST property to "[Least busy]" value and specify all agents that can run this job in the BACAKUP_HOST property as a comma-separated list.
Fri Apr 17, 2009 7:07 am View user's profile Send private message
NathanW



Joined: 05 Feb 2009
Posts: 51
Country: United Kingdom

Post Reply with quote
Dont think this is working correctly because I have a Master Scheduler and a Remote Agent. The remote agent is in the list and called RM1. In my JDL I have the following:

HOST=RM1
BACKUP_HOST=

I have tried putting the name of my Master Scheduler in the BACKUP_HOST but it still seems to ignore it?

Nathan
Fri Apr 17, 2009 7:13 am View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
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


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.