3
Table Of Contents
- Distributed Processing Setup
- Contents
- Introduction to DistributedProcessing
- Getting Started Quickly
- Preparing a Network forDistributed Processing
- The Interfaces
- Creating and AdministeringClusters
- An Overview of Configuring a Cluster
- Configuring Service Nodes and Cluster Controllers
- Creating Clusters with AppleQadministrator
- About QuickClusters
- Advanced Settings in the AppleQmaster Preferences Pane
- Modifying and Deleting Clusters With AppleQadministrator
- Monitoring Cluster Activity
- Accessing Activity Logs
- Setting Cluster Preferences
- Setting Passwords and Scratch Storage
- Recovery and Failure Notification Features
- Command-Line Usage
- Installing AppleQmaster from the Command Line
- Shell Commands for Configuring Service Nodes and Cluster Controllers
- Shell Commands for Submitting Compressor Jobs
- Shell Commands for Submitting AppleQmaster Jobs
- Shell Commands for Monitoring Batches
- Using Scripts to Run AppleQmaster, Compressor, and BatchMonitor
- Troubleshooting
- Index
Appendix A Command-Line Usage 71
Example of Compressor Command XML
The code below is an example of XML code for submitting a Compressor command.
Notice that because it needs to be entered as one command line, every character after
-options that isn’t alphanumeric must be preceded with a backslash (\).
./Compressor -clusterid tcp://127.0.0.1:51737 -batchname myBatch -jobpath
/Volumes/Source/ShortClips/NTSC24p.mov -settingpath /Users/stomper10
/Library/Application\ Support/Compressor/PhotoJPEG.setting -
destinationpath /Users/machinename/Movies/myDestinationFilename.mov.
This command has the following elements:
 Cluster address is tcp://127.0.0.1:51737.
 Batchname is myBatch.
 Job path is /Volumes/Source/ShortClips/NTSC24p.mov.
 Setting path is /Users/stomper10/Library/Application Support/Compressor/
PhotoJPEG.setting.
Destination path is /Users/machinename/Movies
Shell Commands for Submitting Apple Qmaster Jobs
You can use the Apple Qmaster command, Apple Qmaster, with a number of command-
line options for submitting jobs.
In the command-line descriptions below, angle brackets < > indicate a mandatory
argument in a command and brackets [ ] indicate an optional argument.
Synopsis
Below is a synopsis of the command for submitting a job to a cluster. The Apple Qmaster
command is located in /Applications/Apple Qmaster.app/Contents/MacOS.
Apple Qmaster[-clustername <name>] [-clusterid <user name:password@IP
address:port number>][-command <command type> -options <XML command>
[-wd <working directory>] [-timeout <seconds>] [-show] [-batchname
<name>] [-help]
Once the job is submitted successfully, this command displays the batch ID (identifier)
and job ID (identifier) in the shell.










