In-Depth with Mac OS X Lion Server
Xgrid is the last of the services we'll be looking at tonight, and it's not a new one so we won't spend too much time here. Accessible only via Server Admin, Xgrid is Apple's distributed computing service - basically, it allows many computers to process a single task, thus completing that task exponentially more quickly than any one computer could do alone.
Configuring the service is easy - just select the service in Server Admin, click the Configure Xgrid Service button, elect to create an Xgrid Host, input your Directory Administrator credentials, and you're done.
You can control how clients authenticate to your Xgrid in the Controller tab within the Settings tab. For convenience's sake, I'll just have my clients authenticate with a simple password. By the same token, you can make your server's CPU cycles available to Xgrid in the Agent tab.
Now, to get other computers in on the fun, go to the Sharing System Preference pane, go to Xgrid Sharing, and click Configure. Tell your computer to use a specific controller, and input your server name.
Under Authentication method, make sure what you put here matches the setting you put in on the server, and then check the service's checkbox to start it up.
Now, check to see that everything is working using the Xgrid Admin Server Admin Tool - if you've configured your computers correctly, you should see that a pool of CPUs are available for your use.
Your Xgrid clients can now submit jobs via the command line, and you can use Xgrid Server to start, stop, pause, and dictate the priority of those jobs.
The actual use of Xgrid is a little outside the scope of this review, but sadly it's one of those things that sounds a lot cooler in theory than it is in practice. You can't really use Xgrid to speed up consumer applications from Apple or Adobe - it's best used to help with CPU-intensive calculations, and it's not even ideal for all of those. If you're interested in learning more (and if you're fairly technically literate), I'll point you toward the generally excellent Xgrid wiki and wish you luck.
Originally published at https://www.anandtech.com/show/4547/mac-os-x-lion-server-review (Wayback Machine).



