Borrow timestamp display value getting reset on server side when Server is restarted (LINGER countdown counter value )

Borrow timestamp display value getting reset on server side when Server is restarted (LINGER countdown counter value )

Issue Description

Remaining linger time in lmstat displays wrong value whenever license server is restarted. After license server restarts, remaining linger time is reset to total linger time .

Example

1. Start the license server.

2. Set borrow period e.g. for next 10 mins.

lmborrow qavend8 1-apr-2015 11:50

3. Check out license "abcd" and observe feature "abcd" is in linger state.

4. Observe remaining linger duration and total linger time (linger: 476 / 480) in lmstat.

Users of abcd: (Total of 4 licenses issued; Total of 1 license in use)

"abcd" v1.0, vendor: qavend8, expiry: 1-jan-0
floating license

P7106943 BLR-P7106943 BLR-P7106943 (v1.0) (BLR-P7106943/27008 101), start Wed 4/1 11:41 (linger: 476 / 480)

5. Wait for 1 or 2 mins

6. Again Observe remaining linger duration and total linger time (linger: 402 / 480) in lmstat.

After few seconds of borrowing, remaining linger duration is reduced to 402 seconds.

Users of abcd: (Total of 4 licenses issued; Total of 1 license in use)

"abcd" v1.0, vendor: qavend8, expiry: 1-jan-0
floating license

P7106943 BLR-P7106943 BLR-P7106943 (v1.0) (BLR-P7106943/27008 101), start Wed 4/1 11:41 (linger: 402 / 480)

7. Shutdown the license server with force option
lmdown -c counted.lic -force

8. Restart the license server.

9. Observe remaining linger duration and total linger time in lmstat.


Observed result:
Remaining linger duration is reset to total linger time (linger: 474 / 480)as shown below.

Users of abcd: (Total of 4 licenses issued; Total of 1 license in use)

"abcd" v1.0, vendor: qavend8, expiry: 1-jan-0
floating license

P7106943 BLR-P7106943 BLR-P7106943 (v1.0) (BLR-P7106943/27008 101), start Wed 4/1 11:43 (linger: 474 / 480)


Expected result
Remaining linger duration in lmstat should show correct remaining time whenever lmgrd is restarted. It should not be reset to total linger time.

 

 Note: This issue is part of the roadmap with no planned release date yet.(FNP-24333)

Labels (5)
Was this article helpful? Yes No
No ratings
Version history
Revision #:
2 of 2
Last update:
‎Dec 14, 2020 03:45 AM
Updated by:
 
Contributors