Difference between revisions of "Allinea: Start Licence Server"
Jump to navigation
Jump to search
| (8 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
#Download Allinea Forge and Allinea Licence Server from http://www.allinea.com/products/downloads/download-allinea-ddt-and-allinea-map | #Download Allinea Forge and Allinea Licence Server from http://www.allinea.com/products/downloads/download-allinea-ddt-and-allinea-map | ||
#Run the installers and note the installation directory | #Run the installers and note the installation directory | ||
| − | #:<tt>/cm/ | + | #:<tt>/cm/shared/apps/allinea</tt> for Allinea Forge |
| − | #:<tt>/cm/local/allinea | + | #:<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 | + | *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/ | + | *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/local/allinea | + | /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 | ||
| + | |||
| + | == Start the Licence Server as a service == | ||
| + | |||
| + | === RHEL/CentOS 6 === | ||
| + | |||
| + | <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/apps/allinea-licenceserver/ | ||
| + | #Set <tt>ALLINEA_LICENCE_USER</tt> to the name of the user to run the licence server as | ||
| + | #Then do: | ||
| + | <syntaxhighlight> | ||
| + | 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 | ||
| + | </syntaxhighlight> | ||
| + | |||
| + | === 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): | ||
| + | #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: | ||
| + | <syntaxhighlight> | ||
| + | systemctl enable lib/systemd/system/allinea-licenceserver.service | ||
| + | systemctl start allinea-licenceserver | ||
| + | systemctl status allinea-licenceserver | ||
| + | </syntaxhighlight> | ||
Latest revision as of 15:35, 30 March 2015
Alinnea Licences
- Download Allinea Forge and Allinea Licence Server from http://www.allinea.com/products/downloads/download-allinea-ddt-and-allinea-map
- 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=4241Running 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):
- 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/
- Set ALLINEA_LICENCE_USER to the name of the user to run the licence server as
- 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 statusRHEL/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):
- 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.
- Then run:
systemctl enable lib/systemd/system/allinea-licenceserver.service
systemctl start allinea-licenceserver
systemctl status allinea-licenceserver