Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


The information on this page refers to LM-X versions prior to v5.3.3, which introduced the "-expire" option for xmllicgen. If you are running a previous version of License Statistics, see documentation for previous versions.


As of March 1, 2014, xmllicgen uses internet clock check; therefore, a connection to the internet is required to be able to successfully generate a license.

You can generate licenses using xmllicgen, the license generator provided with LM-X. To use the license generator, you must have a security configuration file.

To generate a license:

...

  1. Modify the sample file detailed.xml, floating.xml or nodelocked.xml (as detailed in the following sections) to fit your specific business model.

  2. Execute the license generator by typing the following command:

    xmllicgen [options] xml_file

    You can specify the following

    option to use the specified file to set and override the output file setting in the XML file:

    options when running xmllicgen:

    OptionDefinition

    -output file

    Sets and overrides the OUTPUTFILE setting in XML file

    Note:


    -output file

    As an alternative to specifying the output file path at the command line, you can specify this information in the XML file (using the optional attribute OUTPUTFILE, as described in LICENSEFILE tag)

...

  1. -expire

    Prints the expiration date

     -help

    Prints help for xmllicgen usage


  2. If xmllicgen succeeds in creating a license, it returns the error code 0. If xmllicgen fails, it returns the error code 1.