beautypg.com

Using the command line for distributed processing, Synopsis, Command options – Apple Qmaster 3 User Manual

Page 78

background image

4

Repeat these steps for each computer in your distributed processing network.

Tip: You can also install Apple Qmaster using Apple Remote Desktop. Just select a node,
click Install Package, and select the standalone installer package
(AppleQmasterNode.mpkg). The copy and installation process is done automatically.

Using the Command Line for Distributed Processing

The following sections describe how to issue shell commands (from the command line)
to run your distributed processing network.

Shell Commands for Configuring Service Nodes and Cluster Controllers

As an alternative to using the Apple Qmaster pane in System Preferences, you can use
the command

qmasterprefs

, with command-line options for enabling and disabling

service node and cluster-controlling services.

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 enabling and disabling Apple Qmaster services
on a computer. The

qmasterprefs

command is located in /usr/sbin.

qmasterprefs [options] [-cluster [options]] [-service

| off> [options]]

Command Options

This table provides information about each of the enabling and disabling service-node
and cluster-controlling services on a computer.

Description

Preference command option

Displays information about supported options for

qmasterprefs

.

-help

Lists the current

qmasterprefs

settings.

-list

Restarts cluster processes.

cancelJobs

deletes batches in the

queue.

-resetCluster

[cancelJobs]

Enables or disables Bonjour advertisements.

-allowBonjourDiscovery

Sets sharing state. (Similar to the Apple Qmaster pane in System
Preferences.)

-startSharing

[servicesOnly |

servicesAndCluster |

servicesAndQuickCluster]

Stops Apple Qmaster services on local computer.

-stopSharing

Restarts all Apple Qmaster services.

-restart

Resets Apple Qmaster services to default configuration.

-reset

78

Chapter 7

Using the Command Line