A license metric is the rule Software Asset Management uses to count rights during reconciliation. Suite inference decides when one suite license covers installed components more efficiently than the individual component licenses. Custom license metrics let you write a calculation when the built-in metrics do not match how a product is licensed.
How a license metric sets the count
Metrics are set on software entitlements, and reconciliation applies them across metric groups and software model combinations. Each publisher has its own list. Publisher-specific rules are covered in Publisher License Reconciliation for Microsoft, IBM and Oracle. Publisher packs for Adobe, Citrix, IBM, Microsoft, Oracle, SAP and VMware are add-ons. If you are unsure what a metric means, select the reference icon beside the License metric field on the entitlement.
| Metric | What it counts |
|---|---|
| Per Core | Cores on a physical server or virtual machine. For Microsoft, this includes the virtual cores that support virtual machines |
| Per Processor | Processors on a physical server or virtual machine, counted by CPU |
| Per Device | Installations on a device |
| Per User | Installations used by one person |
| Per Named User and Per Named Device | A specific named person or device, which needs allocations recorded |
| User CAL and Device CAL | Each user or device that accesses a server |
| User Subscription | Active subscription records assigned to a user |
| Resource Consumption | Units consumed, taken from a resource value record |
Core-based metrics in virtualized clusters
Microsoft Per Core (with CAL) licenses physical servers, and the count depends on installs and operating system environments. For the Microsoft side in more depth, see Microsoft License Rules in SAM: Per Core and Per Core with CAL. It applies at cluster level when the physical server is an ESX Server inside a cluster. With vMotion or DRS enabled, virtual machines can move between hosts, so peak core capacity across the cluster sets the rights needed.
In the Australia release, VMware Per Processor requires one right for each 32 cores on a CPU. The software model carries a maximum cores per processor attribute, which sets the core limit used in that count. VMware Per Core counts a minimum of 16 cores per processor for subscription suites such as vSphere Standard and vSphere Essentials Plus.
Consumption and concurrency metrics
Resource Consumption works on a one-to-one basis, comparing Units consumed on a resource value record with Licenses required in the results. The concurrency metrics, Floating, Token and Network, count the peak number of licenses or tokens checked out, and deny requests when none remain at that peak. These metrics appear only where the Engineering Applications plugin is active with the OpenLM and Open iT integration.
Reading license metric results
After a reconciliation, each license metric result shows how many rights you own, how many are used and what remains. Rights owned adds the active rights across entitlements that share a metric. Rights used adds allocated rights to installed rights that are not allocated. Rights available is the difference, and the over-licensed amount is the estimated cost of unused rights. For the full reading of a reconciliation run, see Software Reconciliation for Compliance: How to Read the Results.
Allocation states and remediation
Allocated in use means a right is assigned and licenses an install. Not allocated in use means an install is licensed without an allocation. Allocated not in use means a right is assigned to a user or device that lacks the software, so the right is wasted. For the thresholds that decide when removal steps apply, see ServiceNow Software Reclamation Rules: Thresholds and Exceptions.
When the not allocated in use value is above zero, two remediation options appear for each unique metric: Create Allocations and Remove Unallocated Installs. User CAL and Device CAL are the exceptions. When allocated not in use is above zero, a Remove Allocations option appears.
A software model with a perpetual entitlement and a subscription entitlement produces two license metric results, one with active maintenance true and one with it false. The License usage view in the workspace shows the compliance status of each publisher.
How suite inference picks a suite license
Suite inference answers one question for each installed or subscribed product: is it part of a suite, and would the suite license cover the installed components more efficiently than component licenses? The suite engine first builds the suite structure from entitlements, software models and suite relationships. It then works through install and subscription records to find the optimal suite parent. Each covered record receives a reference to the chosen suite model in its Inferred suite column.
Automated inference in the Brazil release
In the Brazil release, the platform calculates the inference percentage during reconciliation from the install footprint and current entitlements. The system property com.snc.sam.auto_suite_inference controls this. When it is set to true, the Inference number and percent are determined automatically and the Inference option field is hidden. Product install conditions are no longer needed for common applications such as Visual Studio. To calculate the percentage by hand, clear the Automatic determination of inference option under Suite Components; the manual default is 75%.
Mandatory and inference settings
These fields apply when the suite parent is not defined in the install table. The Mandatory field sets whether a component must be installed before the suite is inferred. Its values are Optional, Always Mandatory and Mandatory Group. The Inference option field offers Number, which counts installed components and is the default for new suite models, and Percent, the default for older models.
The ranking rules
The suite engine ranks candidates in this order:
- If an installation belongs to the suite’s own software model, the suite is inferred directly, without meeting the percentage or number.
- Otherwise, any suite that meets the inference threshold on that device becomes a candidate.
- The candidate with the higher count of installed components is chosen.
- On a tie, the suite with the lower downgrade is chosen. Office 2013 beats Office 2016 when both have the same count, because it is the downgrade.
- On a further tie, the candidate with the highest percentage of installed components is chosen.
For Microsoft metrics with automated inference on, a threshold-meeting parent suite is preferred over its child suite.
Building a custom license metric
Create a custom metric when no predefined metric describes how a product or bundle is charged. A common case is an unrecognized bundle, where the products in it would otherwise be counted as separate installs. Writing the script needs the sam_developer role, and reading it needs sam_admin. For the wider product context, see the ServiceNow Software Asset Management Professional guides. The record lives under All > Software Asset > Administration > Custom License Metrics.
| Field | What to enter |
|---|---|
| License metric | The name shown on software entitlements and in license metric results |
| Table Source | Software Installations, or Resource Value |
| Allocation type | Device or User |
| Reconciliation order, allocated and unallocated | A rank, where a lower value takes precedence |
| Calculation | Script |
| Calculation Script | The reconciliation script |
When Table Source is Resource Value, the two reconciliation order fields and the allocation type field are hidden, and the script field shows a sample resource value script. Custom metrics can be turned off with the custom license metric property, which is enabled by default.
Resource value records
Resource based metrics need a Resource Value record for each software product. Units consumed holds the units in use, such as the amount of data a backup product protects. Later reconciliations compare that value with the Licenses required column. The sam_user role is required.
Unlimited licenses
An unlimited license gives unlimited allocations and rights, so any number of installs can be licensed with no true-up cost, and it is not classed as non-compliant. Tick the Unlimited license check box when creating or importing an entitlement; the sam_admin or sam_user role is needed. Reconciliation gives these licenses priority over fixed-amount licenses when installs match, and their results are generated separately. Downgrade rights are supported. For the audit and true-up side of the same question, see ServiceNow License Compliance: Audit vs True-Up Readiness.
Supported metrics include Per User, Per Device, Per Named User, Per Named Device, User Subscription, Named User Plus and Per Processor, across perpetual, maintenance, perpetual-plus-maintenance and subscription license types.
Frequently asked questions
When should I use a custom license metric instead of a built-in one?
Use a custom metric when no predefined metric matches how the product or bundle is charged, such as an unrecognized bundle whose products would otherwise count as separate installs. The metric adds a calculation the predefined list lacks, written as a script by a sam_developer.
Why did reconciliation apply a suite license instead of component licenses?
The suite engine found a suite whose threshold was met on that device and ranked it above the component option. Check the Mandatory setting too: if a component marked Always Mandatory is missing, the suite is not inferred.
What does a value above zero in Not allocated in use mean?
Installs are using rights that have no allocation against them. Reconciliation then offers the Create Allocations and Remove Unallocated Installs remediation options for that metric, except User CAL and Device CAL.
Does a resource based metric need a script?
Not necessarily. Resource Consumption compares Units consumed with Licenses required on a one-to-one basis, so a resource value record is enough. A script is needed where the built-in calculation does not match the product.