Difference between revisions of "Allinea: Start Licence Server"
Jump to navigation
Jump to search
| Line 29: | Line 29: | ||
== Start the Licence Server as a service == | == Start the Licence Server as a service == | ||
| + | |||
| + | === 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/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): | ||
| Line 40: | Line 42: | ||
service allinea_licensing_init start | service allinea_licensing_init start | ||
service allinea_licensing_init status | 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/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> | </syntaxhighlight> | ||
Revision as of 16:53, 27 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/local/allinea for Allinea Forge
- /cm/local/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=4241Running the Licence Server
Run the licenceserver pointing to its licences directory:
/cm/local/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):
- Set ALLINEA_TOOLS_PATH at the top of the script to point to the Allinea Licence Server installation, e.g. /cm/local/allinea/licenceserver
- Set ALLINEA_LICENCE_USER to the name of the user to run the licence server as
- 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 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/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