Launcher¶
Overview¶
The Launcher’s main use is to provide a means of remote communication between the Monitor and the Worker or Pulse applications, and therefore should always be left running on your render nodes and workstations. It can also detect if the Worker running on the machine has stalled, and restart it if it does.
Unless the Launcher is running as a service or daemon, you should see the icon in your system tray or notification area.
You can right-click on the icon to access the Launcher menu, or double-click it to launch the Monitor.
Running The Launcher¶
To start the Launcher:
On Windows, you can start the Launcher from the Start Menu under Thinkbox\Deadline.
On Linux, you can start the Launcher from a terminal window by running the deadlinelauncher script in the bin folder.
On macOS, you can start the Launcher from Finder by running the DeadlineLauncher application in Applications/Thinkbox/Deadline.
The Launcher can also be started from a command prompt or terminal window. For more information, see the Launcher Command Line documentation.
Administration Features¶
Running the Launcher can help make some administrative tasks easier, which is why it’s recommended to keep it running at all times on your render nodes and workstations.
Automatic Updates¶
If you have enabled Automatic Upgrades under the Client Setup section of the Repository Options, whenever you launch the Monitor, Worker, or Pulse using the Launcher, it will check the Repository for updates and upgrade itself automatically if necessary before starting the selected application.
Note that the upgrade will only trigger when launching applications through the Launcher. Also, if the Launcher is running as a service on Windows, launching the Monitor will not trigger an update.
Remote Administration¶
If you have enabled Remote Administration under the Client Setup section of the Repository Options, you will be able to control the Worker or Pulse applications remotely, and remotely execute arbitrary commands. Note that it may be a potential security risk to leave it running if you are connected to the internet and are not behind a firewall. In this case, you should leave Remote Administration disabled.
Command Line Options¶
To run the Launcher from a command prompt or terminal window, navigate to the Deadline bin folder (Windows or Linux) or the Resources folder (macOS) and run the ‘deadlinelauncher’ application. To view all available command line arguments, you can run the following:
deadlinelauncher -help
Available Options¶
To start the Monitor with the Launcher, use the -monitor option. If another Launcher is already running, this will tell the existing Launcher to start the Monitor. If an upgrade is available, this will trigger an automatic upgrade:
deadlinelauncher -monitor
To start the Worker with the Launcher, use the -slave option. If another Launcher is already running, this will tell the existing Launcher to start the Worker. If an upgrade is available, this will trigger an automatic upgrade:
deadlinelauncher -slave
To launch specific Workers with Launcher, after the -slaves option use the -slavenames option along with a comma-separated list of Worker name suffixes. The resulting Worker names will have the unique suffixes appended to the base Worker name:
deadlinelauncher -slave -slavenames "suffix1,suffix2"
To start Pulse with the Launcher, use the -pulse option. If another Launcher is already running, this will tell the existing Launcher to start Pulse. If an upgrade is available, this will trigger an automatic upgrade:
deadlinelauncher -pulse
To start the License Forwarder with the Launcher, use the -licenseforwarder option. If another Launcher is already running, this will tell the existing Launcher to start the License Forwarder. If an upgrade is available, this will trigger an automatic upgrade:
deadlinelauncher -licenseforwarder
To start the Remote Connection Server with the Launcher, use the -rcs option. If another Launcher is already running, this will tell the existing Launcher to start the Remote Connection Server. If an upgrade is available, this will trigger an automatic upgrade:
deadlinelauncher -rcs
To start the Web Service with the Launcher, use the -webservice option. If another Launcher is already running, this will tell the existing Launcher to start the Web Service. If an upgrade is available, this will trigger an automatic upgrade:
deadlinelauncher -webservice
To trigger an automatic upgrade if one is available, use the -upgrade flag:
deadlinelauncher -upgrade
To prevent the Worker from being started if the Launcher is configured to launch the Worker at startup:
deadlinelauncher -noslave
To run the Launcher without a user interface, use the -nogui option. Note that if the Launcher is running in this mode, if you launch the Worker or Pulse through the Launcher, they will also run without a user interface:
deadlinelauncher -nogui
deadlinelauncher -nogui -slave
To shutdown the Launcher if it’s already running, use the -shutdown option:
deadlinelauncher -shutdown
To shutdown the Workers and Pulse on the machine before shutting down the Launcher, use the -shutdownall option:
deadlinelauncher -shutdownall
Launcher As A Service¶
When installing the Deadline Client, you can choose to install the Launcher as a service (Windows) or a daemon (Linux and macOS). If you want to configure the Launcher to run as a service or daemon after the Client has been installed, simply run the Client installer again and enable the service or daemon option during installation.
There are also some considerations that need to be made when installing the Launcher as a service or daemon. See the Installing as a Service or Daemon documentation for more information.
Manually Installing the Launcher Service on Windows¶
On Windows, you can use Deadline Command along with the following commands to install or uninstall the Launcher service:
InstallLauncherService Installs the Deadline Launcher Service, and
optionally starts it.
[true/false] Whether or not to start the Launcher Service
after it has been installed (optional)
InstallLauncherServiceLogOn Installs the Deadline Launcher Service with the
given account, and optionally starts it.
[User Name] The account user name
[Password] The account password. Submitting a value with the prefix 'env:' will instruct the installer to pull the password from an environment variable. The name of the environment variable is the value after 'env:' (e.g. env:MY_VARIABLE).
[true/false] Whether or not to start the Launcher Service
after it has been installed (optional)
UninstallLauncherService Stops and uninstalls the Deadline Launcher
Service.
StartLauncherService Starts the Deadline Launcher Service if it is
running.
StopLauncherService Stops the Deadline Launcher Service if it is
running.
Here is an example command line to install the service:
deadlinecommand.exe -InstallLauncherServiceLogOn "USER" "env:PASSWORD"
Here is an example command line to uninstall the service:
deadlinecommand.exe -UninstallLauncherService
FAQ¶
Why should the Launcher application be left running on the client machines?
Its main purpose is to provide a means of remote communication between the Monitor and the Worker applications. If it’s not running, the Worker will have to be stopped and started manually.
In addition, whenever you launch the Monitor or Worker using the Launcher, it will check the Repository for updates and upgrade itself automatically if necessary before starting the selected application. If the Launcher is not running, updates will not be detected.
Finally, the Launcher can detect if the Worker running on the machine has stalled, and restart it.
Can I run the Launcher without a user interface?
Yes, you can do this by passing the -nogui command line argument to the Launcher application:
deadlinelauncher -nogui
I have Idle Detection enabled, but the Launcher doesn’t start the Worker on Linux when it’s been idle long enough.
Please ensure you comply with our System Requirements for Linux.