Table of Contents

Dispatcher service reference

The configuration of the Dispatcher service is done through the Console. You can configure the following items/functionalities:

Dispatcher preferences

The dispatcher preferences window lets you configure every behaviour of the Dispatcher service.

General

The following window shows the General properties:

Network

The following window shows the Network properties:

Queue

The following window shows the queue properties:

For each database end point (data storage, history data storage, and backup data storage), you have the following options:

The jobs behaviours can be configured by the following options:

Logs

The following window shows the logs properties:

Actions

The following window shows the Actions properties:

Logs and exit codes faults

The following window shows the Logs and exit codes faults properties:

Processes faults

The following window shows the processes execution faults and chunks timeout properties:

Mailing and web

The following window shows the mailing and the web server properties:

Windows Drives mapping

The following window shows the drive mappings properties:

If you're running the Dispatcher on LINUX or MAC, the settings of this dialog are completely ignored

If your Dispatcher is Windows based and you want to statically map some network drives, just configure them in this section by using the drive mapping editing window. You'll need to configure the drive mappings in Window if you're going to use them when you submit the jobs and you want the Dispatcher to perform frames assembling or frames checking activities.

You can tell the Dispatcher to mount or unmount the drives at specific times. I.e. by telling the Dispatcher to un mount the drives after the job completion, you can keep under control the total amount of connection to your file server and limiting the client licenses required.

Also, you can enable automatic mapping, this setting works either on Windows and on Linux/Mac. Basically, when you submit a job from a Windows workstation and the job's paths are picked up from a mapped drive, the informations of the drive mappings are stored as metadata inside the job. When it's time to use them, the Dispatcher or the Renderclient will attempt to automatically map the drive.

Notifications

The following window shows the notification properties:

The notifications allows you to send notifications by email, using Muster Notificator or on the Muster mobile app that will come later during the lifecycle of M9. We already made the configurations available to avoid changing back the interface and the internal data structures.

Email notifications

Muster notificator notifications

Mobile notifications

Advanced tuning

The following window shows the advanced tuning properties:

The settings in the advanced tuning should not be changed under any circumstances unless you're really sure of what you're doing and you've deep knowledge of the underlaying OS and sockets options. By putting wrong values in those fields, Dispatcher may became unreachable and unstable.

This is a description of each setting:

Render pools

A Render pool is a logical group of instances. By defining render pools, you can tell Muster to use a specific subset of instances/hosts to render a particular job, limit the usage of the resources for a particular user, and wake up some instances when they are effectively required by configuring the wake up on Lan feature.

You can use the Dispatcher Pools dialog to create new pool , duplicate them , and assign available instances to existing pools.

The list on the right shows you the available instances. As soon as you click on a pool in the left view, the instances still not part of that pool will be shown and you’ll be able to assign them using the left arrow button.

If you want to remove an instance from a pool just click on it and click the right arrow button. This will remove the instance and put it back in the availability list.

You can configure pools on the fly while the Dispatcher engine is active. Existing jobs will automatically inherit the new settings.

Pools can have special features as listed below:

Repositories

Substitution paths engine is a fundamental tools for cross-platform rendering. As you probably know, the way the system manages file paths is completely different between Windows and Unix based systems like Linux and Mac OS X.

When you submit a job, you tell Muster where the file for this job is, where is its project and where you want to store the files. You embed this information using the path coding of the platform you’re running the Console on.

But what happens when the job is submitted to an instance, or the Dispatcher requires access to the file contents (i.e. Image slicing assembling) ? Muster uses the substitution paths configuration. It exchanges back slashes with forward slashes where required, and transform the paths according with the rules you configure.

This is an example of the Repositories dialog:

No matter if you have a longer or shorter path, just put the path prefix to be exchanged and Muster will do the work.You can also configure a path exchange exclusively for one host (think about an host mounting the shares in a different way or on a different drive) or for one particular user (think about a user connecting from home with a total different mounting scheme).

Even paths substitution may be case insensitive (depending on the settings in the Dispatcher preferences), always be sure to specify the paths with their correct case. Linux and Mac OS X are sensitive to cases, so even the exchange of the path may happen correctly, you may still encounter issues if the case doesn’t match the target file system.


When you create a new repository, remember that the Server path means the path as seen from the Dispatcher point of view. It should match one of the three paths (Windows / Linux / Mac) depending on where the Dispatcher is installed.


Repositories configurations are also used to browse your file system from the web browser. Remember to configure at least one path to your network shares even you’re not going to use cross platform rendering or you won’t be able to access the files from the web.

Users management

Muster lets you work using its own users and groups database, as well as binding and importing an existing database using LDAP or Active Directory technologies.

If you’re going to use the built-in users and groups, you can configure the users from the Users tab:

Once you add an user or you want to configure a new one, click on the Rights button.

This is the user rights configuration window:

You can also configure groups using the Groups tab:

Groups have settings similar to the Users ones:

The only difference stays into the permissions and notifications tab. You can only enable a particular permission or notification, they are denied by default.

If you want to bind the authentication system with an LDAP or Active Directory system, you can configure the LDAP settings tab:

This dialog let you specify LDAP or Active Directory specific settings. By configuring LDAP you can tell Muster to download the users and groups accounts directly from an external authentication server. The following settings are available:

The advanced settings panel shows you the exact attributes and filters used to query the users and the groups. Most of the time those settings will work, but depending on your system, it may be possible you'll need to change these.Please refer to your system administrator for LDAP specific settings if the default ones are not working.

It’s often a good practice to test your LDAP settings before importing the users inside the Muster database. Having a bad configured LDAP server may lead to authentication errors and you may need to reset the configuration by manually editing the dispatcher.conf file, to avoid being locked outside the server.

After you import the LDAP accounts and groups, you can configure directory accounts from the LDAP users tab:

You can also configure LDAP groups from the LDAP groups tab:

The same settings for the regular users and groups applies to LDAP users and groups. Be aware that you won't be able to change an user password because it's under the control of the Directory Server.

The templates editor

The dispatcher templates editor dialog lets you configure every behaviour of the Templates installed into the Dispatcher. It also allows you to create, remove and edit existing templates:

The following window shows the templates editor:

Using the templates editor, you can change the supported templates versions (if you add a new version, automatically you can them reconfigure your hosts, and you'll find a configuration available for each version), add templates based macros that can be later retrieved from your template's code, and define template level logs parsing rules. Please refer to the submission section of this document to understand how logs parsing rules works.

You can also setup custom macros (you can get the values from your template code using the getMacro() function of the template) and custom environmental variables. If you setup them into the global template(0), they will be available widely across any spawned process. If you instead setup inside a template, you configure them on a version basis.

When you configure an environmental variable, you can use inline Python to modify the values on the fly depending on the job or the chunk currently running. Please refer to the Handling custom actions and environmental variables section of this Wiki to understand more.

It is also possible to directly write of modify an existing template using the code editor shown below:

The templates code editor works as a Python text editor. You can configure its behaviours in regards to tabulation and spacing directly from the Console preferences. By editing the templates directly from within Console, you can push the changes live to all the clients and immediately test your code changes.

Additional information on templates are directly available in the templates section of this Wiki.