You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 35 Next »

The information on this page refers to License Statistics 4.9 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.

The following steps are designed to get X-Formation's License Statistics up and running on Linux with a FLEXlm/FlexNet server in 10 minutes or less.

Important: When upgrading License Statistics to a new version, be sure to make a backup (see Backing up and restoring the database) and then copy the License Statistics configuration file (<License Statistics directory>/xflicstat.cfg), a license file, and third-party utilities (for example lmutil) to a safe location. Remember to remove the current installation folder 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 script will be ready to run.

Note the following:

  • You can install License Statistics on any machine, not necessarily the license server.
  • 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.

If you are activating the License Statistics license during the installation process, you can activate your license over the internet, copy the existing license file, or choose a 30-day trial. Otherwise, activate your license online to obtain a license file that by default will be copied to the license subdirectory of the License Statistics installation directory. (Note that during the installation procedure you can provide a path to the existing license that will be copied to the license subdirectory.)

Note that the default folder that License Statistics will be checking for available licenses is the license subdirectory in the License Statistics installation directory.

Step 3: Configure License Statistics for your site.

To configure License Statistics, follow the instructions listed in Adding and editing license servers.

Important: If License Statistics uses an embedded database, you must replace xflicstat.cfg with the old configuration file and restore the old database before running the application for the first time.

Depending on the License Statistics version you are running, this will enable you to automatically import some of your old server settings.

To see whether License Statistics is running normally:

  • Change the setting for the query interval time from 10 to minute, to generate statistics every minute while adding your FlexNet server. This setting will let you quickly confirm that License Statistics is running normally, which you'll do in Step 6. (After you verify that License Statistics is running normally, you should change this setting to a larger value.)
  • When needed, specify the path to your lmutil utility.

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.

 Use the init script to start the service.

Step 6: Test that License Statistics is running normally.

  • A couple of minutes after starting the service, review the log file (<License Statistics directory>/log/xflicstat.log) and ensure it contains no ERROR or WARNING lines that may indicate problems with parsing, monitored servers, or indicate success or failure while adding or editing license servers. Output similar to the following indicates the service is running normally:
[2012-01-02 13:44:50] Ready for querying...
[2012-01-02 13:44:50] To view statistics please go to http://localhost:80
 

 

  • No labels