This chapter provides overview and installation information needed to use the Perl application programming interface (API) with Cisco License Manager Release 2.0 and contains the following sections:
Cisco License Manager provides an object-oriented PERL API for client programs to invoke functions implemented in the Cisco License Manager back-end server.
Cisco::CLM::SDK::LicenseManager
The API is provided as a set of Perl modules. The module CISCO::CLM::SDK::LicenseManager contains the core API that can be invoked by client programs to access the functions supported by the back-end server. This guide provides the external Perl API as seen by its client programs and includes the following functions:
The following prerequisites have been tested and certified for Perl API:
•ActivePerl Version 5.8
•Inline-Java-0.52 module installed
Inline-Java-0.52 can be downloaded and installed from the Comprehensive Perl Archive Network (CPAN) website (http://www.cpan.org).
Note Please make sure that the default J2SDK version 1.5 is used while installing Inline-Java-0.52.
System Requirements
The following table provides details of the recommended software and hardware requirements for the Cisco License Manager server. These recommended requirements support the maximum data capacity (30,000 Cisco devices in the network). Also use these requirements if you are installing the server and client on the same host.
Table 1-1 Server Recommended Software and Hardware Requirements
Requirement Type
Recommended Requirement
Processor
Intel Pentium 4 3.2 GHz or equivalent CPU-based machine
Sun UltraSPARC IIIi or equivalent CPU-based machine
Software
Operating system
•Windows Server 2003 R2 Standard Edition
•Windows XP Professional
•Solaris 10 (SPARC system only)
RAM
2 GB
Disk
10 GB
The following table provides details of the recommended software and hardware requirements for the Cisco License Manager client workstation.
Table 1-2 Client Workstation Recommended Software and Hardware Requirements
Requirement Type
Recommended Requirement
Processor
Intel Pentium 4 3.2 GHz or equivalent CPU-based machine
Sun UltraSPARC IIIi or equivalent CPU-based machine
Software
Operating system
•Windows Server 2003 R2 Standard Edition
•Windows XP Professional
•Solaris 10 (SPARC system only)
RAM
1 GB
Disk
10 GB
Network connectivity
Server must be reachable from the client software.
Java requirements
Version 1.5
Installing the Cisco License Manager Perl SDK
To install the Cisco::CLM module, unzip the module and run the following commands:
cd Cisco-CLM-2.00
perl Makefile.PL
make
make test
make install
Alternatively, to install with Module::Build, use the following commands:
perl Build.PL
./Build
./Build test
./Build install
On Windows XP, use the following commands:
perl Build.PL
Build
Build test
Build install
If you do not have root permission or you want to install the module in a non-standard place, please give the directory location during perl Makefile.PL as