Difference between revisions of "Allinea: Start Licence Server"

From Define Wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
#Run the installers and note the installation directory
 
#Run the installers and note the installation directory
 
#:<tt>/cm/shared/apps/allinea</tt> for Allinea Forge
 
#:<tt>/cm/shared/apps/allinea</tt> for Allinea Forge
#:<tt>/cm/shared/apps/allinea/licenceserver</tt> for Allinea Licence Server
+
#:<tt>/cm/local/apps/allinea-licenceserver</tt> for Allinea Licence Server
  
 
*Allinea will provide one licence file. If it has no name, it should be named <tt>Licence.<serial number></tt>.
 
*Allinea will provide one licence file. If it has no name, it should be named <tt>Licence.<serial number></tt>.
*This file is the server licence file and should be placed in <tt>/cm/local/allinea/licenceserver/licences</tt>
+
*This file is the server licence file and should be placed in <tt>/cm/local/apps/allinea-licenceserver/licences</tt>
*Create another file named <tt>Licence</tt> and place it in <tt>/cm/local/allinea</tt>.
+
*Create another file named <tt>Licence</tt> and place it in <tt>/cm/shared/apps/allinea</tt>.
 
:This file should have the following format
 
:This file should have the following format
 
<syntaxhighlight>
 
<syntaxhighlight>
Line 17: Line 17:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
== Running the Licence Server ==
+
== Running the Licence Server Manually ==
  
 
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/shared/apps/allinea/licenceserver/bin/licenceserver /cm/local/allinea/licenceserver/licences/ &
+
/cm/local/apps/allinea-licenceserver/bin/licenceserver /cm/local/apps/allinea-licenceserver/licences/ &
 
</syntaxhighlight>
 
</syntaxhighlight>
  
== Check the licence service is running ==
+
=== Check the licence service is running ===
  
 
point a browser at the server using port 4241
 
point a browser at the server using port 4241
Line 32: Line 32:
 
=== RHEL/CentOS 6 ===
 
=== RHEL/CentOS 6 ===
  
<tt>/cm/local/allinea/licenceserver/bin/allinea_licensing_init</tt> is a SysV-style init style script for <7 Red Hat Enterprise Linux releases. To use the script, follow the instructions below (as root):
+
<tt>/cm/local/apps/allinea-licenceserver/bin/allinea_licensing_init</tt> is a SysV-style init style script for <7 Red Hat Enterprise Linux releases. To use the script, follow the instructions below (as root):
  
#Set <tt>ALLINEA_TOOLS_PATH</tt> at the top of the script to point to the Allinea Licence Server installation, e.g. /cm/local/allinea/licenceserver
+
#Set <tt>ALLINEA_TOOLS_PATH</tt> at the top of the script to point to the Allinea Licence Server installation, e.g. /cm/local/apps/allinea-licenceserver/
 
#Set <tt>ALLINEA_LICENCE_USER</tt> to the name of the user to run the licence server as
 
#Set <tt>ALLINEA_LICENCE_USER</tt> to the name of the user to run the licence server as
 
#Then do:
 
#Then do:
 
<syntaxhighlight>
 
<syntaxhighlight>
ln -s /opt/allinea/tools/bin/allinea_licensing_init /etc/init.d/
+
ln -s /cm/local/apps/allinea-licenceserver/bin/allinea_licensing_init /etc/init.d/
 
chkconfig --add allinea_licensing_init
 
chkconfig --add allinea_licensing_init
 
service allinea_licensing_init start
 
service allinea_licensing_init start
Line 47: Line 47:
  
 
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):
 
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):
#Edit <tt>/cm/local/allinea/licenceserver/lib/systemd/system/allinea-licenceserver.service</tt> 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.
+
#Edit <tt>/cm/local/apps/allinea-licenceserver/lib/systemd/system/allinea-licenceserver.service</tt> 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.
 
#Then run:
 
#Then run:
 
<syntaxhighlight>
 
<syntaxhighlight>

Latest revision as of 15:35, 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/local/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/apps/allinea-licenceserver/licences
  • Create another file named Licence and place it in /cm/shared/apps/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 Manually

Run the licenceserver pointing to its licences directory:

/cm/local/apps/allinea-licenceserver/bin/licenceserver /cm/local/apps/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/apps/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/apps/allinea-licenceserver/
  2. Set ALLINEA_LICENCE_USER to the name of the user to run the licence server as
  3. Then do:
ln -s /cm/local/apps/allinea-licenceserver/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/apps/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