Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.4: Run an Xgrid with Tiger client System 10.4
Tiger only hintLovers of Xgrid may have been disappointed with the release of Tiger. Gone is the beautiful Xgrid GUI from Panther, gone is the ability to host a cluster without buying 10.4 Server. All we have left on 10.4 Client is a check box in the Sharing preference pane to start an Xgrid agent and share our idle resources. This is completely useless without an Xgrid controller to manage job submission and migration to agents, functionality which is not available on 10.4 Client. At least, that's what they'd like you to believe! Once again, a couple of command-line tools come to the rescue.

First up is the xgridctl command. This utility allows you to start and stop both the Xgrid controller and agent daemons, as well as automatically add the launchd configurations to load them on startup. xgridctl must be run as root using sudo. com.apple.xgrid.controller.plist, located in /Library/Preferences contains the list of preferences for the Xgrid controller, and com.apple.xgrid.controller.plist.default is an example preference file (with comments describing the alternatives), located in /etc/xgrid/controller. I turned authentication off by setting AgentAuthentication and ClientAuthentication to None.

sudo xgridctl controller start will then load the Xgrid controller, and sudo xgridctl controller on will modify the launchd configuration to run the controller daemon at startup.

As the icing on the cake, you can download the 10.4 Server Admin Tools from apple. Included in this suite is the Xgrid Admin application. As far as I can tell, this is what you get with 10.4 Server to manage the Xgrid controller anyway. Who needs Server?

Xgrid requires some ports opened on the firewall; at least 4111 for administration and probably 4111-4120 and 49200-49500 for communication with agents, from what I can tell. The agent daemon can, of course, be controlled via the Sharing preference pane, but xgridctl has options for that as well. Unfortunately, job submission now seems to be command-line only via the xgrid utility. Check the man page for syntax.
    •    
  • Currently 3.33 / 5
  You rated: 3 / 5 (9 votes cast)
 
[35,796 views]  

10.4: Run an Xgrid with Tiger client | 8 comments | Create New Account
Click here to return to the '10.4: Run an Xgrid with Tiger client' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Run an Xgrid with Tiger client
Authored by: tperrigo on Jun 23, '05 12:25:38PM

If you have the Xcode tools installed, check out the GridSample app (/Developer/Examples/Xgrid/GridSample); it provides a useful (if somewhat minimal) client interface for submitting jobs, retrieving results, etc.



[ Reply to This | # ]
10.4: Run an Xgrid with Tiger client
Authored by: ibroughton on Jun 23, '05 02:05:39PM

All very nice, but what do we use it to conntect to (the world of XGrid is new to me!)

I have a job running in set in the Sharing pane, but when I enter the same details into the server admin, it just crashes.

I (sorta) understand the conecpt of grid computing, but what else can this be put to??

(Forgive me for being a dunce)

---
The server is up but the site is down and I don't know which direction you are trying to go



[ Reply to This | # ]
10.4: Run an Xgrid with Tiger client
Authored by: Felix_the_Mac on Jun 23, '05 04:41:47PM

Here's 1 project to look at:

http://cmgm.stanford.edu/~cparnot/xgrid-stanford/



[ Reply to This | # ]
10.4: Run an Xgrid with Tiger client
Authored by: ibroughton on Jun 23, '05 05:01:17PM

Yeah, I looked at http://cmgm.stanford.edu/~cparnot/xgrid-stanford/

Works fine in the standard Sharing panel, but try putting that into the sever admin tools bit and it just crashes out on me

---
The server is up but the site is down and I don't know which direction you are trying to go



[ Reply to This | # ]
10.4: Run an Xgrid with Tiger client
Authored by: cparnot on Jun 24, '05 01:29:35AM

If you want, send me an email describing what you did and what happens. I am curious to know...

cheers,

charles.parnot at gmail dot com


---
charles



[ Reply to This | # ]
10.4: Run an Xgrid with Tiger client
Authored by: ccgaudette on Jun 23, '05 02:23:20PM
Thanks Dylan.

Now I'd like to hear what useful xgrid jobs people have discovered. That is to say, xgrid for in-home use.

Can I job-out GraphicConverter batch work? Audio file conversions? iMovie F/X?

If so, I'm in the market for any new Mac-Mini's Apple would like to offer with Gigabit Ethernet! ;-)




[ Reply to This | # ]

10.4: Run an Xgrid with Tiger client
Authored by: cparnot on Jun 24, '05 01:27:48AM

If you set up your own controller, I would recommend that you leave authentication 'password' and follow this tip to set up a password for the client to connect on the controller:
http://lists.apple.com/archives/xgrid-users/2005/May/msg00048.html

If you don't, then anybody with your ip address can submit jobs to your machine(s).

Another option is to try Xgrid Lite. It is supposed to allow the setup in a GUI pref pane (http://edbaskerville.com/software/xgridlite/). Just to be clear, I have not used that software and I do not get money from you getting it, I just know it is there and it is the only GUI option at this point.

Also, I would recommend reading more about xgrid before following the hint blindly ;-)

In particular, you should understand what the three components of xgrid do:
* the agent runs job (may ask the controller a password to allow its use)
* the client submit the jobs
* the controller dispatches the jobs (may ask the client a password)

For instance, for the project Xgrid@Stanford, the only option is to be an agent (and help me out with my calculations!). Don't hesistate to send me an email if you have questions. Replies might take a while, though, sorry, still quite busy with the Tiger transition ;-)

charles

---
charles



[ Reply to This | # ]
10.4: Run an Xgrid with Tiger client
Authored by: Harbinger on Jun 08, '06 04:58:12PM
How about this for coolness?

http://www.techspansion.com/visualhub/

Xgrid Compatible

[ Reply to This | # ]