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 launchericon 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.

Launcher Menu Options

Right-click on the Launcher system tray icon to bring up the Launcher menu. The available options are listed below. Note that if the Launcher is running as a service or daemon, this menu is unavailable because the system tray icon will be hidden.

../_images/launcher_menu.png

Launch Monitor

Launches the Monitor application. If the Repository has been upgraded recently, and Automatic Updates is enabled, this will automatically upgrade the client machine.

Launch Monitor for Repository

Provides a sub-menu to allow the launching of a new instance of Monitor connecting to a known repository directly, via a Connection Server or enter a NEW repository to connect to. If the Repository has been upgraded recently, and Automatic Updates is enabled, this will automatically upgrade the client machine.

Launch Worker(s)

Launches the Worker application. If this machine has been configured to run more than one Worker instance, this will launch all of them. If the Repository has been upgraded recently, and Automatic Updates is enabled, this will automatically upgrade the client machine.

Launch Worker By Name

Launch a specific Worker instance, or add/remove Worker instances from this machine (if enabled for the current user). Note that new Worker instances must have names that only contain alphanumeric characters, underscores, or hyphens. See the documentation on running Multiple Workers On One Machine for more information.

Local Worker Controls

Opens the Local Worker Controls window, which allows you to control and configure the Worker that runs on your machine.

Launch Worker at Startup

If enabled, the Worker will launch when the Launcher starts up.

Restart Worker If It Stalls

If enabled, the Launcher will try to restart the Worker on the machine if it stalls.

Scripts

Allows you to run general scripts that you can create. Note that these are the same scripts that you can access from the Scripts menu in the Monitor. Check out the Monitor Scripts documentation for more information.

Submit

Allows you to submit jobs for different rendering plugins. Note that these are the same submission scripts that you can access from the Submit menu in the Monitor. More information regarding the Monitor submission scripts for each plugin can be found in the plugins section of the documentation. You can also add your own submission scripts to the submission menu. Check out the Monitor Scripts documentation for more information.

Change Repository…

Change the Repository that the client connects to. See Change Repository for more information.

Change User…

Change the current user on the client.

Change License Server…

Note

Starting with Deadline 10.1.23, Deadline and its components do not require a license. For older versions, use this to change the license server that the Worker connects to.

Change Region…

Change the region that the machine belongs to.

Keep Local Repository Cache

If enabled, Deadline applications on this machine that are not connected to a Deadline Remote Connection Server will keep a local cache of some Repository files instead of pulling them directly from the Repository file server (scripts, plugins, etc). Note that a local cache will always be used when connecting to a Deadline Remote Connection Server.

Explore Log Folder

Opens the Deadline log folder on the machine.

About Deadline Launcher

Opens the Deadline About dialog.

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.