Usage Sync Schedule and Releasing Lease

Usage Sync Schedule

Every time the lease is renewed, usage is also synchronized. In addition, the usage sync frequency is used to sync usage. This frequency tells how frequently license consumption usage needs to be pushed to Sentinel EMS. By default, it's one hour.

NOTE   On Windows, the cloud usage log file is stored at the location <os_drive>:\ProgramData\SafeNet Sentinel\Sentinel RMS Development Kit\System\Usage. On non-Windows, the cloud usage log is stored at the location /var/slmdata/Usage.

Releasing Lease

Listed here are the scenarios under which the lease is released:

>When the lease is canceled explicitly using the API .

>When the quantity is decremented manually in back end

These scenarios are described in the following table.

Details Cancel Lease Decrementing Quantity in Line Items
Use case

The software vendor wants to stop immediately the lease active on the designated machine. No further leases will be delivered to the machine after cancellation.

> The current machine is down due to some hardware issue. As a result, the associated quantity is locked and unavailable for other users.

>There is less demand for few of the licensed features, so the customer wants to return the quantity associated with selected line items in an entitlement.

Implementation

>Use the transfer API (C, Java, and .NET).

>Applied on a standalone machine only. Cancel lease is not available for network licensing.

>Decrement the registered quantity in Sentinel EMS.

>You can do this for both network and standalone licensing.

Quantity returned?

The associated quantity is returned to the line item in both the cases.

Outcome

Applied on machine-wide basis—meaning that all the lease-based activations (even from different entitlements) on that machine will be canceled upon operation.

The updated quantity will be applied and available for use. However, if the quantity is decremented to zero, then the license will be automatically deleted on the customer end.

Resume Lease

The resume lease operation reverts the effect of the cancel lease operation on the machine. As a result, the designated machine is enabled to process and consume leases successfully thereafter. You need to either sync lease manually or restart the licensed application to obtain lease.

Use the transfer API (C, Java, and .NET) for implementing the resume lease operation.