Func08_AllProcessorsAuthorized

<< Click to Display Table of Contents >>

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

Func08_AllProcessorsAuthorized

Description

This function determines if all of the processors on the physical machine are authorized for the MSL record.  It checks the number of processors, and then compares that to the number of units that are authorized for the MSL title on the physical asset.

 

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 'Processors' field is read from the physical asset.

If no 'Processors' value is found, then a false condition is raised for the function and processing is stopped.

If the 'Processors' 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 'Processors' value from the master product table will be used.

If no processors value is found, then a false condition is raised for the function and processing is stopped.

Next a SQL statement is executed to return the total number of authorizations for the current MSLno on the physical asset (excluding the instances being evaluated).

Finally, the number of authorizations is compared to the number of processors.  If <=, then true is returned.  Otherwise, false is returned.

 

Inputs

 

Parameter

Explanation

None.

 

 

Outputs

 

Result

Result Explanation

Confidence Adjustment

Return Value

True

If the number of other authorizations found for the current MSLno on the relevant asset is >= the number of processors.

 

number of other authorizations

False

If the number of other authorizations found for the current MSLno on the relevant asset is < the number of processors.

 

number of other authorizations

Else

If the number of processors could not be determined.

If a runtime error is encountered.

Y

0