This page gives details on how to use the .vrlclient.xml file from a central location on your network.
An instance of the Chaos License Server that uses the same user account may be installed more than once on the same internal network when on different workstations or servers to act as a redundancy measure. You can also use V-Ray environment variable VRAY_AUTH_CLIENT_FILE_PATH.
In this case, the vrlclient.xml file could be stored on a centrally accessible location. The variable should look like:
VRAY_AUTH_CLIENT_FILE_PATH=//SERVER/path/to/directory/
The environment variable should point to the directory where the vrlclient.xml file resides. |
<VRLClient> <LicServer> <Host>IP address or FQDN of the primary license server</Host> <Port>30304</Port> <Host1>IP address or FQDN of the secondary license server if exists</Host1> <Port1>30304</Port1> <Host2>IP address or FQDN of the third license server if exists</Host2> <Port2>30304</Port2> <User></User> <Pass></Pass> </LicServer> </VRLClient> |
By default the vrlclient.xml location is C:\Program Files\Common Files\ChaosGroup
By default the vrlclient.xml location is /Users/YourUsername/.ChaosGroup folder.
In order for the variable to be valid for both terminal and GUI, you need to set it using either enviroment.plist or launchctl depending on your macOS version.
If you are running OS X Yosemite or newer, you should add the variable using an environment.plist file.
- Download the attached setenv.chaos_group.VRAY_AUTH_CLIENT_FILE_PATH.plist example file and edit the location of vrlclient.xml file using a text editor.
- Place the edited file in /Library/LaunchAgents/ directory.
If you are running OS X Mavericks or older you should add the variable in the launchd.conf file.
Open the file using super-user privileges: sudo vi /etc/launchd.conf
Next, add the variable as follows: setenv VRAY_AUTH_CLIENT_FILE_PATH //SERVER/path/to/directory
Then save the file.
Note that you need to reboot the machine after that in order for the changes to take effect. |
You can check the web for more details on setting environment variables for your Mac version.
By default the vrlclient.xml location is /home/YourUsername/.ChaosGroup folder.
Set the VRAY_AUTH_CLIENT_FILE_PATH environment variable to point to the vrlclient.xml file.
For bash/ksh: export VRAY_AUTH_CLIENT_FILE_PATH=//SERVER/path/to/directory/
For csh/tcsh: setenv VRAY_AUTH_CLIENT_FILE_PATH=//SERVER/path/to/directory/
To set the variable system wide create a custom.sh shell script in /etc/profile.d/