3.3. License Files Format

www.kxcad.net Home > CAE Index > ANSYS Index > ANSYS CFX Index


Your Ad Here

License files usually begin with a SERVER line (or three SERVER lines for redundant servers) followed by a VENDOR line, followed by one or more INCREMENT lines.

You can modify only these data items in the license file:

Long lines normally use the "\" line-continuation character to break up long lines. A space character must precede the line-continuation character.

Note

Everything else is used to compute the license key and should be entered exactly as supplied. All data in the license file is case sensitive, unless otherwise indicated.

3.3.1. SERVER Lines

The SERVER line specifies the hostname and hostid of the license server and the port number of the license manager daemon (lmgrd). Normally a license file has one SERVER line. Three SERVER lines mean that you are using redundant servers. License administrators do not have the option of deleting SERVER lines from a license file because the hostids from all of the SERVER lines are computed into the license keys on every INCREMENT line.

The format of the SERVER line is:

SERVER host hostid 1055

where:

host is the license server host name or IP address; a string returned by the UNIX hostname or uname -n command. On Windows systems, ipconfig /all returns the host name. This can also be an IP address (nnn.nnn.nnn.nnn format).

hostid is usually the string returned by the Display the License Server Hostid option of the ANSLIC_ADMIN utility.

1055 is the TCP port number to use. ANSYS' port number is 1055. This can be changed if port 1055 is already in use on your system.

Example:

SERVER enterprise 0122345 1055

Note

If you change the port number, then you must also change the port number that is specified in the ansyslmd.ini file, or in the ANSYSLMD_LICENSE_FILE or the LM_LICENSE_FILE environment variables to match the port number specified in the SERVER line.

3.3.2. VENDOR Lines

The VENDOR line specifies the vendor daemon's name and path. lmgrd uses this line to start the vendor daemon, and the vendor daemon reads it to find its options file. The format of the VENDOR line is shown below.

VENDOR ansyslmd [vendor_daemon_path]
     [[options=]options_file_path] [[port=]port]

where:

ansyslmd is the name of the ANSYS vendor daemon.

vendor_daemon_path is the path to the executable for this daemon. This path is optional. ANSYS, Inc. does not supply this field because lmgrd will look for the vendor daemon ansyslmd executable in the directory where lmgrd is located and all ANSYS products install both of these daemons into the same directory.

Note

If you do supply this path and the path includes spaces, enclose the entire directory path in double quotes, as in the following example:

VENDOR ansyslmd "c:\program files\ansys inc\Shared Files\Licensing
    \Intel"

options_file_ path is the full path to the end-user options file for this daemon. FLEXlm does not require an options file. The options file need not be specified on this line. As long as the options file ansyslmd.opt is located in the same directory as the license file (the licensing directory), the vendor daemon will automatically find and use it. The Edit the FLEXlm Options File option of the ANSLIC_ADMIN utility will put the options file in the correct directory location.

If the directory path includes spaces, enclose the entire directory path in double quotes, as in the following example:

VENDOR ansyslmd options="c:\program files\ansys inc\Shared Files\
     Licensing\ansyslmd.opt"

port is the vendor daemon port number. Note: This is for firewall support only and is otherwise not recommended. In the following example, #### would be replaced with the port number you choose:

VENDOR ansyslmd options=/ansys_inc/shared_files/licensing
     /ansyslmd.opt port=####

3.3.3. INCREMENT Lines

An INCREMENT line describes the license to use a product. The syntax of the INCREMENT line is:

INCREMENT feature ansyslmd feat_version
      exp_date #lic key  [HOSTID=feat_hostid]
      [VENDOR_STRING="vendor_str"] [BORROW=n] [PLATFORMS="..."] 
      [SUPERCEDE="..."] [ISSUED="..."] [START="..."]
      [ISSUER="..."] [NOTICE="..."] [OVERDRAFT=nnn]
      [DUP_GROUP=NONE|SITE|[UHDV]]  [TS_OK]

where:

feature is the name representing the product/capability being licensed.

ansyslmd is the name of the ANSYS vendor daemon; also found in the VENDOR line. The specified daemon serves this feature.

feat_version is the latest build date of this feature that is supported by this license. For paid-up customers, this is usually set to the expiration date of the maintenance agreement. The value of 9999.9999 is used when this field is not applicable.

exp_date is the expiration date of license, e.g., 7-may-2007.

#lic is the number of concurrent licenses for this feature.

key is the encryption key for this INCREMENT line.

Many optional fields may follow. For example, the BORROW field indicates that borrowing is enabled for that license feature. n is the maximum number of hours that a license can be borrowed. The maximum is 720 hours (30 days).

See the FLEXnet Licensing End User Guide (accessible from the ANSLIC_ADMIN utility) for more information.

3.3.4. Sample License Files

A sample license file is shown here. This file is for 15 ANSYS Mechanical tasks and 12 ANSYS DesignSpace tasks.

SERVER gagh 690daec6 1055
VENDOR ansyslmd
INCREMENT ansys ansyslmd 9999.9999 30-sep-2007 15 8C59A481BA50 \
     VENDOR_STRING=customer:00012345 ISSUED=10-sep-2006 \
     START=10-sep-2006
INCREMENT dspi ansyslmd 9999.9999 30-sep-2007 12 424290D68B3D \
     VENDOR_STRING=customer:00012345 ISSUED=10-sep-2006 \
     START=10-sep-2006
INCREMENT caewbpl3 ansyslmd 9999.9999 30-sep-2007 12 535301E79C4E \
      VENDOR_STRING=customer:00012345 ISSUED=10-sep-2006 \
      START=10-sep-2006
where:
  • gagh is the hostname of the license server

  • 690daec6 is the hostid

  • 1055 is the port number

  • ansyslmd is the vendor daemon

  • ansys, dspi, and caewbpl3 are the features representing ANSYS Mechanical and ANSYS DesignSpace.

  • 9999.9999 indicates that the maintenance agreement is not applicable. Otherwise, this the highest supported build date for the product. For ANSYS only, you can view the build date by running ANSYS with the -v command option.

  • 30-sep-2007 is the expiration date

  • 15 and 12 are the number of tasks for ANSYS Mechanical and ANSYS DesignSpace, respectively

  • 8C59A481BA50, 424290D68B3D, and 535301E79C4E are encryption keys for ANSYS Mechanical and ANSYS DesignSpace, respectively

  • customer:00012345 is the customer number

  • ISSUED=10-sep-2006 is the date the license was created

  • START=10-sep-2006 is the start date

3.3.5. Recognizing an ANSYS License File

If you receive a license file and are not sure if it is an ANSYS license file, you can determine if it is by looking at the contents of the license file. If it is an ANSYS license file, then:

  • In the line beginning with the word VENDOR, the next field/item is ansyslmd.

  • In the line(s) beginning with the word INCREMENT, the third field/item is ansyslmd.

ANSYS, Inc. supplies some licenses for other products that use different license managers. These license files are not compatible with the ANSYS license manager. The products and how to recognize their license files are explained below:

ANSYS CFX

Some CFX license files are not compatible with the ANSYS license manager. You can recognize CFX license files in two ways:

  • In the line beginning with the word DAEMON, the second field/item is CFDS.

  • In the line(s) beginning with the word INCREMENT, the third field/item is CFDS.

Please use the CFX license manager utility to administer CFX licenses.


Back To Top

ANSYS ICEM CFD

Some ANSYS ICEM CFD license files are not compatible with the ANSYS license manager. You can recognize these license files in two ways:

  • In the line beginning with the word VENDOR, the second field/item is ICEM_CFD.

  • In the line(s) beginning with the word FEATURE, the third field/item is ICEM_CFD.

Please use the ICEM license manager tools to administer ICEM licenses.


Back To Top

Century Dynamics, Inc.

Some Century Dynamics, Inc. license files are not compatible with the ANSYS license manager. You can recognize these license files in the following ways:

  • For ANSYS AUTODYN, in the line beginning with the word VENDOR, the second field/item is AUTODYN.

  • In the line(s) beginning with the word FEATURE, the third field/item is AUTODYN.

  • For ASAS and AQWA, in the line beginning with the word VENDOR, the second field/item is ASASLM.

  • In the line(s) beginning with the word FEATURE, the third field/item is ASASLM.


Back To Top

Miscellaneous

Other products whose license files are not compatible with the ANSYS license manager include TAS, TASPCB, and PTD. You can recognize these license files in two ways:

  • In the line beginning with the word VENDOR, the second field/item is thermal.

  • In the line(s) beginning with the word FEATURE, the third field/item is thermal.

Your Ad Here