cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Rugved.Sarode
AppDynamics Team

Find out about APM license allocation and how you can specify how many APM licenses to allocate to  applications and machines.

 

Table of Contents


 

What are license rules?

License rules help you specify the distribution of licenses across all of your applications and machines. You can oversee your license pool and, based on your usage, use license rules to reallocate licenses and scale out certain applications. There are two types of rules: default and custom. We’ll break these two rule types downvelow, though you can also read about them in Create and manage custom roles in our documentation.

 

License rules are not mandatory and can be based on your Controller or account preferences. For example, you can manage multiple accounts as a Controller admin and decide which account should have license rules and which should not.

 

How do I enable license rules?

To enable the license rules feature, navigate to the gear icon  → License → Rules tab → Create Rule.

 

The following image illustrates the flexibility of license assignments:

License Rules Overview.jpeg 

Here are three examples of how license rules function based on the License Rules Overview diagram above.

  1. Monitored Application e is under License Rule 2 - Application Scope AB, and is also under License Rule 3 - Application Scope AC. Therefore, Application e needs to use the LicenseRule 2 or LicenseRule 3 AccessKey. If any other rule AccessKey is used, meaning Application e is trying to connect using another license rule, the agent will not be able to report.

  2. There is an unmonitored application with no name that’s been added to License Rule 2 - Application Scope AB. Should it ever be monitored, it can only connect using the License Rule 2 AccessKey.

  3. Application a is deployed on Machine ii. If Machine ii is moved out of scope for Machine Scope MA, Application a and all of the agents on Machine ii will be down and not allowed to connect.

 

What is a default rule?

Default rules automatically distribute licenses across all applications per need basis if you don’t have a custom rule set up. To see if you have created any rules, navigate to Gear icon → License → Rules tab. If there are none, click Create RuleThis will set up a "default" rule, which will also be the name of the rule. When it’s created, it will have all license entitlements and its AccessKey will be the same as the Account Level AccessKey.

 

You can rename the default rule (e.g., “Default” → “John Doe”), but it’s not recommended since it can create confusion. Once you rename it, the only way to know that it is the default one is to match its AccessKey to that of the Account Level AccessKey.

 

What is a custom rule?

You can also set up custom rules, which let you to specify the number of licenses allocated to certain license modules. When creating a custom rule, you can stipulate how many units to allocate to a rule or which applications/servers can consume agents. Once the new license rule is set up, licenses will be allocated according to your new preferences. Please note that the custom rule AccessKey will be different than the Account Level AccessKey.

 

For detailed instructions on how to create a custom rule and steps to take after setting one up, see: Creating Custom Rules.

 

What agents are supported through License Management?

The screenshot below shows which agents are supported through License Management (License Rules) as of 4.4.2+. Please note that some are not available in 4.3.x versions. License Rules only support APM, Machine Agents, Server Visibility, and Network Visibility. If you are using .NET Agents, you will need an equal number of Machine Agents and .NET Agents in a rule or the agents will stop reporting.

Screen Shot 2019-02-26 at 6.29.43 PM.png

 

What happens if I delete a license rule?

To learn more about this scenario, see: What happens if I delete a license rule?

 

Last Updated: 3/20/19

 

Additional Resources

 

Comments
Arthur.Oliveira
Builder

Hi there!

 

Does the restriction of needing equal numbers of .NET Agents and Machine Agents applies to microservices environments, such as cloud apps or Kubernetes apps?

Claudia.Landivar
Community Manager

Hi, @Arthur.Oliveira: I wanted to let you know that we're working on getting an answer to your question. We'll update you once we finalize that process. Thank you for calling this out to the Community.

Rugved.Sarode
AppDynamics Team

Hi @Arthur.Oliveira 
The restriction for .Net agent + Machine agent on license rule is only a warning which says
"Please ensure you have allocated at least 1 Machine Agent for each .NET agent entered for this License Rule."
Meaning, allocations under .License Rule for Net and Machine Agent should be equal for effective monitoring.
It's a warning and not a compulsion. 

If you have more questions, feel free to create a ticket with us via help@appdynamics.com

Version history
Last update:
‎08-13-2021 11:35 AM
Updated by: