beautypg.com

Shell commands for submitting apple qmaster jobs, Synopsis, Command options – Apple Qmaster 3 User Manual

Page 36

background image

To configure a service-only node

µ

Enter the following:

qmasterprefs -stopSharing -sharingType servicesOnly -startSharing

To create a QuickCluster

µ

Enter the following:

qmasterprefs -stopSharing -sharingType servicesAndQuickCluster -startSharing

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

address:port number>][-command -options

[-wd] [-timeout ] [-show] [-batchname ]

[-help]

Once the job is submitted successfully, this command displays the batch ID (identifier)
and job ID (identifier) in the shell.

Command Options

This table provides information about each of the command options for submitting jobs.

Description

Submission command option

Use to specify the name of the cluster to which you want to send
the job. Using the cluster name, Apple Qmaster looks for the cluster
on the network in order to use it.

-clustername

Use to specify a name for the batch so that you can easily recognize
it in Batch Monitor.

-batchname

Optionally, you can use

-clusterid

to enter the cluster ID and

port number instead of using

-clustername

. (When you enter

the cluster ID and port, less time is required to find the cluster on
the network.)

Or, if you used

-clustername

and the cluster requires a password,

use

-clusterid

to specify the user name and password. (You

need to include the

IP address:port number

as well whenever

you use

-clusterid

.)

Use

Apple Qmaster -show

to see a cluster’s IP address and port

number.

-clusterid

name:password@IP

address:port number>

36

Chapter 1

Using Apple Qmaster 3