This section shows an example of how the Arm® Licence Server is set up with details of the license file content.
For detailed instructions about how to set up the Arm® Licence Server, see Run Arm® Licence Server.
In this example, a dedicated Linux server machine is running the Arm® Licence Server. It is installed in /opt/arm/licenceserver/<version>
and the server license files are stored in /opt/arm/licenceserver/<version>/licences
.
The Arm® Licence Server program runs as the dedicated allinea
user, and serves all licenses in /opt/arm/licenceserver/<version>/licences
. Arm® Licence Server logs events to the /var/log/arm/allinea.log
.
These commands were run to set up the Arm® Licence Server to:
allinea
user.% useradd --system --user-group --no-create-home \
--home-dir /opt/arm/licenceserver/<version> allinea
% mkdir /var/log/arm
% chown allinea: /var/log/arm
% ln -s /opt/arm/licenceserver/<version>/lib/systemd/system/allinea-licenceserver.service \
/etc/systemd/system/
% systemctl enable allinea-licenceserver
% systemctl start allinea-licenceserver
% systemctl status allinea-licenceserver
The example server license file is /opt/arm/licenceserver/<version>/licences/Licence.server.physics
and is served by server.physics.acme.edu
on port 4252.
It contains:
type=3
serial_number=1014
max_processes=48
expires=2004-04-01 00:00:00
support_expires=2004-04-01 00:00:00
mac=00:E0:81:03:6C:DB
interface=eth0
debuggers=gdb
serverport=4252
max_users=2
beat=60
retry_limit=4
hash2=c18101680ae9f8863266d4aa7544de58562ea858
The example client license is stored at /opt/arm/forge/<version>/licences/Licence.client.physics
.
It contains:
type=2
serial_number=1014
hostname=server.physics.acme.edu
serverport=4252
Note
The client file hostname
parameter is manually edited to reference the Arm® Licence Server.