Xgrid

From Drewiki

Jump to: navigation, search

Xgrid notes go here.

Contents

Authentication

Xgrid supports two types of authentication: a shared secret (i.e., a password) or Kerberos. Kerberos authentication is probably only possible when the controller is running on a Mac OS X Server machine.

Password authentication

Controllers may require agents and clients to present a password before allowing them to connect. The method described below for starting a controller on the command line appears to require that two password files be present and readable only by root. The encoding of the files is not obvious, but enabling the Xgrid agent service via the System Preferences->Sharing panel on Mac OS X Leopard and supplying a password will create the /etc/xgrid/agent/controller-password file, which you can then copy to /etc/xgrid/controller/agent-password and /etc/xgrid/controller/client-password, in which case the agent and client passwords will be identical, of course.

Controller

To make the machine a controller:

# xgridctl c start

The xgrid controller will start immediately and will also run at system startup. The controller will fail to start if either the /etc/xgrid/controller/controller-password or /etc/xgrid/controller/agent-password password files are missing; the error message on the command line will say the controller timed out, but see /var/log/system.log for the real reason.

To stop the controller:

# xgridctl c stop

The xgrid controller will stop immediately and will no longer run at system startup.

External links

Official Xgrid documentation for Leopard

Xgrid Leopard notes (mostly undocumented)

An explanation of the Xgrid Scoreboard

Leopard sandboxing, affects Xgrid jobs