beautypg.com

Example of the qmasterprefs command – Apple Qmaster 3 User Manual

Page 79

background image

Description

Preference command option

Automatically launches content agent at startup.

-launchContentAgent

| off>

Sets logging level. Default is 3. Off is 0. Sets whether logs are
overwritten when services are restarted.

-log [0-5] [truncate on

| off]

Displays service node status indicator in menu bar.

-statusMenu

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 | ]

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

-cluster

[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

79

Chapter 7

Using the Command Line