RLM v3 is deprecated. If you are setting up a new license server please refer to the latest guide.
Yes, Take me there
This guide help you get going with floating licenses for Craft Director Studio® on Reprise License Manager v3.
Craft Director Studio® uses Reprise License Manager (“RLM”) as it’s license manager. You need to install the RLM license server even if you hava a newer RLM server in place as the license is not compatible with newer versions of RLM. You can run multiple RLM servers on the same server machine.
The server is compatible with Windows, Linux 32-bit and Mac OS X systems.
If you need a more in depth details on how to administrate the license server you can find the manual http://www.reprisesoftware.com/RLM_License_Administration.pdf
Please follow these steps to install the license server:
Please note that our server currently only supports 32-bit architecture
The ports that are used as default are 9000 for HTTP web service, 28000 for the license service and a dynamic port for the ISV server. The dynamic port is changed on each restart of the server.
HOST localhost <server mac-address>"
were “<server mac-address>” is the same as your servers MAC-address. For example “HOST localhost 11aa33bb55cc 29000” to set it to use 29000 instead of the default “28000”.
PLEASE NOTE! You must do all steps for it to work properly.
ISV craftanim "C:\Program Files (x86)\Craft Animations\Licenses\craftanim.exe" "C:\Program Files (x86)\Craft Animations\Licenses\Craft.opt" 28001
Please refer to the “Running the license server” section as this is set with a command when starting the server.
The installation for windows will automatically add the server as a service. If needed, here are the steps on how to set-up the license server as a service.
cd C:\Program Files (x86)\Craft Animations\licenses
rlm.exe -dlog +"servicelog.txt" -install_service -service_name "Craft License Server"
$ ./rlm -c <licensefile> -dlog +"servicelog.dl"
where the <licensefile> is replaced by the server license file name (for example ./rlm -c 0800278a0215_server.lic -dlog +”servicelog.dl”). This command can be slightly different depending on the Linux distribution you are running.
-ws <portnumber>
where <portnumber> are to be changed to the desired port number (For example ./rlm -c 0800278a0215_server.lic -dlog +”servicelog.dl” -ws 5050).
On most Unix systems, system services are started at boot time, usually via startup scripts located in /etc/rc.<something>. For example, on Solaris, the startup script might be placed in /etc/rc2.d/S98rlm. On Linux systems, the script could be located in /etc/init.d/rlm, with a link to /etc/rc5.d/S98rlm. Note that you must install this startup script as root.
The startup script should su to a different user so that the rlm servers are not running as root.
And example of a Unix startup script for the rlm server:
#! /bin/sh # # rlm Start/Stop rlm # #---------------------------------------------------------------- #---------------------------------------------------------------- #---------------------------------------------------------------- # NOTE: # NOTE: Configure these 5 variables for your system # NOTE: # Set rlmuser to the user under which rlm will run rlmuser=joe # Set rlmdir to the directory where the rlm binary is found rlmdir=/home/joe/rlm/ # Set rlmdir to the directory where the rlmdown binary is found rlmdowndir=$rlmdir # Set licfile to the path to the license file licfile=$rlmdir/0800278a0215_server.lic # Set debuglog to the path to the debug log debuglog=+$rlmdir/servicelog.dl #---------------------------------------------------------------- #---------------------------------------------------------------- #---------------------------------------------------------------- start() { echo $debuglog su - $rlmuser -c "$rlmdir/rlm -c $licfile -dlog $debuglog &" } stop() { su - $rlmuser -c "$rlmdowndir/rlmdown RLM -q" } case "$1" in start) start ;; stop) stop ;; restart) stop sleep 2 start ;; *) echo $"Usage: $0 {start|stop|restart}" exit 1 esac exit 0
rlm -c <licensefile> -dlog +"servicelog.log" &
where the <licensefile> is replaced by the server license file name (for example ./rlm -c 0800278a0215_server.lic -dlog +”servicelog.log” &).
-ws <portnumber>
where <portnumber> are to be changed to the desired port number (For example ./rlm -c 0800278a0215_server.lic -dlog +”servicelog.log” -ws 5050 &).
On Mac systems, the server can be started by placing a script in /Library/LaunchDaemons.
The following is an example of a script which would start rlm at boot time on Mac systems. Note that this script must be placed in the /Library/LaunchDaemons directory, and it must have an extension of .plist.
You should change /PATH/TO/RLM/ to the path to the rlm server binary and /PATH/TO/LICENSE/0800278a0215_server.lic to you license file. You can add additional arguments if needed:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Craft License Server</key>
<string>com.craftanimations.rlm</string>
<key>ProgramArguments</key>
<array>
<string>/PATH/TO/RLM/rlm -c /PATH/TO/LICENSE/0800278a0215_server.lic -dlog /PATH/TO/RLM/servicelog.log -w 5050</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
If you have received a new license file for renewal of an existing license, please follow these steps:
If you are adding additional licenses to an existing server with one or more licenses already active active, please follow these steps:
You open the License Manager vi a web-browser and enter
http://localhost:9000
If you specified a different web service port when starting the server, please change the 9000 to the port configured.
If you need a more in depth details on how to administrate the license server you can find the manual http://www.reprisesoftware.com/RLM_License_Administration.pdf
PLEASE NOTE! If you are planning to run license server and workstation on the same machine you need to be install Craft Director Studio in a different folder than the license server as it will not work otherwise.
A client license server pointer must be placed in the license folder on your client computers. It serves as a pointer to the server so the client will know where to look and fetch floating licenses. Attached in the delivery email you can find a client license file. If you provided a host name it should already be correct however, you may need to edit it to work. If you need to edit the file open it through notepad/text edit or similar text editor.
Here is how the client license pointer is structured.
HOST <server ip or hostname of the server> 0 <port number>
Here are two examples:
HOST LicenseServer 0 28000
HOST 241.48.75.107 0 28000
If you created the file from scratch make sure to save the file as a .lic file. For example: “Craft.lic”
Optionally, you can use the license tool to create the server connection automatically. On your client computer, download the license tool from: https://craftanimations.com/craftlicensetool/ Install and run it. Once running, create a new server connection and specify the server name. If you are able to connect with the server a green indicator is shown next to your server connection. However, you need to make sure that you can see “directorstudio vXX.X” (where “XX.X” is the version number. For example “directorstudio v20.3”) under “Available propducts”. If you can, rour client computer is now correctly connected to the server. However, please note, that even if it shows a green indicator it might be that you need to open additional ports between the server and the workstation as the Craft License Tool does not check all ports to validate.
Right now, I am sorry to say our installer does not support silent mode. In order to deploy CDS in batch, you need to do some manually right now:
On this machine, extract the following items:
Place these items onto the target computers on the same locations, and CDS will be able to run.
In the future, we plan to better support silent installations.
When using floating licenses, it can be good set Craft Director Studio to not verify licenses on startup of the 3D program as this will otherwise fetch and occupy a license until the 3D program is closed. Here is how you set this: