Dynamically update the agent schedules across nodes
If we just update the agent schedule,via activity, we need to manually stop and start the agent in SMA so that the new schedule will be picked by the agent. We have many nodes and we dont want to go to each node and restart the agent. Please let me know if there is any way to dynamically update the agent schedules
------ If we just update the agent schedule,via activity, we need to manually stop and start the agent in SMA so that the new schedule will be picked by the agent?
Ans: If we update the agent schedule via activity, we do not need to stop and start the agent in SMA, Every 10 or 15 mins master agent usually run. The master agent checks if there is any agent change in the agent schedule, if there is a change the new schedule will be reflected once after the master agent run.
In addition to my above answer, you can write an activity to browse all the available nodes and update the agent schedule for each of those nodes. For list of nodes, you can use the OOTB list View InstanceListFiltered in Data-Agent-Queue class to get the list of nodes. You can Obj-Open by Ruleset and node name and update the changes.
I have update the agent schedule on all nodes via activity and when i open the data-agent-queue it was updated with new schedule. I have waited for 10 mts because the setting (wake up interval for master agent is 600,000). But i am still seeing the old schedule. (i have changed from 30secs to 31 secs).
How can we verify if the master agent is running and updating the schedules properly.