When you start a node for on-premises environments, you can specify the node type
assignment for the node. Pega Cloud Services assigns node types during
provisioning.
By assigning node types to nodes and subsequently associating work resources with those
node types, you can optimize resources and improve performance. For details, see the
corresponding pages: Associating agents with node types, Associating listeners with node types, Creating a Job Scheduler rule, and Creating a Queue Processor rule.
-
Assign node types to the specific node you are starting. Use the
-DNodeType
JVM argument to specify a comma-delimited list of node
types:
-DNodeType=NodeTypeA,NodeTypeB
For example:
-DNodeType=BackgroundProcessing,WebUser
Note: If the same resource is enabled on both node types and there is a conflict in
schedules, the schedule for the node type that is listed earlier takes precedence. In
this example, the resource that is enabled on the BackgroundProcessing and WebUser nodes
runs according to the schedule that is specified for the BackgroundProcessing node type.
-
View the list of agents and listeners that are currently associated with node
types:
-
In the navigation panel of Admin Studio, click .
-
Check for node types that correspond to the node types that you need for your
cluster. If you created node types, verify that your node types appear in the
list.
-
Repeat these steps for each node in your cluster.
For example:
Node1: -DNodeType=WebUser
Node2: -DNodeType=WebUser
Node3: -DNodeType=BackgroundProcessing,Search
Node4: -DNodeType=BackgroundProcessing,Search
Node5: -DNodeType=Stream
Node6: -DNodeType=Stream