Xgrid Man
Xgrid Man
NAME
xgrid - submit and monitor xgrid jobs, nodes, and datasets
SYNOPSIS
xgrid [-h[ostname] hostname] [-p[assword] password]
xgrid -job run [-si stdin] [-in indir] [-so stdout] [-se stderr]
[-out outdir] cmd [arg1 [...]]
xgrid -job submit [-si stdin] [-in indir] cmd [arg1 [...]]
xgrid -job results -id identifier [-so stdout] [-se stderr] [-out outdir]
xgrid -job {stop | delete | parameters} -id identifier
xgrid -job {list | info | status} -id identifier
xgrid -node {list | info | status} -id identifier
xgrid -dataset {list | info | status} -id identifier
OPTIONS
The available options are as follows:
-node {list | info | status} retrieve list of, info about, or sta-
tus of a node
-dataset {list | info | status} retrieve list of, info about, or sta-
tus of a dataset
-job {list | info | status} retrieve list of, info about, or sta-
tus of a job
-job {submit | run} cmd arg1 ... specify a command (with arguments) to
either run synchronously or submit
asynchronously
RETURN VALUES
Prints the job identifier when a job is submitted.
ENVIRONMENT
XGRID_CONTROLLER_HOSTNAME gives the hostname or IP address of the con-
troller
FILES
/Library/Xgrid/Documentation
Documentation about Xgrid
/etc/xgrid/GridAgent/controller-password
Password that the agent may require the controller to have (only
readable by root)
/etc/xgrid/GridServer/agent-password
Password that the controller may be required by the agent to have
(only readable by root)
/etc/xgrid/GridServer/client-password
Password that the controller may require the client to have (only
readable by root)
/Library/Preferences/com.apple.xgrid.controller.plist
RequireClientPassword : whether a client must provide a password
to connect to the controller
/Library/Preferences/com.apple.xgrid.agent.plist
All values are <true/> for YES and <false/> for NO, except
ServiceName which is a UTF-8 string.
EXAMPLES
List available nodes and specify hostname and password:
$ export XGRID_CONTROLLER_HOSTNAME=mycomputer.apple.com
$ export XGRID_CONTROLLER_PASSWORD=pword
List jobs and then get the status for one of the jobs:
Run the cal program (specified using a full path so the command isn't
copied) on a single node synchronously and print the output to standard
output:
Submit myscript with the files in the input directory. Then retrieve the
results and save the stdout and stderr streams in files instead of print-
ing them out to the terminal and save the output files in the specified
directory. Finally delete the job:
DIAGNOSTICS
xgrid with no arguments will print the usage message
ERRORS
If a job fails due to an error, the error code reported is simply the
error code that was returned by the task (or by the system). (For system
error descriptions, see /usr/include/sys/errno.h.) Common errors include:
SEE ALSO
ssh(1)
CONFORMING TO
The protocol used by Xgrid conforms to:
HISTORY
Xgrid's history can be traced back to Zilla, which was developed by NeXT
in the late 80's and was the first clustering desktop program to make use
of the "noninterventive screen saver" motif, a motif which is now common-
place and widely used in projects like Seti@Home. Zilla won the 1991
national ComputerWorld-Smithsonian Award in the science category for this
noninterventive, community-supercomputing paradigm.
Apple acquired the rights to Zilla in 1997, and later used that as the
inspiration for the research project which became Xgrid. Xgrid was pub-
licly launched as a Technology Preview on January 6, 2004 at MacWorld San
Francisco.
BUGS
Xgrid is a Technology Preview, and there are many known issues. Some
commonly reported issues are:
ERRORS
If a job fails due to an error, the error code reported is simply the
error code that was returned by the task (or by the system). (For system
error descriptions, see /usr/include/sys/errno.h.) Common errors include:
SEE ALSO
ssh(1)
CONFORMING TO
The protocol used by Xgrid conforms to:
HISTORY
Xgrid's history can be traced back to Zilla, which was developed by NeXT
in the late 80's and was the first clustering desktop program to make use
of the "noninterventive screen saver" motif, a motif which is now common-
place and widely used in projects like Seti@Home. Zilla won the 1991
national ComputerWorld-Smithsonian Award in the science category for this
noninterventive, community-supercomputing paradigm.
Apple acquired the rights to Zilla in 1997, and later used that as the
inspiration for the research project which became Xgrid. Xgrid was pub-
licly launched as a Technology Preview on January 6, 2004 at MacWorld San
Francisco.
BUGS
Xgrid is a Technology Preview, and there are many known issues. Some
commonly reported issues are:
2. The controller always copies over the commands and working directory
to the agent before each individual task, rather than checking to
see if it is cached