After downloading the appropriate archive, choose a directory where you want to install the license server, move the archive to the installation directory, and cd into that directory. Then unpack the archive into the installation directory. For example,
gunzip LSTC_LicenseManager_77918_alpha_51a.tgz tar xvf LSTC_LicenseManager_77918_alpha_51a.tar
You should now see the following files in the installation directory
lstc_server lstc_proxy lstc_client lstc_qrun lstc_vrun lstc_qkill lstc_logreport gmid
The server will print the following message to the terminal, indicating that it has created the sample request form LSTC_SERVER_INFO:
Getting server information ... The hostid and other server information has been written to LSTC_SERVER_INFO. Please contact LSTC with this information to obtain a valid network license
You will need to edit the top portion on this file, which looks like
Your Company Name Here EMAIL: NONE FAX: NONE TELEPHONE: NONE # SERVER: E3707F52 # Linux desktop 126.96.36.199-0.1-desktop #1 SMP PREEMPT 2010-01-27 # Host ID : e3707f52 # ALLOW_RANGE: XXX.XXX.XXX.XXX XXX.XXX.XXX.XXX #
Replace “Your Company Name Here” with the name of your company or organization. Specify the EMAIL address and TELEPHONE number of the primary technical contact for your organization. FAX is optional. The ALLOW_RANGE statement is required so that licenses are locked to your local network. You may specify any number of such statements such as
ALLOW_RANGE: 127.000.000.001 127.000.000.001 (recommended) ALLOW_RANGE: 192.168.053.000 192.168.053.255 ALLOW_RANGE: 192.168.054.000 192.168.054.127
After you have completed editing the license request form, please send your key request to the distributor through whom you purchased LS-DYNA. Be sure to include any other information which is needed by LSTC to fulfill your license request.
./lstc_server -l lstclm.log
The server runs in the background by default. The server automatically creates a kill script which may be used to kill the server.
The server also saves the last start-up arguments in a file named “server_start”, so that you may restart the server using the previous set of command line arguments, without having to remember them.
NOTE: Make sure that the user who runs the server has permission to create/edit/remove any specified log file and script files “server_start” and “server_kill”. The server must also create/edit status files “server_status” and “server_done_list”.
./lstc_qrun -s localhost -r
You should see a full table of products that you have licensed, complete with (a) numbers of licenses and (b) exiration dates. Verify that the information is correct. If the server does not start for some reason, then you will see the message
*** ERROR failed to open server localhost
In that case, try starting the server in the foreground using the -f command line option. The server should print verbose information about the cause of failure. If you cannot correct the problem on your own, then contact LSTC license key support.
SERVER: E3707F52 PORT: 31111
*** WARNING *** Changing other lines in the file may invalidate the license file.
If you change the default port number, then all utilities (as well as LS-DYNA) require that you manually set the port number. For example, you will need to specify the port for “lstc_qrun”
./lstc_qrun -s 31111@localhost -r
Adding a file named LSTC_FILE to the server installation directory with the following line will eliminate the need to specify a default port/host name for the license utilities. This will make it easier to administer licenses:
#LICENSE_SERVER: port@host_or_ip or (if using the default port) #LICENSE_SERVER: host_or_ip
However, this only affects the behavior of “lstc_qrun” and other utilities if you run the particular utility located in the server installation directory. Instead of running “./lstc_qrun -s 31111@localhost -r”, you may now run “./lstc_qrun -r” Of course, you may override the default in LSTC_FILE by specifying the -s command line option.