Agents, SLA, and AQM

<<Back


·         Agent is internal background process or requestor, which is gets associated with
1)      Schedule
2)      Activity
3)      Access Group
4)      Mode.
·         Agents wakes up at the schedule time and executes its associated activity.
·         When an agent wakeup, it will run on the associated access group.
·         PRPC has a predefined master agent ‘System Pulse’, which wakes up all the user created agents at their schedule time.
·         Agent is an instance of Rule-Agent-Queue whereas agent schedule is an instance of Data-Agent-Queue.
·         Modes of Agent: - There are 3 different modes available.
1)      Legacy
2)      Advanced
3)      Standard.
·         Legacy: - This mode is been deprecated from PRPC version 5.4.
·         Advanced: - When an advanced wakes up at schedule time it will directly executes agent activity without bothering about Agent Queue Items.
·         Usually we will create advanced without applying AQM (Auto Queue Management) and these agents will be configured to run on Single Node.
·         In an advanced Agent Work Object locking and Transactional Commit must be taken care by our self.
·         Standard Agent: - Standard Agent will be applied with AQM.
AQM (Auto Queue Management)
·         This program is responsible for instructing the agent weather to execute associated agent activity or not.
·         When the Queue Items are there, standard agent will execute agent activity else it will not execute activity thus go to sleep.
·         Queue Items can be put into agent queue table PR_SYS_QUEUES by using the method/activity
·         Queue-For-Agent/QueueForAgent.
·         When the standard agent wake it will execute the agent activity ‘N’ number of times (with status=scheduled) where ‘N’ is the number of Queue Items in the PR_SYS_QUEUS table.
·         A queue is associated with the below status values.
·         Scheduled: - This is initial status when a queue is been inserted into the table and which gets process by agent during next run.
·         Now-Processing: - This means that the Queue is picked by agent and is being processed.
·         Broken-Queue: - When Queue items fails in its processing, the status will be updated to
Broken-Queue.
·         *Standard agents can be configured to run on multiple nodes whereas advanced agent we generally configure on a single node.
·         Standard agents used to process WOs whereas advanced agents are used to perform a raw functionality (which does not involve work object processing).
SMA (System Management Application)
·         Using SMA, we can manage
§  Memory
§  Agents
§  Requester
§  Listener
                              Cache etc.

No comments:

Post a Comment