Difference between revisions of "Licence servers"

From Applied Optics Wiki
Jump to: navigation, search
(New page: Our licence servers run on optik. All of the licence information is in /home/licences. == Adding a new licence server == Install licence file and binaries to the correct location: cd /h...)
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
Our licence servers run on optik. All of the licence information is in /home/licences.
+
Our licence servers run on optik and tuxedo. All of the licence information on optik is in /home/licences.
  
== Adding a new licence server ==
+
New licence servers should be added to tuxedo, not optik.
 +
 
 +
== Adding a new licence server on optik (obsolete) ==
  
 
Install licence file and binaries to the correct location:
 
Install licence file and binaries to the correct location:
Line 18: Line 20:
 
  ./sync.sh
 
  ./sync.sh
 
  svcadm enable flexlm/new-service
 
  svcadm enable flexlm/new-service
 +
 +
== Restarting a Licence Server ==
 +
 +
Find which process to kill, then kill it:
 +
 +
cd /var/tmp/.flexlm
 +
grep new-service *
 +
 +
It should restart automatically. To look at whether it has restarted or not, see /var/log/licensing/.

Latest revision as of 14:10, 23 November 2012

Our licence servers run on optik and tuxedo. All of the licence information on optik is in /home/licences.

New licence servers should be added to tuxedo, not optik.

Adding a new licence server on optik (obsolete)

Install licence file and binaries to the correct location:

cd /home/licences/
mkdir new-service
ln bin/flexlm-bin new-service/flexlm-new-service
cp /path/to/licence-file new-service/new-service.license
cp /path/to/vendor-daemon new-service/
# now edit licence file to specify correct paths

Set up Solaris service daemon manifest:

cd /home/licences/svc/flexlm/
cp cadence.xml new-service.xml # or other pre-existing manifest file
sed -i 's/cadence/new-service/g' new-service.xml # may need gsed on optik
cd /home/licences/svc/
./sync.sh
svcadm enable flexlm/new-service

Restarting a Licence Server

Find which process to kill, then kill it:

cd /var/tmp/.flexlm
grep new-service *

It should restart automatically. To look at whether it has restarted or not, see /var/log/licensing/.