Web Search | Directory | Submit Site



   


A fast OS X Xgrid using Linux and XP boxes as agents 
Sunday, March 11, 2007, 10:56 PM
Need a quick xgrid to harness the power of multiple processors on your network?

This is a long looking entry but that's because of all the images :). It should take about a half hour to get your xgrid up and running.

Here's how:

First you need one Mac running Tiger (OSX) to control the grid. This doesn't need to be a powerhouse Mac as it will be acting as your controller, the only requirement is that the Mac is running OS X Tiger.

You will need to download and install: xgridlite

You will have a new entry in your System Preferences:



Start the controller and specify your security settings.


Back to your System Preferences > Sharing >
Start xgrid



Next, you will need to download and install: Server Admin Tools

Start Xgrid Admin > Add Controller



Click on Agents and see that your mac has been added via the Xgrid Admin GUI, we added a dual processor Mac, so we see : 1 agent and 2 processors.



Next, we add some additional agents:

Lets setup 2 agents, one for a linux box and one for an XP box, we'll call the agents respectively "box1" and "box2".

Xgrid Admin > Agent > Add Agent > box1

Xgrid Admin > Agent > Add Agent > box2

You will now see 3 Agents.

Okay, now onto configuring our agent boxes.

On each box that you want to run as an agent, download: Xgridagent for Java

On your linux box:

Unpack xgridagent

cd into the xgridagent directory.

From the xgridagent README:

=======
usage: java -jar xgridagent.jar host name mhz

host is the address or hostname on the controller
name is the name of this agent
mhz is the CPU power of one CPU in this agent

run the program from within the xgridagent directory
=======

So, if your Mac is at 10.12.1.111 and the box you are adding is running a 3.2 Ghz processor, your commands would look something like this:

$cd /wherever/you/unpacked/xgridagent
$ java -jar xgridagent.jar 10.12.1.111 box1 3200

some output:

Connected to controller: 10.12.1.111

hooray! We are connected to the xgrid controller on the Mac.



Let's add box2 (an XP box running at 2400 Mhz)

Make sure cygwin is installed on your XP.

$cd /wherever/you/unpacked/xgridagent
$ java -jar xgridagent.jar 10.12.1.111 box2 2400

some output:

Connected to controller: 10.12.1.111

You now have a working grid running at 7.33 Mhz. Pretty cool.



You can run xgrid from the command line, try:

$ xgrid -h localhost -job submit /usr/bin/echo Hello World




You can add to your grid by adding agents in Xgrid Admin and running xgridagent on as many boxes as you need.

To add Macs to your grid, go to System Preferences > Sharing and start xgrid.

xgrid man page

Get GridStuffer to give your xgrid a workout.

Have fun!
  |  0 trackbacks   |  permalink

Off the beaten path but worth a search! 
Saturday, April 1, 2006, 09:46 PM
In the interest of promoting information access, here are a few "off the radar" search engines that do a fine job.

Gigablast

Operated by Matt Dwells this is probably the most sophisticated, advanced engine that could be in the "roll your own" family, pretty much a one man show but some major cool features and advanced options make gigablast a very cool and comprehensive search engine, I have a hard time believing you couldn't find what you are looking for there.

Try it, you'll like it.

Mozdex

This engne is probably the most well known nutch powered search engine currently operating. Mozdex is in beta but who in search really isn't? Beyond promoting open source search, the operators are also looking for new ways to sell advertising to fund the expense of running a search engine, clearly they are thinking forward and also maintain a blog for further conversation.

Thats 2 for now! Check them out!
  |  0 trackbacks   |  permalink

Search Engine Diversity? 
Sunday, March 19, 2006, 04:33 AM - Search Engines
JamBot is our attempt to make the search landscape a bit more diverse. Should there be one or two (or three) BIG dogs allowing the fate of information access to rest in the hands of the few or should there be a wide and varied information landscape available to those who have need of information? Can the search market be fragmented, are search habits hard to break? We hope to explore these evolving issues and have a little bit of fun while doing it!


Thanks for coming by.
  |  0 trackbacks   |  permalink