The License Server as a System Service
On Windows, the license server can be installed as a service for automatic startup with the system. With administrative privileges, it’s as simple as:
C:\>
licserver -installservice "%ProgramFiles%\3Delight\license.dat"
← for 3Delight Studio Pro installation
C:\>
licserver -installservice "%ProgramFiles%
\3Delight For Maya\
license.dat"
← for 3Delight for Maya installation
Removing the service is equally simple:
C:\>
licserver -removeservice
It’s a good idea to check that the setup works by running the license server in the foreground before installing it as a service as the service will not give detailed error messages.
The License Server as a OS X Launch Agent
On OS X, the license server can be started automatically when a specific user logs in, or when the system is started. The later is generally preferable, since the license server will be available regardless of who is logged on the computer (and when no user is logged in too). The procedure to launch the license server upon system startup requires administrative privileges.
% xattr -d com.apple.quarantine ~/Downloads/com.3delight.licserver.plist
- Move the file to the correct destination directory with the following terminal command:
% mv ~/Downloads/com.3delight.licserver.plist ~/Library/LaunchAgents/
← to launch the licence server when the current user logs in
% sudo mv ~/Downloads/com.3delight.licserver.plist /Library/LaunchDaemons/
← to launch the license server when the system is started.
- If the license server will be launched upon system startup, adjust the file permissions with the following terminal command:
% sudo chown root:wheel /Library/LaunchDaemons/com.3delight.licserver.plist
Anchor |
---|
| Modifying the Configuration File |
---|
| Modifying the Configuration File |
---|
|
Modifying the Configuration File
If you are running the software in a networked environment, it is necessary to indicate to 3Delight where the license server is running. This is done by modifying the configuration file. The file is named ‘rendermn.ini
’ and is located in the root of the installation. Adding the following line is enough to indicate where the license server is located:
/3delight/licserver servername
Here, 'servername
' is the name of the machine for which you provided the hostid. A network name or an IP address is accepted. Note that this is not the “hostid”. If you are unsure about the name of the license server, log on to the machine and issue the following command in a command prompt:
C:\>
licutils hostname