BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 01-25-2010, 11:41 AM   #1
kapilsharma11
New Member
 
Join Date: Jan 2010
Model: 8900
PIN: N/A
Carrier: Airtel
Posts: 2
Default How to fetch CAL information in BES 4.1

Please Login to Remove!

Hi,

I am new to this forum so forgive me if I am not asking it in a correct forum.

I have BES 4.1 and need to fetch the CAL info as we need to send the following info as daily report to management:

Total Licenses
Used Licenses
Free Licenses

What we have to do on daily basis is that we see the information in GUI and manually type the same in mails and send it.

So if any one can help me in finding if there is any SQL table or registry key where this information is stored or if there is any command to find the same.

Thanks in advance...
Offline  
Old 01-25-2010, 11:47 AM   #2
knottyrope
BlackBerry Elite
 
knottyrope's Avatar
 
Join Date: Jan 2008
Location: Massachusetts
Model: DT60
OS: 123456789
PIN: t of blood has been taken
Carrier: AT&T-US with I dee ten tee errors
Posts: 7,325
Default

Click on BlackBerry Domain on the left pane.
Then in the right pane, select the 'Global' tab, expand 'Account', and choose 'License Management'.
You should see:
License Total:
Used:
Free:

Could just do a screen shot of this info and email it?

or

From command-line, you can do the following:

bcp "select LicenseKey from BESMgmt.dbo.LicenseKeys where type = 0" queryout c:\licensekeys.txt -c -T -R -E -Sdbservername

That will export all installed license keys to the text file specified in the command. Just be sure to change dbservername to your SQL/MSDE server. This needs to be run from a server/machine that has bcp.exe installed, though (installed by default with SQL and MSDE installations).
__________________
I had to fall
To lose it all
But in the end
It doesn't even matter

Rocking the Motion with out lotion.

Last edited by knottyrope; 01-25-2010 at 11:49 AM..
Offline  
Old 01-25-2010, 12:11 PM   #3
kapilsharma11
New Member
 
Join Date: Jan 2010
Model: 8900
PIN: N/A
Carrier: Airtel
Posts: 2
Default

This does not resolve my problem:

a. Screen shot needs to be taken manually but if the value can be fetched then we can schedule it run automatically.
b. The commannd you gave just exports the license key but does not report utilization and availablity.
Offline  
Old 01-25-2010, 01:11 PM   #4
knottyrope
BlackBerry Elite
 
knottyrope's Avatar
 
Join Date: Jan 2008
Location: Massachusetts
Model: DT60
OS: 123456789
PIN: t of blood has been taken
Carrier: AT&T-US with I dee ten tee errors
Posts: 7,325
Default

maybe BerryStats could help, I have not tried it.
BerryStats and Useful tools for BlackBerry Administrators
__________________
I had to fall
To lose it all
But in the end
It doesn't even matter

Rocking the Motion with out lotion.
Offline  
Old 01-25-2010, 07:30 PM   #5
TargetIT
CrackBerry Addict
 
Join Date: Jan 2008
Model: 9700
PIN: N/A
Carrier: Rogers
Posts: 709
Default

Utilization is easy to figure out (count of users in USerConfig), but total license number is difficult because the license key has the count encoded in it. You'd have to decode each key to find the quantity of each key - and I'm think RIM wouldn't like you doing that.

But then, how often do you change the number of licenses purchased?
Offline  
Old 01-25-2010, 07:48 PM   #6
knottyrope
BlackBerry Elite
 
knottyrope's Avatar
 
Join Date: Jan 2008
Location: Massachusetts
Model: DT60
OS: 123456789
PIN: t of blood has been taken
Carrier: AT&T-US with I dee ten tee errors
Posts: 7,325
Default

maybe daily in OPs case.
__________________
I had to fall
To lose it all
But in the end
It doesn't even matter

Rocking the Motion with out lotion.
Offline  
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump






Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.