|
|
To print: Select File and then Print from your browser's menu
-------------------------------------------------------------- This story was printed from ZDNet Australia. --------------------------------------------------------------
|
Tap desktop processing power By Scott Lowe, 0 June 24, 2002 URL: http://www.zdnet.com.au/insight/soa/Tap-desktop-processing-power/0,139023731,120266171,00.htm
Large enterprises often have massive computational needs without a matching budget. Find out how a distributed system using open source Condor can harness the processing power of idle desktops.
Many companies have large-scale computational needs that demand large-scale processing systems and their accompanying large-scale price tags. Or do they?Through distributed computing, a company can avoid costly cluster setups by harnessing the idle processes of any number of client and server machines. Combing all these remnant processing cycles can create the number-crunching power needed for almost any job. In this Daily Drill Down, I’ll discuss the benefits of distributed computing and show you how to install and use Condor, an open source, distributed computing batch system. What is distributed computing?
A distributed computing system provides a specific set of services (applications, compilers, rendering functions, benchmarking) with certain properties (system names, security, user identification, access to similar functions, and centralised management) throughout a network at times when available processing resources are idle.
Many distributed computing applications don’t need the kind of resources required by such number-crunching systems as the Internet-based SETI or protein folding initiatives. In fact, a distributed computing environment can be set up in almost any organisation by making use of the spare CPU power on users’ desktop machines.
Distributed computing systems have the potential for enormous computational power. To illustrate the scale of this untapped resource, I used a calculator offered by distributed computing system vendor Entropia that roughly determines the computing potential of idle CPUs and compares it to the power of several machine configurations.
Now let’s take a look at actually setting up a distributed system with the open source solution, Condor, which you can download from the University of Wisconsin’s Web site. I’m going to install the 6.3.1 development release since it has support for the 2.4 version of the Linux kernel in my Red Hat Linux 7.2 installation. I’ll save this file, condor-6.3.1-linux-x86-glibc22.tar.gz, in /usr/src/ on my Linux server.
Remember that as more machines join the distributed network, the more powerful the network will become. You should take careful stock of how you intend to use Condor. If the plans involve large-scale number crunching, make sure you install Condor on as many machines as possible. Installing Condor For this sample installation, I’m not going to take into consideration any specific needs. The process I’ll illustrate on one test server will be essentially the same on as many machines as you need to add to the distributed system. I’ll start my installed Condor system by entering the /usr/local/condor/sbin/condor_master command at the server’s terminal prompt. To make sure Condor processes are running, I can use the ps command as follows: My next step is to configure a job and send it to the Condor distributed system. I’ll use the condor_submit command, but before I run this command I must create a submit description file for the job. The submit description file contains everything Condor needs to know about the job, such as the executable to run, the initial working directory, and command-line arguments for the executable. Condor is an amazingly powerful, elegant solution for distributed systems. But its scope of size creates a complexity that can be confusing. I strongly suggest that to fully understand Condor, you comb through the online manual, making sure to focus on the sections Condor Matchmaking with ClassAds, Road-map for running jobs with Condor, Submitting a Job to Condor, and Managing Your Condor Pool. Understanding these particular sections will make managing processing assets with Condor a snap.
Editorial disclaimer: The authors and editors have taken care in preparation of the content contained herein but make no expressed or implied warranty of any kind and assume no responsibility for errors or omissions. No liability is assumed for any damages. Always have a verified backup before making any changes.
TechRepublic is the online community and information resource for all IT professionals, from support staff to executives. We offer in-depth technical articles written for IT professionals by IT professionals. In addition to articles on everything from Windows to e-mail to fire walls, we offer IT industry analysis, downloads, management tips, discussion forums, and e-newsletters.
Copyright © 2009 CBS Interactive, a CBS Company. All Rights Reserved. |