Skip to content
07-848 2005

Chaos Licensing, License Server Deployment

Share a Chaos licence configuration across a network

Use the .vrlclient.xml file from a central location on your network to share a licence configuration.

On this page
  1. Overview
  2. Windows
  3. Set the path and variables in Windows 8, Windows 10 and Windows 11
  4. Set the path and variables in Windows 7
  5. macOS
  6. Linux

Use the .vrlclient.xml file from a central location on your network to share a licence configuration.

Overview

You can install Chaos License Server on multiple workstations or servers within the same internal network for redundancy. Each installation can use the same user account.

For V-Ray, use the environment variable VRAY_AUTH_CLIENT_FILE_PATH.

Store vrlclient.xml in a location accessible across your network. Set the variable as follows:

VRAY_AUTH_CLIENT_FILE_PATH=//SERVER/path/to/directory/

vrlclient_example.xml

<code data-v-9a340a76=""><span data-v-9a340a76="" class="line"><VRLClient></span><span data-v-9a340a76="" class="line"> <LicServer></span><span data-v-9a340a76="" class="line"> <Host>IP address or FQDN of the primary license server</Host></span><span data-v-9a340a76="" class="line"> <Port>30304</Port></span><span data-v-9a340a76="" class="line"> <Host1>IP address or FQDN of the secondary license server if exists</Host1></span><span data-v-9a340a76="" class="line"> <Port1>30304</Port1></span><span data-v-9a340a76="" class="line"> <Host2>IP address or FQDN of the third license server if exists</Host2></span><span data-v-9a340a76="" class="line"> <Port2>30304</Port2></span><span data-v-9a340a76="" class="line"> <User></User></span><span data-v-9a340a76="" class="line"> <Pass></Pass></span><span data-v-9a340a76="" class="line"> </LicServer></span><span data-v-9a340a76="" class="line"></VRLClient></span></code>

Windows

The default location for vrlclient.xml is C:\Program Files\Common Files\ChaosGroup.

Set the path and variables in Windows 8, Windows 10 and Windows 11

  1. Search for "environment variables" in the Start menu and select Edit the system environment variables. Alternatively, go to Settings (Control Panel) > System > About > Advanced system settings > Environment variables.
  2. In the Environment Variables window shown below, select Path under "System variables" and click Edit. Add or change the paths to the directories you want the computer to access. Separate each directory with a semicolon, as shown below.

Set the path and variables in Windows 7

  1. On the Desktop, right-click Computer and select Properties. If the Computer icon is missing, click Start, right-click Computer in the Start Menu and select Properties.
  2. Click Advanced System Settings in the left column.
  3. In System Properties, select the Advanced tab and click Environment Variables near the bottom.
  4. In the Environment Variables window shown below, click New.. under "System variables".
  5. Enter VRAY_AUTH_CLIENT_FILE_PATH as the Variable name.
  6. Enter //SERVER/path/to/directory/ as the Variable value.
Windows Environment Variables dialog showing //SERVER/path/to/directory/ as the selected system variable's value.

macOS

The default location for vrlclient.xml is /Users/YourUsername/.ChaosGroup.

To make the variable available in both the terminal and graphical interface, set it using enviroment.plist or launchctl, depending on your macOS version.

For OS X Yosemite or newer, add the variable using an environment.plist file.

Download the attached setenv.chaos_group.VRAY_AUTH_CLIENT_FILE_PATH.plist example file. Open it in a text editor and change the location of vrlclient.xml.

Place the edited file in /Library/LaunchAgents/.

Download the example file

For OS X Mavericks or older, add the variable in launchd.conf.

Open the file with super-user privileges using this command: sudo vi /etc/launchd.conf

Add the variable as follows: setenv VRAY_AUTH_CLIENT_FILE_PATH //SERVER/path/to/directory

Save the file.

For more detail, look up guidance on setting environment variables for your Mac version.

Linux

The default location for vrlclient.xml is /home/YourUsername/.ChaosGroup.

Set the VRAY_AUTH_CLIENT_FILE_PATH environment variable to point to vrlclient.xml.

For bash/ksh, use this command: export VRAY_AUTH_CLIENT_FILE_PATH=//SERVER/path/to/directory/

For csh/tcsh, use this command: setenv VRAY_AUTH_CLIENT_FILE_PATH=//SERVER/path/to/directory/

To set the variable for the whole system, create a custom.sh shell script in /etc/profile.d/.

Procadsys customer support

Still need help?

Licences, renewals and billing

Our New Zealand team looks after your Chaos licences, renewals and invoices.

Monday to Friday, 9:00 am to 4:30 pm NZ time, excluding New Zealand public holidays.

Technical problems

Installation errors, crashes and other technical problems with Chaos are handled by Chaos support.