SAM Entitlement not being associated with installed software

Flybook
Tera Expert

Hello Experts,

I am new with SAM Pro and trying to learn how to create entitlements for different products. 

 

Creating entitlement using PPN for Oracle Java SE Desktop Subscription - Named User Plus (L106376) and Oracle Java SE Subscription - Processor (L106377) is not being associated with installed software

Description: 1) We do not see all possible installed software related to Oracle Java.
2) Our count for oracle licenses are way off compare to what shows as uninstalled licenses.
3) When we create entitlement using PPN provided by Oracle, license do not get associated with installed software. it shows uninstalled software as is after running reconciliation for Java Development Kit and shows none installed for

Java SE.
L106376 - Oracle Java SE Desktop Subscription - Named User Plus
L106377 - Oracle Java SE Subscription - Processor
4) Our imported PPN is not associating with the SW installed. Wrong PPN?

5) After running reconciliation, none of the oracle products show compliance or any entitlement created. (image attached)

6) Entitlement state is set to On Order instead of In State (when created by me)

7) When entitlement created by other team member, it is being set to In Use but yet it is not associating with SW installed. 

😎 Discovery models are normalized - checked

9) We know it is installed on our servers - checked

 

Why is it not associating with SW installed and why entitlement state is not being set to In Use for me? 

Any help is greatly appreciated!

 

Thank you!

 

 

20 REPLIES 20

Michal Sadowski
Mega Sage

@Flybook & @Jeff Robles here's 2 super useful resources to help you wrap your arms around Software entitlements in the SAM Pro context:

1. SW Entitlement import guide: https://www.servicenow.com/community/itam-blog/servicenow-sam-entitlement-import-user-guide/ba-p/228... 

2. SNOW Live event focused on Entitlements, Software models and Discovery models: https://www.youtube.com/watch?v=ORrffv5KSn4

Both a little heavy but ultimately digestible 🙂 

Hi Michal,

Changing date set entitlement state to In Use and after running reconciliation, it is now showing compliance as well as shows entitlements owned but still not associating with installed software. It shows 0 License required. (see attached) 

 

 

That's a step in the right direction 🙂

Try clicking under Java SE into Any Version and Desktop, this will reveal another dimension of License Workbench, including licensed and unlicensed installations. 

MichalSadowski_0-1671739030250.png

 

 

 

It doesn't show  licensed and unlicensed installations. Unless it's there and I don't see it. 

 

1) Have you tried checking if there are Discovery models matching Software models that were created when you added the entitlements? There is a related link on the software model record called Show Matching Discovery Models. Is it pointing to normalized Discovery model records that group the Java installation you would expect to see?
--> When I went to see Matching discovery models - It's empty

 

dreinhardt
Tera Sage

Hello @Flybook@Jeff Robles,

 

as mentioned by @Michal Sadowski their is a missing link between your discovery models (inventory data, software installation) and the software model. I can image, that the normalization data of your Java SE installations doesn't match the required attributes of the software model (Publisher, Product, Version, Edition, ...)

 

Let's review the current state

 

Software Installation (based on Jeffs screenshot)

  • "Java 10.0.2 (64 Bit)"

Discovery Model (based on Jeffs screenshot)

  • "Java 10.0.2 (64 Bit) 10.0.2"
  • @Jeff Robles could you please share another screenshot of the discovery model itself? we need to know the normalized data (Publisher, Product, Version)

Software Model (based on PPN)

L106377

dreinhardt_0-1675579982365.png

 

Based on the PPN data, the software model covers only discovery model where Publisher = Oracle, Product = Java SE, Edition/Version can be anything as long there is no detailed model available to cover these.

 

A few month ago I had a discussion with ServiceNow about the normalization of Java installation and the missing Version (dealing-with-oracle-java-se-8-update->-202 )

 

Feedback from ServiceNow and Changes to the Content Library

We have created a new product for free java updates and started with the rule migration of rules for Java 8 updates and have completed the changes.All the free Java 8 Updates will now normalize to a free product and all the paid ones will go to a licensable product
Expected availability of updated data in CDS: June 12, 2022

dreinhardt_0-1675606711707.png

 

Good to know, that Java installation itself is discovered as "Java 8 Update" for Version > 202 and "Java Free Update" for Versions < 202. Based on our Software Model for "Oracle Java SE" and the matching attributes, we'll never get a valid discovery model linked to our model and also no consumption.

 

How did we solve this problem? We've extended our software model for "Oracle Java SE" with Suite components of the relevant software models we know to identify Java SE (not sure if this is already part of the content library)

 

dreinhardt_1-1675607004945.png

Software Models for the other products (Java JDK, Java 8 Update, ...) must exists before adding as suite component. We've used the normalized discovery models to identify and create the missing models. Please use a "Inference percent" between 0-10 %, to ensure that a minimum of 1 detected installation is enough to trigger the "Oracle Java SE" license consumption and not the single software model.

 

Hope this will help you to solve your Java SE issues.

 

Best, Dennis

 

Should my response prove helpful, please consider marking it as the Accepted Solution/Helpful to assist closing this thread.