mv server_data server_data.old
Copy the new “server_data” license file obtained from LSTC into the current. When the server is restarted next, it will pick up the new license file. Check the permissions and ownership of this file in order to guarantee that the license server will be able to read the new license file. The best practice is to match the permissions and ownership of the old license data.
*** WARNING *** If there are any user-specified lines in the previous license file, then you must manually copy these lines into the new license files. Such lines start with HOST:, HOST1:, HOST2:, HOST3:, PORT:, PORT1:, PORT2: and PORT3:.
After downloading the software archive appropriate for your platform, move the archive into the current installation directory. In preparation for the upgrade, rename the existing license server executable:
mv lstc_server lstc_server.old
Now unpack the new software archive. For example,
gunzip LSTC_LicenseManager_77918_hp8000_11.tgz tar xvf LSTC_LicenseManager_77918_hp8000_11.tar
Check the permissions on the LSTC License Manager executable “lstc_server” in order to ensure that the server will start properly.
If there are start and kill scripts “server_start” and “server_kill”in the current working directory, then execute them in order
./server_kill ; ./server_start
The new server should now be running, which you can verify using
If this does not work, then check “server_data” for any non-standard port number “PORT:” spec, and connect directly to this port
./lstc_qrun -s port@localhost -q
The output from this command will include the version number of the server. If this server number does not match the version number on the archive you just downloaded, then the server_kill script failed. In that case, then proceed to the next case, ignoring the scripts “server_start” and “server_kill”.
If you do not have “server_start” and “server_kill” scripts in the current working directory, find the PID of the “lstc_server” process, and use that PID to kill the process manually
ps -lef | grep lstc_server kill -TERM PID
Then start the process manually
SYNTAX: ./lstc_server [-l job_log_file_name] [-a|-n|-N] [-q] where the command line options are -l file : log job request/completion/error/warrning to 'file' -a : Allow programs to be killed by anyone. -n : Allow programs to be killed based on user name alone (default). -N : Require user/host to match in order to kill jobs. -q : Do not allow programs to be queued when there are no available licenses.
The start options will be saved to a new script “server_start” so that you may restart the server using the “server_start” script.
If this command fails, then look for any non-standard port numbers for your server which are specified in “server_data”, and try to connect to the port directly
./lstc_qrun -s localhost -r or ./lstc_qrun -s port@localhost
*** WARNING *** If the new server fails to start for some reason, then restore the older server, start the old server, and contact support.
mv lstc_server lstc_server.new cp lstc_server.old lstc_server ./lstc_server [-l job_log_file_name] [-a|-n|-N]