Distributed Processing Setup Guide
Table Of Contents
- Apple Qmaster Distributed Processing Setup Guide
- Contents
- Welcome to Distributed Processing
- Distributed Processing Basics
- Getting Started Quickly
- Preparing a Network for Distributed Processing
- The Minimum You Need to Know
- Example of a Minimal Distributed Processing Network
- Using Compressor AutoClusters
- Other Possible Components of a Distributed Processing Network
- Example of an Expanded Distributed Processing Network
- Sample Setup for Part-Time Processing on Desktop Computers
- Configuring Access for Part-Time Distributed Processing
- Setting Up for Part-Time Distributed Processing with Shake
- Additional Steps for Distributed Processing with Shake
- The Interfaces
- Creating Clusters
- An Overview of Configuring a Cluster
- Configuring Service Nodes and Cluster Controllers
- Creating Clusters with Apple Qadministrator
- About QuickClusters
- Administering Clusters
- Using the Command Line
- Installing Apple Qmaster from the Command Line
- Using the Command Line for Distributed Processing
- Using Scripts to Run Apple Qmaster, Compressor, and Batch Monitor
- Appendix
- Resources for Solving Problems
- Solutions to Common Problems
- Contacting AppleCare Support
DescriptionPreference command option
Automatically launches content agent at startup.
-launchContentAgent <on
| 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 <on | off>
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
79Chapter 7 Using the Command Line










