Reuse Node Name
To reuse node names in AppDynamics, you have to set nodereuse
property to true
. When you set this property to true, you do not have to supply a node name, but you do need to provide a node name prefix using nodereuseprefix
.
When nodereuse
and a node name is used, the nodereuseprefix
property is given precedence.
This property is useful for monitoring environments where there are many VMs (Virtual Machines) with short life spans. When set to true, AppDynamics reuses the node names of historical VMs for new VMs. This avoids a proliferation of differently named nodes in AppDynamics over time, particularly when the nodes are essentially identical processes that run over different times.
AppDynamics generates a node name with App, Tier, and Sequence number, and the node names are pooled. For example, the sequence numbers are reused when the nodes are purged (based on the node lifetime).
System Property: nodereuse
Type: Boolean
Default: False
Required: No
Reuse Node Name Prefix
When you configure the agent to reuse node names, use this property to specify the prefix that the Controller uses to generate node names dynamically.
System Property: nodereuseprefix
Type: String
Default: None
Required: When nodereuse=true
Reuse node feature example:
With the following configuration, the Controller generates a node name with the prefix "reportGen". Node names will have suffixes -1, -2, and so on, depending on the number of nodes are running in parallel. The name of a node that is shut down and qualifies as a historical node may be reused by a new node.
nodereuse=true nodereuseprefix
=reportGen
Add Comment