Firewalls

Specifying firewall ports in the license file

If a firewall exists between your server and client, you will need to follow these instructions:

  1. Add the port numbers to the license file:

    1. Add the port you are opening for the license manager RLM at the end of the HOST line. The host line should now contain:

      HOST <license_server_name or ip_address> <license_server_hostid> <port_number>
               

      For example, if you want the license manager to use port 10000 on a server named GAUSSSERVER, the HOST line of your license file would look something like this: :

      HOST GAUSSSERVER 0000123456ab 10000
      
    2. Add aptech, aptech.opt and the port you want the vendor daemon to use to the end of the ISV line. For example, if you want the vendor daemon to use port 21000 on a server named GAUSSSERVER, the ISV line of your license file would look like this:
      ISV aptech aptech aptech.opt 21000
      

      This tells RLM what port to use for the vendor daemon and what options file to use with it.

  2. Create an empty file named aptech.opt in your GAUSS installation directory.

  3. Make sure that the client licenses reference the correct port.

    You can either:

    1. Place the license manager's license file (just altered in steps 1 and 2 above) in the client machine's GAUSS installation directory.
    2. Make a one line client license that contains the same HOST line as in the license server's license (i.e. from step number 1 above).
    3. The port numbers in the license files on both the Server and the Client computers must match. If the ports change when the service is restarted on the License Server or the License Server is rebooted, delete any other *.lic files there may be in the Server's GAUSS installation directory. This will ensure that the ports that are specified in the Server's license file will be respected.
  4. Delete any temporary licenses in your GAUSS installation directory.

    If they are read first by the license server, the default ports will be set before the license manager reads the correct license.

Complete example license

If you have a license server machine named research99 and you wanted the license manager to user port 20100 and the vendor daemon to use port 60100, then license on the license machine might look like this:

HOST research99 004590d19fc2 20100
ISV aptech aptech aptech.opt 60100
LICENSE aptech gauss 14 permanent 1 share=uh issued=18-jun-2014
   replace options="LTYPE=^Floating Network^ SN=1403121916"
   _ck=c7d6d8c96c sig="60NG45194UWV371QVGAXEPW454UDT4S2BEAS2U022CRVHBEG
   Y6KP90YM7UCUS2Y5NYAD45AW"

The corresponding client licenses would only need these two lines:

HOST research99 004590d19fc2 20100
ISV aptech aptech aptech.opt 60100

The two license files above assume that the client machines can resolve the hostname research99. If they cannot, then you should replace the friendly name of this server, research99 with the IP address of that machine.

Next: Minimal Installation Requirements