Windows Server Standard 2-core compliance (additional host workloads) (System)¶
OctoSAM system query
This query is an integral part of the OctoSAM application. OctoSAM starts the query to display tabular data within the application. The query can only be started from within the intended application system context.
Windows Server Standard 2-Core compliance, physical OSE of Windows Server hosts counted (additional host workloads).
Metric scope and calculation logic
This query calculates Windows Server Standard 2-core packs for physical Windows Servers, physical ESX hosts, and Windows Server VMs that have the software item assigned.
Use this variant if the physical OSE of your physical Windows Servers also runs other workloads, or if you can't confirm that it's used solely to host and manage virtual OSEs. If it's used solely for that purpose, use Windows Server Standard 2-core compliance (management-only hosts) instead. Evaluate machines with only one of the two variants. Their results are alternatives and aren't additive.
-
Physical machines: license all physical cores, minimum 8 per processor and 16 per server: MAX(NumberOfCores, NumberOfProcessors * 8, 16). Each full set of these licenses is a layer that covers two operating system environments (OSEs). More OSEs need additional layers (stacking). Layers = MAX(1, CEILING((G + P) / 2.0)), where G counts the inventoried Windows Server guest VMs and P is the physical OSE.
-
Physical OSE: Microsoft permits the physical OSE in addition to the two virtual OSEs of a layer only if it is used solely to host and manage the virtual OSEs. This variant doesn't apply that exception. For physical Windows Servers, including Hyper-V hosts, it assumes that the physical OSE also runs other workloads and counts it as one OSE (P = 1). For example, the physical OSE and one guest VM need one layer, and the physical OSE and two guest VMs need two layers. For ESX hosts, P = 0. The query doesn't detect how the physical OSE is used. This is a calculation assumption, not an inventoried finding.
-
Individually licensed VMs: allocated virtual cores, minimum 8 per VM.
ConsumedUnits = CEILING(CoresForLicensing / 2.0). LicensingScenario shows the guest VMs, layers, and cores per layer. Missing or invalid inputs leave ConsumedUnits empty with a REVIEW message. Uncertain guest records are evaluated as excluded and included: equal layer counts return the quantity with REVIEW, different counts leave ConsumedUnits empty. Uninventoried machines aren't covered.
Excluded scenarios and limitations
The query doesn't assess migration history, clusters, failover capacity, containers, nested virtualization, version or edition rights, CALs, or actual license holdings.
Guest counts indicate demand, not proof of license coverage. Standard licenses don't cover Datacenter guests. Mixed models, such as stacking plus individually licensed VMs, aren't optimized. The processor minimum assumes processors with equal core counts. WindowsServerGuestVmsOnHost counts confirmed guests only. LicensingScenario reports unresolved, ambiguous, or multi-host guest records.
Double-assignment risk
DoubleAssignmentRisk = 1 flags a physical host and a Windows Server guest VM of that host when both have the same software item assigned. DoubleAssignmentDetails names all counterpart machines and IDs.
ConsumedUnits is calculated independently for host and guest, and the guest still counts toward the host's layers. Neither quantity is reduced. The flag is a review warning, not by itself a license violation, and not an automatic cleanup. Only the same SoftwareItemID is correlated.
Software Assurance and SoftwareItem naming
Physical Standard licensing, including additional layers, doesn't require Software Assurance (SA).
Licensing individual VMs requires subscription licenses or active SA, and the CALs used under that model must also be subscriptions or have active SA. Check further minimums and conditions of this model at the agreement level. An Enterprise Agreement alone doesn't establish these rights.
The query doesn't evaluate SA, subscription, or CAL status. Reflect them in the software item name and cost, for example (with SA), (without SA), or (subscription). The software item name doesn't establish or enforce licensing eligibility.
Fields¶
| Name | Type | Visible | Description |
|---|---|---|---|
| Software Item ID | object | false | OctoSAM internal ID of this SoftwareItem entity |
| Software Item Guid | object | false | OctoSAM internal Guid of this SoftwareItem entity |
| Software Item | string | false | Name of the software item |
| Units | object | false | Number of license units associated with this entity |
| Initial Cost | object | false | Initial cost associated with this entity |
| Recurring Cost | object | false | Recurring cost associated with this entity |
| Organization ID | object | false | Internal ID that references the Organization entity (Foreign Key) |
| Organization Guid | object | false | Internal unique identifier for this organization that can be used for links from external systems |
| Organization | string | true | Name of the organization |
| Organization Description | string | false | Description |
| Environment ID | object | false | Internal ID that references the Environment entity (Foreign Key) |
| Environment | string | false | Name of the Environment |
| Organization Custom Field1 | string | false | Available for custom data, not used by OctoSAM Inventory |
| Organization Custom Field2 | string | false | Available for custom data, not used by OctoSAM Inventory |
| Organization Custom Field3 | string | false | Available for custom data, not used by OctoSAM Inventory |
| Organization Custom Field4 | string | false | Available for custom data, not used by OctoSAM Inventory |
| Object State ID | object | false | Internal ID that references the ObjectState entity (Foreign Key) |
| Object State | string | false | Object state name |
| Object State Octopus Id | string | false | OctoSAM internal name for programmatic access to the object state (e.g., in queries) |
| Machine Guid | object | false | A unique ID that can be used to link to this machine object by external applications |
| Machine ID | object | false | Internal ID for the Machine entity (Primary Key) |
| Machine Name | string | false | Machine name (computer name) |
| Machine | string | true | Use this name in reports for consistency and to avoid having to build the printable name from its parts |
| Alternate Name | string | false | Contains the computer name for systems that may have different host and computer names, such as macOS |
| Fully Qualified Domain Name | string | false | Fully qualified domain name as seen by the scanner through reverse lookup of the network address |
| Machine Description | string | false | Description attribute of the directory service or manually entered during offline scan |
| Alternate Description | string | false | Alternate description field specific to the scanned machine type. For example, locally entered description in macOS. |
| Domain Name | string | false | Windows NETBIOS Domain Name |
| Sid | string | false | Computer SID |
| Last Scan Guid | object | false | GUID of the last imported .scan file for this entity. |
| First Scan | object | false | Date/Time of first scan of this machine |
| Manufacturer ID | object | false | Internal ID that references the Manufacturer entity (Foreign Key) |
| Manufacturer | string | false | Normalized hardware manufacturer name |
| Raw Manufacturer | string | false | Manufacturer of the machine as scanned from the hardware. This is not normalized and may contain different spellings of the same manufacturer. |
| Model | string | true | Model of the Machine |
| Bios Serial Number | string | false | BIOS Serial Number |
| Processor | string | false | Processor Name |
| Processor Speed | object | false | Max speed of the processor in MHz |
| Number Of Processors | object | true | Number of processors |
| Number Of Cores | object | true | Number of cores |
| Number Of Logical Processors | object | false | Number of logical processors |
| Oracle Core Factor | object | false | Oracle Core Factor to use for Oracle pricing. Queries should always use this field. |
| Physical Memory | object | false | Amount of physical memory (in bytes) in the system |
| Chassis Types | string | false | ChassisTypes in clear text, comma separated |
| Directory Last Logon Last Scan Diff | object | false | Difference between DirectoryLastLogon and LastScan timestamps |
| Custom Field1 | string | false | Available for custom data for this machine, not used by OctoSAM Inventory |
| Custom Field2 | string | false | Available for custom data for this machine, not used by OctoSAM Inventory |
| Custom Field3 | string | false | Available for custom data for this Machine, not used by OctoSAM Inventory |
| Custom Field4 | string | false | Available for custom data for this Machine, not used by OctoSAM Inventory |
| Virtual Machine | object | true | True if this is a virtual machine |
| Virtualization Host | object | false | True if this machine hosts virtual machines |
| Last Scan | object | true | Date/Time of the last imported scan for this machine as reported by the machine (may be out of sync) |
| Licensing Scenario | string | true | Applied scenario. For a physical host, it shows the counted Windows Server guest VMs, licensing layers, and cores per layer; a physical Windows Server also counts its physical OSE (assumed to run other workloads). Starts with REVIEW for missing data, uncertain guest records, or an unresolved quantity. |
| Cores For Licensing | object | false | Required core licenses: cores per layer multiplied by the licensing layers for a physical host, or MAX(allocated virtual cores, 8) for an individually licensed VM. Empty when the requirement can't be determined. |
| Consumed Units | object | true | Required 2-core packs: CEILING(CoresForLicensing / 2.0). Empty when the requirement can't be determined. |
| Machine Initial Cost | object | true | ConsumedUnits multiplied by the initial cost per 2-core pack. Empty when the price or the consumption is missing. |
| Machine Recurring Cost | object | true | ConsumedUnits multiplied by the recurring cost per 2-core pack. Empty when the price or the consumption is missing. |
| Windows Server Guest Vms On Host | object | true | Confirmed Windows Server guest VMs on a physical host, linked only to this host. Uncertain guest records are reported in LicensingScenario. Empty for virtual machines. |
| Double Assignment Risk | object | true | 1 if a physical host and one of its Windows Server guest VMs have the same software item assigned. A review warning, not by itself a license violation. |
| Double Assignment Details | string | true | Names and machine IDs of all counterpart machines with the same software item assigned |
| Current Date Time | object | false | Date and time the query was run. For reference if you use and save query results. |
Query information¶
| Property | Value | Description |
|---|---|---|
| Query Guid | 48ef858a-309b-4ffd-9de5-5044acfd8aea | The internal id of the query. Must be unique |
| SupportsDesktop | true | If true, the query can be started from the OctoSAM Windows GUI |
| SupportsWeb | true | If true, the query can be started from the OctoSAM Web UI |
| LastUpdate | 2026-11-19 22:17:53 | Last change to this document |
| Build | 1.12.7.92 | OctoSAM build that last changed this document |