Difference between revisions of "Allinea: Start Licence Server"

From Define Wiki
Jump to navigation Jump to search
Line 21: Line 21:
 
Run the <tt>licenceserver</tt> pointing to its <tt>licences</tt> directory:
 
Run the <tt>licenceserver</tt> pointing to its <tt>licences</tt> directory:
 
<syntaxhighlight>
 
<syntaxhighlight>
/cm/local/allinea/licenceserver/bin/licenceserver /cm/local/allinea/licenceserver/licences/ &
+
/cm/shared/apps/allinea/licenceserver/bin/licenceserver /cm/local/allinea/licenceserver/licences/ &
 
</syntaxhighlight>
 
</syntaxhighlight>
  

Revision as of 09:53, 30 March 2015

Alinnea Licences

  1. Download Allinea Forge and Allinea Licence Server from http://www.allinea.com/products/downloads/download-allinea-ddt-and-allinea-map
  2. Run the installers and note the installation directory
    /cm/shared/apps/allinea for Allinea Forge
    /cm/shared/apps/allinea/licenceserver for Allinea Licence Server
  • Allinea will provide one licence file. If it has no name, it should be named Licence.<serial number>.
  • This file is the server licence file and should be placed in /cm/local/allinea/licenceserver/licences
  • Create another file named Licence and place it in /cm/local/allinea.
This file should have the following format
type=2
serial_number=8502    #info from the initial Licence.<serial> file
hostname=head-Boston
serverport=4241

Running the Licence Server

Run the licenceserver pointing to its licences directory:

/cm/shared/apps/allinea/licenceserver/bin/licenceserver /cm/local/allinea/licenceserver/licences/ &

Check the licence service is running

point a browser at the server using port 4241

Start the Licence Server as a service

RHEL/CentOS 6

/cm/local/allinea/licenceserver/bin/allinea_licensing_init is a SysV-style init style script for <7 Red Hat Enterprise Linux releases. To use the script, follow the instructions below (as root):

  1. Set ALLINEA_TOOLS_PATH at the top of the script to point to the Allinea Licence Server installation, e.g. /cm/local/allinea/licenceserver
  2. Set ALLINEA_LICENCE_USER to the name of the user to run the licence server as
  3. Then do:
ln -s /opt/allinea/tools/bin/allinea_licensing_init /etc/init.d/
chkconfig --add allinea_licensing_init
service allinea_licensing_init start
service allinea_licensing_init status

RHEL/CentOS 7

For Red Hat Enterprise Linux 7, a systemd unit configuration file can be used to start the licence server. To use it, follow the instruction below (as root):

  1. Edit /cm/local/allinea/licenceserver/lib/systemd/system/allinea-licenceserver.service in your Allinea Licence Server installation. Make sure in particular that the Environment, ExecStart and User settings in the [Service] section are correct for your install.
  2. Then run:
systemctl enable lib/systemd/system/allinea-licenceserver.service
systemctl start allinea-licenceserver
systemctl status allinea-licenceserver