Redshift: Connecting a Client Machine

Ashlee
Ashlee
  • Updated

Workstations and render nodes are referred to as clients for the purposes of licensing. You must configure each client machine so that it can find the license server and checkout licenses.

Option 1 - Environment Variables

You can configure your client machines to find the license server by defining an environment variable redshift_LICENSE (note that the lowercase 'redshift' is important). This environment variable will specify the hostname or ip address of the license server as well as the port number using the syntax port@hostname or port@ip-address. The default port for the RLM server is 5053, but can be customized if necessary (for example to prevent conflicts with other RLM license servers running on the same machine). See Customizing the license server port above for more details.

For information on how to set up environment variables on macOS, please see this thread: https://stackoverflow.com/questions/135688/setting-environment-variables-in-os-x

The method that works best for most Redshift users is the "envpane" one.

Option 2 - Client License File

An alternative to the environment variable method above is to use a client license file.  The license file is a simple text file named redshift.lic containing a single line of the form:

HOST <hostname> ANY <port>

where <hostname> is the hostname or ip address of the license server and <port> is the RLM license server port.

For example, if your license server hostname is myrlmserver and you are using the default port 5053, your client license file would look like:

HOST myrlmserver ANY 5053

The license file should be placed in the License Path on each client machine.  By default this is C:\ProgramData\Redshift\ on Windows and ~/redshift/ on Linux and macOS.

Was this article helpful?

/

Comments

0 comments

Article is closed for comments.