Func38_CheckOSEsXCores

<< Click to Display Table of Contents >>

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

Func38_CheckOSEsXCores

Description

This is a compound function that is designed to calculate the number of Cores x iMaxAllowed. Then the number of OSEs are compared to make sure there are not too many.  It will return a true/false/or else.  But this function is really intended as a compliance check, not a LUR calculation.  Various tests could result in warning and error messages, but in the end it will set a return code of OK.

 

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, a SQL statement is executed to determine the number of OSEs that are running the current MSLno.

Next, logic is performed to determine the number of cores for the physical machine.

Finally, the number of OSEs is compared to the number of cores x the max allowed.  If the number of OSEs <= max allowed, then a value of true is returned.  Otherwise, false is returned.

 

Inputs

 

Parameter

Explanation

Max allowed OSEs per core

Max number of allowed OSEs per processor.

 

Outputs

 

Result

Result Explanation

Confidence Adjustment

Return Value

True

OSEs <= max allowed.

 

-1

False

OSEs > max allowed.

 

0

Else

Parameter is blank.

Could not determine the number of OSEs.

Could not determine the number of physical cores.

If a runtime error is encountered.

Y

0