Creating node types for different purposes
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.
Use the -DapplicableNodeTypes
JVM argument as a master list for Node
classification. Enter node types separated by a comma, for
example:
-DapplicableNodeTypes=NodeTypeA, NodeTypeB, NodeTypeC
-DapplicableNodeTypes
JVM 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. 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.
- Modify the setenv.bat file in the
<TOMCAT_HOME>/bin directory, by setting the following JVM argument:
-DapplicableNodeTypes=<node-type>
where
<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
following actions:
- In the navigation panel of Admin Studio, click .
- Check for node types that correspond to the nodes that you configured.
Previous topic Assigning node types to nodes for on-premises environments Next topic Clustered deployment