Func35_CheckOSEsXProcessors

<< Click to Display Table of Contents >>

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

Func35_CheckOSEsXProcessors

Description

This is a compound function that is designed to calculate the number of Processors x iMaxAllowed (iParmVal1). 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 processors for the physical machine.  It will use the processor value from the physical asset or from a master product record.

Finally, the number of OSEs is compared to the number of processors 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 processor

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 processors.

If a runtime error is encountered.

Y

0