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 73
Example of Shake Command XML
The code below is an example of XML code for submitting a Shake 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 (\).
/Applications/Apple\ Qmaster.app/Contents/MacOS/Apple\ Qmaster -clustername
elvis -command "Shake" -options \<command\ executable\=\"\/Applications\/
Shake\/shake.app\/Contents\/MacOS\/shake\"\ script\=\"\/Volumes\/Jaguar\/
scripts\/applestyle.shk\"\ start\=\"1\"\ end\=\"1000\"\ stepsOf\=\"1\"\
minCount\=\"10\"\ otherOptions\=\"\"\ previewNode\=\"\"\ previewWidth\=\"0\"\
shutterOn\=\"yes\"\ motion\=\"yes\"\ proxyFlags\=\"0\"\
proxyScale\=\"1.000000\"\ proxyRatio\=\"1000.000000\"\
shutter\=\"1.000000\"\>\<\/command\>
Note: Apple Qmaster stores the XML code for the last command you entered in
~Library/Preferences/com.apple.AppleQmaster.plist. You can copy the command in
XML form there, and customize it to use for a new job submission.
Shell Commands for Monitoring Batches
You can use the Batch Monitor command, Batch Monitor, with a number of
command-line options for monitoring 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 monitoring batches. The Batch Monitor
command is located in /Applications/Utilities/Batch Monitor.app/Contents/MacOS.
Batch Monitor [-clustername <name>] [-clusterid <user name:password@IP
address:port number>] [-jobid <identifier> -batchid <identifier>]
[-timeout <seconds>] [-query <seconds>] [-help]
To cancel a job or batch:
Batch Monitor [-clustername <name>] [-clusterid <IP address> <port number>
<user name> <password>] -kill -jobid <identifier> -batchid <identifier>










