Specifying Firewall Ports in the License File
If a firewall exists between your License Server and Client computers, you will need to follow these instructions:
Modify the License Server License
- Open the license file for the License Server in a text editor.
- Line 1. HOST. Add the RLM License Server port number to the License Server license file at the end of the HOST line. (The default port number for RLM is 5053.) The HOST line should now contain:
HOST <license_server_name or ip_address> <license-server-hostid#> <main-rlm-server-port#>
HOST GAUSSSERVER 477f7e9ab0d0 10000
- Line 2. ISV.
GAUSS v15+Add aptech and the port you want the vendor daemon to use to the end of the ISV line. The ISV line should now contain:
ISV <isvname> <port=isv-port#>
ISV aptech port=21000
GAUSS v11-14Add aptech, aptech.opt and the port you want the vendor daemon to use to the end of the ISV line. The ISV line should now contain:
ISV <isvname> <isv-binary> <isv-options-file> <isv-port#>
ISV aptech aptech aptech.opt 21000
You will also need to create an empty file named aptech.opt in your GAUSS installation directory (e.g., gauss19).
Modify the Client License
- Create a file and name it something like 'Client.lic'.
This Client license should be a one line file that contains:
HOST <license_server_name or ip_address> ANY
Use the literal word 'ANY' in the Client license in place of the License Server hostid number.
- Add the RLM License Server port number to the Client.lic file:
Add the port number you are opening for the main RLM License Server at the end of the HOST line. The host line should now contain:
HOST <license_server_name or ip_address> ANY <main-rlm-server-port#>
- Example: If you want the license manager to use port 10000 on a Server named GAUSSSERVER, the HOST line of your Client.lic license file would look something like this:
HOST GAUSSSERVER ANY 10000
- Make sure that the Client license references the correct main RLM Server port.
- The port number specified on the HOST line of the Server and the Client computers must match.
- To avoid license conflicts, ensure that there is only one *.lic file in the GAUSS installation directory on the Client and License Server machines. This will ensure that the ports that are specified in the Server's license file will be respected.
- Place a copy of the modified Client license file in the main GAUSS installation folder of each client machine as follows:
- Windows: c:\gauss19
[GAUSS Engine: c:\mteng17]
- Mac: /Users/YourUserName/gauss19 on Mac
[GAUSS Engine: /Users/YourUserName/mteng17]
- LINUX: The directory where you installed GAUSS/GAUSS Engine
- Windows: c:\gauss19
Example: Complete License
- License Server. If you have a License Server machine named research99 and you want the RLM license manager to use port 20100 and the vendor daemon to use port 60100, then the license on the License Server might look like this depending on which version of GAUSS you are running:
HOST research99 004590d19fc2 20100 ISV aptech port=60100 LICENSE aptech gauss 17 permanent 1 share=uh issued=18-oct-2017 replace options="LTYPE=^Floating Network^ SN=1403121916" _ck=c7d6d8c96c sig="60NG45194UWV371QVGAXEPW454UDT4S2BEAS2U022CRVHBEG Y6KP90YM7UCUS2Y5NYAD45AW"
HOST research99 004590d19fc2 20100 ISV aptech aptech aptech.opt 60100 LICENSE aptech gauss 14 permanent 1 share=uh issued=18-oct-2013 replace options="LTYPE=^Floating Network^ SN=1403121916" _ck=c7d6d8c96c sig="60NG45194UWV371QVGAXEPW454UDT4S2BEAS2U022CRVHBEG Y6KP90YM7UCUS2Y5NYAD45AW"
- Client License. The corresponding Client license only needs the HOST line for all versions of GAUSS:
HOST research99 ANY 20100
- Delete any temporary licenses in your GAUSS installation directory. If the temporary.lic file is read first by the RLM license manager, the default ports will be set before the license manager reads the correct license.
- Start GAUSS on the client machine by double-clicking the desktop icon. If GAUSS does not start, see Troubleshooting Client Licenses
- Verify that GAUSS is using the Floating Network license of the License Server by selecting Help->'About GAUSS' from the main GAUSS menu and examining the License Type.
Note: If the Help>About window says "Temporary", you are not accessing the License Server license to check out a session.