Configure nodes within a cluster and dedicate them to perform specific services. For greater convenience, you can assign purpose-specific names to your nodes. If a node is not configured with any node type, the node classification feature does not apply to that node.
Create your own node type to categorize nodes by purpose. By using configurable node types, you can optimize resources and improve performance.
-DapplicableNodeTypes JVM argument as a master list for Node
classification. Enter node types separated by a comma, for
-DapplicableNodeTypes=NodeTypeA, NodeTypeB, NodeTypeC
-DapplicableNodeTypesJVM argument, the system recognizes only the node types that are specified in this argument. Specify configurable node types at a startup so you can use them at run-time in your application.
-DapplicableNodeTypesJVM argument along with other node types that you want your system to recognize. For more information, see Node types for on-premises environments.
When you use configurable node types and you set the JVM argument
-DNodeType=<Universal> , then the agents, listeners, job
schedulers, and queue processors will run on all the nodes that you specify in the
-DapplicableNodeTypes JVM argument.
For example, the following procedure describes how to configure node types on an Apache Tomcat server.
- Optional: To ensure that all the resources that you map to your node types run correctly,
in your run-time system configure your set of applicable node types the same as
it is configured in the development system.Maintain the same set of applicable node types across all nodes in a cluster.
Note: If you want to add a new applicable node type at a run-time, start with the first node and continue with the remaining nodes.
- Modify the setenv.bat file in the
<TOMCAT_HOME>/bin directory, by setting the following JVM argument:
<node-type>is a comma-separate list of node types.
For example, to start a node with the Search and the BIX type, enter:
-DapplicableNodeTypes=Search,BIX. If the same agent is enabled on both node types and there is a conflict in agent schedules, the agent schedule for the node type that is listed first takes precedence. In this example, the agent that is enabled on the Search and BIX nodes runs according to the schedule that is specified for the Search node type.
- Verify that you have configured node types successfully by performing the
- In the navigation panel of Admin Studio, click .
- Check for node types that correspond to the nodes that you configured.
On this specified node, you can associate agents, listeners, job schedulers, and queue processors with the allowed node types only. Agents, listeners, job schedulers, or queue processors that you map to this allowed node type will run only on node types that match the configured classification. For more information, see Associating agents with node types, Associating listeners with node types. You map job schedulers and queue processors to node types when you create these rules. For more information, see Creating a Job Scheduler rule, Creating a Queue Processor rule.