To enable particular set of agents in set of nodes:
Scenario: On Some scenario, only particular set of agents need to be run in specific nodes, example, Search, BackgroundProcessing, Stream nodes. Because running other agents/unwanted agents on these nodes may cause system slowness or performance issues.
To allow only particular list of agents to be executed, below parameter need to be used while starting the servers:
-DIncludeAgents="RuleSet1:AgentName1,RuleSet1:AgentName3,RuleSet2:*"
1) Rulesets need to be replaced by Ruleset where particular agent created and AgentName will be same given in the description of each agents.
2) If all the agents from particular agents need to run, then "*" need to be add after the Ruleset name.
[SS]
To exclude any agents needs to be run in that node:
then below syntax need to be used
-DExcludeAgents="RuleSet1:AgentName1,RuleSet1:AgentName3,RuleSet2:*"
One Exception to the above configuration:
Kernel categorised agents which will continue to run irrespective of the agents mentioned in include/Exclude agent comments
Note: In both the parameters, same name cannot be given for both exclude and include which will be illogical.
Please refer to the below link from Pega PDN site for more details:
https://docs.pega.com/system-administration/configuring-nodes-run-selected-agents
No comments:
Post a Comment