Example of the qmasterprefs command – Apple Compressor 3 User Manual

Page 361

Advertising
background image

Description

Preference command option

Turns cluster-controlling services on or off. All [options] are:

[timeout min] [[quickcluster] servername name]

[maxactivetargets val] [maxactivesegments val]

[storagepath path] [privatestorage on|off]

[publishedstorage on|off]

[storagecleanupthreshold days] [unmanagedservices

on|off] [unmanagedmulticapturethreshold sec]

[networkinterface allinterfaces | <bsd name>]

[log [0-5] | [truncate on|off]]

-cluster <on | off>

[options]

Turns service on or off. Valid names are

Rendering

or

"Compressor Processing"

. All [options] are: [timeout min]

[sharing on|off ] [instances n] [autorestart on|off ] [unmanaged on|off ]
[log [0-5] [truncate on|off ]]

-service “name” [on|off]

[options]

Note: For a complete list of shell command options, enter

qmasterprefs -help

.

Example of the qmasterprefs Command

In the following example, the computer is set to be a cluster controller, bound to the
primary network interface (en0), with logging set to verbose, with the logs not overwritten.
The

Rendering

service is on, with 4 managed services and logging set to verbose, with

the logs not overwritten. The

Compressor Processing

service is configured with the

same settings, with two instances.

qmasterprefs -sharingType servicesAndCluster -cluster on networkinterface

en0 log 5 truncate off -service Rendering on sharing on instances 4 unmanaged

off log 5 truncate off -service "Compressor Processing" on sharing on

instances 2 unmanaged off log 5 truncate off

To reset controller and service configurations

µ

Enter the following:

qmasterprefs -reset

To reset all controller and service processes and cancel all batches in queue

µ

Enter the following:

qmasterprefs -resetCluster cancelJobs

To stop sharing

µ

Enter the following:

qmasterprefs -stopSharing

To start sharing

µ

Enter the following:

qmasterprefs -startSharing

361

Appendix C

Using the Command Line

Advertising