Func31_AllCoresAuthorized

<< Click to Display Table of Contents >>

Navigation:  Modules > Asset Management > Software License Management > Authorization Analyzer (Complex license types) > AA Functions >

Func31_AllCoresAuthorized

Description

This function determines if all of the cores on the physical machine are authorized for the MSL title of the authorization under test.  The number of physical cores are compared to the sum of all License Units Required (LURs) assigned to all authorizations for the current MSL title on the physical asset EXCEPT the LURs (if any) of the current authorization under test.

 

Processing Notes

The function first determines the if the asset being processed is a virtual machine.  

If so, the 'Parent' asset is read from the asset record to determine the physical asset.

Next, the 'Cores' field is read from the physical asset.

If the 'Cores' field is blank, then the function checks to see if a master product link is maintained for in the 'mstProdNo' field of the physical asset.

If so, then the 'Cores' value from the master product table will be used.

If no cores value is found, then an else condition is raised for the function and processing is stopped.

Next, execute a SQL statement to determine the number of other instances of the relevant MSLno can be found for the relevant AssetID.

If the number of other instances (authorizations) >= cores, then return true.  Otherwise, return false.

 

Inputs

 

Parameter

Explanation

None.

 

 

Outputs

 

Result

Result Explanation

Confidence Adjustment

Return Value

True

Other instance(s) found.

 

<Sum of LURs across all other instances>

False

No other instance(s) found.

 

0

Else

Could not determine the number of cores.

If a runtime error is encountered.

Y

0