Managing software licences     Background Software Licensing LicMon – Licence Monitoring LicMon – Future plans HEPIX 2005 Hege Hansbakk - Managing software licences.

Download Report

Transcript Managing software licences     Background Software Licensing LicMon – Licence Monitoring LicMon – Future plans HEPIX 2005 Hege Hansbakk - Managing software licences.

Managing software licences




Background
Software Licensing
LicMon – Licence Monitoring
LicMon – Future plans
HEPIX 2005
Hege Hansbakk - Managing software licences
1
Background



CERN IT-DES supports and distributes
more than 100 software packages
Most packages are commercial
Commercial software requires licences
HEPIX 2005
Hege Hansbakk - Managing software licences
2
Software Licensing



A software licence deals with issues of
copyright law and product liability law
Two general licensing schemes:
open source or closed source
Closed source restrict the user's actions,
and require that the user 'signs-up to'
the licence
HEPIX 2005
Hege Hansbakk - Managing software licences
3
Software Licensing

Several closed source licensing schemes






Single user
Node locked
Network/Floating
Site wide
Home use
A licence usually comes as a text file
HEPIX 2005
Hege Hansbakk - Managing software licences
4
Software Licensing Tasks

Purchase


Installation


Challenge: How many do we need?
Challenge: On which server does a specific
licence run?
Availability

Challenge: Assure accessibility
HEPIX 2005
Hege Hansbakk - Managing software licences
5
Software Licensing Tasks

Renewal


Retirement



Challenge: How do you remember all the different
expiration dates?
Challenge: How can we be sure a licence is
unused?
Keep track of supported products
Inform users about updates and problems
HEPIX 2005
Hege Hansbakk - Managing software licences
6
Licence Management Systems



Provide licences to end users
Monitor the usage of the licences
Challenge: Many different systems


Macrovision FlexLM, IBM LUM, Wolfram
MathLM, Microsoft SMS, Sassafras K2
Challenge: No common interface
HEPIX 2005
Hege Hansbakk - Managing software licences
7
LicMon – Licence Monitoring




Infrastructure to deal with the challenges of
software licensing
Developed at CERN by IT-DES
Open Source Licence
Consists of four parts




Licence Servers
Log Parser
Product Database
Web Interface
HEPIX 2005
Hege Hansbakk - Managing software licences
8
LicMon Infrastructure
Log parser
Clients
Licence Servers
Web
Interface
Product
Database
HEPIX 2005
Hege Hansbakk - Managing software licences
9
LicMon – Licence Servers

Availability of Service very important



We have redundant servers



Service must be up at all times
Licence manager daemons as well
2*3 Solaris
3+1+1+1 Windows
Not all licence managers allow fallback setup


Monitor servers and daemons and start/stop
daemons
If vendor is not flexible enough: no fallback
HEPIX 2005
Hege Hansbakk - Managing software licences
10
LicMon – Log Parser/Product DB

Read log files of different licence managers



Extract needed information and store in DB





Each with own format…
~ 1k lines of Perl, C or shell script per parser
Which product, feature, version
Used by whom, when, from which host
Provides unified interface
Long term storage in DB
Easy access
HEPIX 2005
Hege Hansbakk - Managing software licences
11
LicMon – Web Interface
HEPIX 2005
Hege Hansbakk - Managing software licences
12
LicMon – Web Interface
HEPIX 2005
Hege Hansbakk - Managing software licences
13
LicMon – Statistics

Do we have enough/too many licences?




Maximum number of concurrent users
Number of denials
For the different operating systems
For the different versions of the product
HEPIX 2005
Hege Hansbakk - Managing software licences
14
LicMon – Statistics

Lists of users

Current users



Recent users


Ask user X to free a licence for Y
Warn them about imminent changes
Inform about planned changes, downtimes
With email address
HEPIX 2005
Hege Hansbakk - Managing software licences
15
LicMon – Statistics
HEPIX 2005
Hege Hansbakk - Managing software licences
16
LicMon – Statistics
Version 6.4 of TotalView not used anymore, consider retirement
HEPIX 2005
Hege Hansbakk - Managing software licences
17
LicMon – If things go wrong
Problems in fetching a log file
HEPIX 2005
Problems in parsing a log file
Hege Hansbakk - Managing software licences
18
LicMon Summary


Provides us with a common interface
Helps us to:






Estimate the correct number of licences to buy
Keep track of our products and licences
Inform the users of updates and problems
Find users that are blocking a licence
Know when to retire a product
Warn the product maintainers when a licence is
about to expire
HEPIX 2005
Hege Hansbakk - Managing software licences
19
LicMon – Future plans




Working on new version to make it more
efficient, object oriented and configurable.
3 access levels; public, maintainers, admin.
Add monitoring of MAC products with the
help of Sassafras KeyServer.
Possibility to compare usage of different
versions of a product.
HEPIX 2005
Hege Hansbakk - Managing software licences
20
LicMon – Future plans




Integrate the product database with the
product support web pages of the group.
Warnings when usage approaches limits for
all products.
Timetable of when licences needs to be
renewed.
Add more reporting options, f.ex which
products were used/not used for a given
period.
HEPIX 2005
Hege Hansbakk - Managing software licences
21