Infrastructure Based Licensing Rule

To create an infrastructure- based licensing rule:
  1. Click User Profile > License > License Rules.
  2. Click Create > Create APM License Rule.
  3. In LICENSE RULE NAME, enter the name of your rule.
  4. In LICENSE ALLOCATION, enter the number of units for each module type that this rule allocates.
  5. In the Application Scope tab, select + Specified Applications and select the applications from the list on which you want to apply the license rule. If you don't apply any application scope, the license rule applies to all the applications.
    Note:
    • Only the agents that report to the selected applications can consume the license units allocated by this rule. You can select one or more applications from the list.

    • You can specify a matching criteria to select the applications. If you select Dynamic and then Include dynamic ones, all the dynamic application names matching your criteria are selected for your license rule.

    • The agents reporting to the non-matching applications are rejected and cannot report data.

    • You can also add un-instrumented applications to the rule in Application Scope so that when you install the agents to instrument these un-monitored applications, they will be allowed to consume licenses defined in this rule.

    • You can select up to 100 applications to assign to a rule.

  6. In the Server Scope tab, select + Specified Servers and select the servers from the list on which you want to apply the license rule. If you don't apply any server scope, the license rule applies to all the servers.
    Note:
    • Only the agents deployed on the selected servers can consume the license units allocated by this rule. You can select one or more servers from the list.

    • You can specify a matching criteria to select the servers. If you select Dynamic and then Include dynamic ones, all the dynamic server names matching your criteria are selected for your license rule.

    • The agents reporting to the non-matching servers are rejected and cannot report data.

    • You can also add un-monitored machines in Server Scope so that when you install the agents to instrument these un-monitored servers, they will be allowed to consume licenses defined in this rule.

  7. Click Done to create the license rule.

This diagram depicts an example of a scope configuration for IBL.

License Scope Configuration

Machine and Cluster Agent License Prioritization

Note: The Machine and Cluster Agent license prioritization setting is available for infrastructure-based licenses in Controller >= 21.11.0.

With Infrastructure-based Licenses (IBL), you can activate license rules to preserve license usage for a Cluster Agent in situations where the system cannot detect its vCPU details. When a Cluster Agent lacks vCPU information, it will temporarily be registered with 0 license units to report the data instead of rejecting them for a few minutes before they start consuming the fallback license units.

Use the PRIORITIZE MACHINE AND CLUSTER AGENT LEASE toggle when you are running a large cluster with several working nodes. If a node using the Cluster Agent fails, then the other app agents on the cluster may use up all the licenses available in the infrastructure-based license pool. When the node recovers and the Cluster Agent tries to get a license lease, there might not be enough available, which will result in overages. If the Machine/Cluster Agent license prioritization setting is activated, one of the other agents will release licenses to allow cluster agents to use them if there are not enough licenses available.

To enable the PRIORITIZE MACHINE AND CLUSTER AGENT LEASE option:

  1. Go to SettingsSettings > License > License Rules.
  2. Click the PRIORITIZE MACHINE AND CLUSTER AGENT LEASE toggle.
  3. Click Done.

Allow Agents to Temporarily Register Without License Units

To conserve license consumption by agents when the system cannot detect its vCPU information because of asynchronous nature of reported vCPU information, AppDynamics enables the delayed fallback mode by default. This mode allows all the agents associated with the license rule to temporarily register with zero license units instead of rejecting them for a few minutes before they start consuming fallback units. This approach prevents the license usage spikes and loss of data. If the vCPU count is still unknown after 10 minutes, the agents start consuming the fallback license units.

On the Create APM License Rule page, the delayed fallback mode is represented by the the ALLOW AGENTS TO TEMPORARILY REGISTER WITH 0 UNITS ON HOSTS LACKING vCPU INFORMATION toggle. This toggle is always ON.

Note: Prior to the 25.10.0 release, this toggle was called as WAIT FOR VCPU INFORMATION BEFORE REGISTERING AGENTS.

Best Practices to Create License Rules

  • When creating license rules, you should follow consistent criteria for selecting which applications belong to a rule. We recommend:
    • If you want a rule to contain multiple applications, then group applications by business unit.
    • If you want to view individual application usage, then select only one application per rule.
  • For each rule you create, a new access key is generated, and the agents under that rule are authenticated with that generated key. Make sure to update your agent to use this new access key and restart the agent.
  • Make sure the selected applications and servers on each rule are an exclusive list and are not part of multiple rules. This structuring helps with managing chargebacks effectively.
  • If you choose not to create any rules, then your license allocation follows the default rule, which allows all applications and servers to equally consume each license.
  • To simplify license reporting in a cluster (containerized environment), we recommend that all applications and agents use the same license key when using license rules.
  • When configuring rules, you can allocate more units than you were originally provisioned by Splunk AppDynamics. Over-provisioning units buffer your unit allocation and are useful when the exact number of license units for the list of applications and servers for the rule are unknown. Although the allocation on the rule is unbounded, Splunk AppDynamics limits your unit usage according to the number of licenses you purchased.
Warning: Overlapping configurations on license rules may complicate license reporting. Splunk AppDynamics recommends you configure license rules with caution because you must confirm the license usage on each rule matches the license usage at the account level. License usage at the account level is the union of usage for all license rules, and not a sum of usage of all license rules. When multiple applications are hosted on the same host and each application agent uses a different rule key, usage will be reported in both the rules, and it will be reported as if you are consuming double the licenses, which is incorrect.