Choosing a platform to run the Partek FLEXnet license server
------------------------------------------------------------
Partek recommends using a machine on your network that has a fixed IP address:
this will minimize client/server connectivity problems that can arise from
incomplete DNS name resolution on client PC's. Using a machine with a variable
(DHCP assigned) IP as your license server will only work if client machines
running Partek have fully-qualified DNS name resolution working properly.
The server machine must be visible on the network to all client machines that
will run Partek. See the last section "Configuring FLEXnet with a firewall"
to ensure that your Partek clients work with your corporate firewall.
Your network or system administrator may be the best resource for locating
a candidate server machine.
Downloading the Partek FLEXnet license server software
------------------------------------------------------
Contact your account representative (or email licensing@partek.com) for the
download URL of the Partek FLEXnet server software.
Installing the Partek FLEXnet license server software
-----------------------------------------------------
Log in as root on the server machine and unzip the archive:
cd /usr/local
mkdir FLEXnet
mv {download_path}/FLEXnet.LINUX.zip FLEXnet
cd FLEXnet
unzip FLEXnet.LINUX.zip
This will create a FLEXnet directory where all your Partek FLEXnet license
manager files will reside.
Get a license file
-------------------
If you do not have your license.dat file you'll need to email the output of
the following commands to your Partek account representative in order to obtain
a license:
cd /usr/local/FLEXnet
./lmutil lmhostid # this generates your FLEXnet host id
uname -a # your hostname info, kernel-build, etc.
ifconfig # your IP and MAC address
Your account rep will email you back a license.dat file. Place this file in
/usr/local/FLEXnet.
Manually Starting/Stopping the Partek FLEXnet server
---------------------------------------------------
After receiving your license file, manually start the Partek FLEXnet license
server with:
cd /usr/local/FLEXnet
./lmgrd -c ./license.dat -l ./log.txt
Inspect the log.txt file for errors (use any text editor) and if you see
anything unusual, email the contents of this file to licensing@partek.com
and request assistance.
You can manually stop the server with:
./lmutil lmdown -c ./license.dat
Automatically Starting/Stopping the Partek FLEXnet server
---------------------------------------------------
/usr/local/FLEXnet also contains a sample init.d script (flexnet) that
the system administrator can use as a template for generating a site specific
init.d script so the Partek FLEXnet license server will start when the system
is rebooted.
Init.d scripts differ significantly across Unix flavors. The supplied flexnet
script was written for Redhat Linux systems and should not be used on your own
server machine until you've modified it into the style used by your own Unix
flavor.
Installing the Partek client software
-----------------------------------------
You may now install Partek on any client machine that can see the server over
the network (contact your account rep for the download URL). The first time
Partek is started on a Windows client, it will ask for the location of the
license file or server. Choose "Specify License Server" and type in the hostname
(or IP address if it's static) of the server machine.
Linux clients specify the location of the license server via a ~/.flexlmrc file:
# contents of .flexlmrc
PARTEKLM_LICENSE_FILE=@yourServerIPorHostname
or the PARTEKLM_LICENSE_FILE environment variable (this overrides ~/.flexlmrc):
# set in .bashrc or at shell command prompt
export PARTEKLM_LICENSE_FILE=@yourservIPorHostname
Contact licensing@partek.com if you have questions or run into problems.
Configuring FLEXnet with a firewall
----------------------------------
If your Partek FLEXnet license server is behind a firewall (e.g, you're
accessing the corporate network remotely) you'll need to contact your
system admin to make sure your Partek client can reach your Partek FLEXnet
server to obtain and use a floating license.
Most Firewalls allow the system administrator to specify which ports are
available outside the firewall for incoming traffic that would normally be
blocked (these TCP port numbers are called "pinholes"). In order to define
these pinholes in the firewall you'll need to know what TCP/IP ports the
Partek FLEXnet service is using and the best way to accomplish this is to
explicitly define them.
These port numbers are specified in the license.dat file, e.g.,
SERVER myserver.mycompany.com abc123def456 27000
VENDOR parteklm PORT=27001
...
The server port is specified as the fourth field on the SERVER line. In the
example above, the server will listen on port 27000. If this field is omitted
it defaults to something in the range 27000-27009. Setting the server port to
anything other than the default requires Partek clients to specify their license
server as {port}@{host} : e.g., 27000@myserver.mycompany.com .
The "PORT=" entry on the VENDOR line allows explicit selection of the TCP/IP
port number for the vendor daemon to handle incoming license requests.
Both the server port and vender daemon port numbers must be unused by
other processes.
Accessing the licenses should not be any different than it would be in
the absence of a firewall, except that the license.dat and LM_LICENSE_FILE
system variables may need to use the server's fully qualified domain name
or IP address. License clients must be able to connect to both ports,
regardless of whether the clients are inside or outside the firewall.
Copyright © 2010 Partek Incorporated. All rights reserved.