Welcome to the COE Discussion Forum! 

 

To participate in the discussion forum, you must be logged in to the website.  If you forget your login information, please contact COE Headquarters at coe@coe.org or (800) 263-2255.

If you are new to the COE Discussion Forum and would like to participate, please register.

 

The COE 2008 Fall Industry Workshops

Experience two days of industry-focused education and hands-on training on the Dassault PLM solutions suite of products.  All education featured at the workshop is developed by and for users of CATIA®, ENOVIA®, DELMIA® and SIMULIA®.
 

Automotive
Oct. 15-16
Troy, Michigan

Aerospace & Defense
Oct. 27-28
Wichita, Kansas


Forum Highlight: CATIA V6

 

Get Answers to Your V6 Questions
Dassault Systèmes answers user questions about CATIA V6.  Discuss these answers and propose new questions with end users from around the world in the CATIA V6 Forum.

COE DISCUSSION FORUM
Subject: How many licenses are consumed from a license server?

You are not authorized to post a reply.   
Author Messages
HENKI755

06 Aug 2008 09:15 AM

Hi all,

Anyone know a quick and dirty way in VB to read how many licenses are consumed on a server with floating licenses. We have a license server hosting 5 DA2 licenses. I want on the client side to see how many of these licenses are in use.

Thanks för an excellent forum!
/Henrik



RJONES

12 Aug 2008 02:51 PM

Hello Dr. Henrik,

I'm not a VB script type of writer but I would think ther would be away to incorporate a LUM i4blt command to do the trick. Example: i4blt -s -lc-n "'your server'" -p "the product name". I think this command will give you the data your looking for. If not the LUM documentation "Using License Management Runitme" available on LUM's website has move information on the flags you can use with the i4blt command.

Regards,

Rick Jones
IBM PLM Technical Support  Americas

 

HENKI755

14 Aug 2008 12:26 AM

Hi Rick,

Sounds like a great idea. I could pull the dos prompt data into VB and decode it.
But I need some guidance to get the parameters in place:

You sad:
i4blt -s -lc -n "'your server'" -p "the product name"

My computer name (which is the lum server) is: HEKIWXP02
My license name is: DA2

I tried:
i4blt -s -lc -n HEKIWXP02 -p DA2

I got:
ADM-10102: Product da2 not found
I guess that would be to easy.
Any ideas what I'm doing wrong?



asco_industries

29 Sep 2008 05:20 AM

Hi Henki
try this script :

rem ----------------------------------------------------------------
rem Build Log filename
rem Format : yyyymmdd_hhHmm
rem ----------------------------------------------------------------

c:
mkdir c:\Temp\TempName2
cd c:\Temp\TempName2

date /t > date1.txt

for /f "tokens=1,2,3 delims=/ " %%i in (date1.txt) do set DATE1=%%k%%j%%i

time /t > heure1.txt

for /f "tokens=1,2 delims=: " %%i in (heure1.txt) do set HEURE1=%%iH%%j

set logname=%DATE1%_%HEURE1%

cd ..

rmdir /S /Q C:\Temp\TempName2

rem ----------------------------------------------------------------

C:
IF NOT EXIST "network_path\DE2_FOLLOW-UP" mkdir network_path\DE2_FOLLOW-UP


rem ----------------------------------------------------------------
rem *** Generate Log file from LUM ***

i4blt.exe -lp -n "HEKIWXP02" -p"'AM2-Catia Dsgn & Adv Mach 2 Cfg'"> network_path\DE2_FOLLOW-UP\DE2_%logname%.log
rem *** END ***
rem ----------------------------------------------------------------

by replacing the 'AM2-Catia dsgn & Adv Mach 2 Cfg' by the complete DS description of the DA licence

best regards

You are not authorized to post a reply.
Forums > COE Forums > CATIA V5 Programming > How many licenses are consumed from a license server?



ActiveForums 3.6

    

401 North Michigan Avenue, Chicago, IL 60611-4267 | (312) 321-5153 | (800) COE-CALL (U.S.)