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

Compare with Current View Page History

« Previous Version 29 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 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.
  • 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, the License Activator steps you through activating your license. 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).

When you activate your license, it generates a license file (*.lic) that you can reuse with new updates of the software (unless you are instructed to update the license for any reason). 

In License Activator:

  1. Select the appropriate option based on whether you are installing License Statistics for the first time, upgrading License Statistics, or running the trial version of License Statistics:

    - If you are installing License Statistics for the first time: Enter your Activation Key (sent to you via email). If you cannot locate your activation key, you can find it by going to License Activation Center (LAC) and clicking the link "Get your activation keys" on the LAC login page.

    - 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. You can skip the remaining activation steps and continue with "Step 3: Configure License Statistics for your site."

  2. Click Next to continue, and then choose to activate the license for the current computer or browse for and select a different computer on which to activate the license.

  3. Click Next to continue, then click Activate to start the activation.

    A final screen displays the progress and success (or failure) of the license activation. When activation is complete, close the License Activator window.

You may activate your license online instead of using License Activator; however, it is strongly recommended to use License Activator whenever possible to avoid activation problems.

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:

  1. Change the setting for UPDATE_INTERVAL from 10 minutes to 1 minute, to generate statistics every minute. 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.)

  2. Uncomment one of the FLEXNET_SERVER lines and enter the information for the server you want to monitor in the format [port]@host, where port is optional (leave blank to use the default port) and host is the name or IP address of the license server. For example, FLEXNET_SERVER = 27000@host1. (If you need to monitor more than one server, you can specify additional servers in the same manner later.)

  3. Uncomment the LMUTIL_PATH line.

  4. Save and close the configuration file.

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 (/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:
[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