The |
...
Important: When upgrading License Statistics to a new version, be sure to make a backup (see Backing up and restoring the database) and then remove the current installation before installing the new version. The License Statistics installation will not remove the currently installed version and will not install a new version into the same location as a previous version.
Step 1: Download and install License Statistics.
Download the License Statistics installation from the License Statistics download page.
- If you have purchased License Statistics: Enter your Activation Key to obtain the download. Your Activation Key was included in an email sent to you after purchasing/renewing License Statistics, along with instructions for downloading and installing License Statistics.
- If you are downloading the trial version of License Statistics: Fill out the request form as instructed on the License Statistics download page to obtain your download.
After the download is complete, an installation wizard will step you through the installation procedure.
Note the following:
- You can install License Statistics on any machine, not necessarily the license server.
- You must be logged in as root if you want the installation to create an init script.
- The installation program works on most Linux distributions; however, if you have a problem running the installer, you can run license_statistics.sh from a command prompt.
Step 2: Activate the license.
When the installation is complete, a license activation dialog gives you options to run the trial version of License Statistics or activate your license.
- If you have purchased License Statistics: Enter your Activation Key or, if you are upgrading License Statistics, select the option to browse for and select a previously activated license file.
- If you are running the trial version of License Statistics: Select the option to run License Statistics as a trial.
Note that you must re-activate your license whenever you upgrade your license or renew your maintenance. You can open the license activation dialog at any time by clicking Activate License Statistics in the X-Formation License Statistics program group (Start > All Programs > X-Formation > License Statistics > Activate License Statistics).
Step 3: Configure License Statistics for your site.
Open /usr/xflicstat/xflicstat.cfg in a text editor such as Notepad, and make the following changes:
...
Step 4: Ensure you have the latest lmutil version.
You must use lmutil v9.2 or newer with License Statistics. (To check your lmutil version, run lmutil -v from a command line.) You can request a download of the newest lmutil version from http://www.globes.com/support/fnp_utilities_download.htm.
Step 5: Start the service.
Note: We recommend using the init script to start the service instead of starting it manually as described below.
Run License Statistics as a daemon by entering the following command from a Linux command line:
No Format |
---|
./xflicstat -b /path/configfile
|
where /path/configfile is the full path to the License Statistics configuration file; for example:
No Format |
---|
./xflicstat -b ./xflicstat.cfg
|
If you execute this command outside of the License Statistics installation directory, you must designate the path using an additional command line variable; for example:
No Format |
---|
LD_LIBRARY_PATH="/usr/xflicstat/" /usr/xflicstat/xflicstat -b /usr/xflicstat/xflicstat.cfg
|
Step 6: Test that License Statistics is running normally.
- A couple of minutes after starting the service, review the log file (/usr/xflicstat/log/xflicstat.log) and ensure it contains no FAIL or WARNING lines. Output similar to the following indicates the service is running normally:
No Format |
---|
[2012-01-02 13:44:50] Ready for querying...
[2012-01-02 13:44:50] To view statistics please go to http://localhost:80
|
...
information on this page refers to License Statistics v6.17 or newer, which made changes to the License Statistics installation procedure. If you are running a previous version of License Statistics, see documentation for previous versions. |
License Statistics can be installed using one of the following installers, depending on your Linux distribution and/or customization needs: