License Management component problem

Antworten
stept
Beiträge: 5
Registriert: 12 Jul 2012, 14:23

License Management component problem

Beitrag von stept »

Hi,
We are using License Management component for MS Office management but we have following problem. Although a number "remaining_opsi" is NULL (0) for one of the license poll we can still reserve license for a next host and "used_by_opsi" increases. So we don't now how many license we have and IMHO it isn't works properly (zero is zero).
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3327
Registriert: 04 Jun 2008, 14:27

Re: License Management component problem

Beitrag von d.oertel »

Hi,

could you please send the installation log file (c:\tmp\instlog.txt) with reference to this thread to me (d.oertel(at)uib.de).

I will have a look what is going wrong.

Thank you.

d.oertel


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


stept
Beiträge: 5
Registriert: 12 Jul 2012, 14:23

Re: License Management component problem

Beitrag von stept »

Thanks for reply.

But problem occures in License Management interface after only reserve license (we didn't tray to install Office package on host in this sample;). So, is it log file from sample host realy necessary? Maybe some logs from server?
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3327
Registriert: 04 Jun 2008, 14:27

Re: License Management component problem

Beitrag von d.oertel »

Hi,

I'm not sure about your problem.

If I have pool with no more free licenses (remaining opsi = 0) and I try to reserve a license from this pool to an other client I get
the Error Message:

Code: Alles auswählen

Fri Jul 13 18:40:39 CEST 2012 -- Opsi service error:  [LicenseMissingError] License missing error: No license available for pool 'p_license-test-retail' and client 'pcuib1.uib.local'
If I understood you correctly - you get no Error Message. Is that right ?

d.oertel


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


stept
Beiträge: 5
Registriert: 12 Jul 2012, 14:23

Re: License Management component problem

Beitrag von stept »

Hi again,

Yes it is right.

For example:
I have "remaining opsi" = 10 in one of the pool.
I reserve 10 licenses for 10 hosts - "remaining opsi" decreases to 0.

Than I try to reserve next 10 licenses for next 10 hosts and there is no error message, but "remaining opsi" = 0 and "used_by_opsi" increases by 10.
And when I try to reserve 11th license Error Message appears like in your post.

PS. We have license with downgrade option (so we have same license ID in different pools).
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3327
Registriert: 04 Jun 2008, 14:27

Re: License Management component problem

Beitrag von d.oertel »

Hi,

I think I need a little bit more detailed information in order to reproduce your problem.

I understand it this way:
You have 10 licenses L1 - L10. This Licenses are in two Pools (P1 / P2).
Situation: P1: used=0, remaining=10 ; P2: used=0, remaining=10
Now you reserve from P1 10 licenses.
Situation: P1: used=10, remaining=0 ; P2: used=0, remaining=0
(Any thing fine right now)

Now you try to reserve another 10 licenses from P1 and you get no Error but
Situation: P1: used=20, remaining=0 ; P2: used=0, remaining=0 ???
Now you try to reserve another 1 licenses from P1 and you get
License missing Error

Is this correct ?

d.oertel


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


stept
Beiträge: 5
Registriert: 12 Jul 2012, 14:23

Re: License Management component problem

Beitrag von stept »

Yes, it's correct and it's very strange...
Looks like counter "remaining_opsi" shows invalid data...
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3327
Registriert: 04 Jun 2008, 14:27

Re: License Management component problem

Beitrag von d.oertel »

Hi,

I will try to reproduce this ...

regards

d.oertel


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


Benutzeravatar
d.oertel
uib-Team
Beiträge: 3327
Registriert: 04 Jun 2008, 14:27

Re: License Management component problem

Beitrag von d.oertel »

Hi,

sorry I can't reproduce right now.
What I did:
created two pools:

Code: Alles auswählen

 opsi-admin> method licensePool_getIdents
[
"p1",
"p2"
]
I created a volume license with 10 licenses:

Code: Alles auswählen

 opsi-admin> method softwareLicense_getIdents
[ 
"l_vol10;c1"
]
I connected this license to the two pools

Code: Alles auswählen

opsi-admin> method softwareLicenseToLicensePool_getIdents
[ 
"l_vol10;p1",
"l_vol10;p2"
]
I used pool P1 to reserve 10 licenses to 10 clients

Code: Alles auswählen

opsi-admin> method licenseOnClient_getIdents
[ 
"l_vol10;p1;test1.svm.local",
"l_vol10;p1;test2.svm.local",
"l_vol10;p1;test3.svm.local",
"l_vol10;p1;test4.svm.local",
"l_vol10;p1;test5.svm.local",
"l_vol10;p1;test6.svm.local",
"l_vol10;p1;test7.svm.local",
"l_vol10;p1;test8.svm.local",
"l_vol10;p1;test9.svm.local",
"l_vol10;p1;test10.svm.local"
]
If I try to reserve one more license from pool P1 or pool P2, I get a license missing error.

So the situation have to be somehow different at your site.
Please help me to understand what is different by giving me the output of the same opsi-admin commands.
You may send it by mail to d.oertel(at)uib.de

thanks
d.oertel


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


stept
Beiträge: 5
Registriert: 12 Jul 2012, 14:23

Re: License Management component problem

Beitrag von stept »

Thanks for reply.

I will try to follow your clues tomorrow.
But I wonder why it is only problem with one of our pool. Others works fine... It's looks like this pool corrupts during using License Managment feature.
Antworten