Ulf | Condor | Heartbeat | Parallel Programming | Ajax Linux Journal
Total Page:16
File Type:pdf, Size:1020Kb
BEOWULF | CONDOR | HEARTBEAT | PARALLEL PROGRAMMING | AJAX LINUX JOURNAL CrossOver HIGH-PERFORMANCE COMPUTING Office 5.0 MAKES THE ™ GRADE Since 1994: The Original Magazine of the Linux Community SEPTEMBER 2006 | ISSUE 149 | www.linuxjournal.com Clustering Beowulf Is Not | Condor Doc interviews Rocket J.P. Rangaswami | He of Dresdner Kleinwort Wasserstein a rtbe Science (DrKW) a t | P a r a llel Progr JavaScript for the Win, a mming Love It or Hate It PLUS: | MySQL Makes AJAX Web-Based | Reporting Easy Security Savage 2 Game on Its Way to Linux S E Marcel Gagné P T Serves Up E M Tips for B E R your Body 2006 AN I S PUBLICATION S U E USA $5.00 149 CAN $6.50 U|xaHBEIGy03102ozXv!:^ SEPTEMBER 2006 CONTENTS Issue 149 FEATURES 56 CLUSTERING IS NOT ROCKET SCIENCE Want to compute rocket science without having to be a rocket scientist? ON THE COVER Rowan Gollan, Andrew Denman and Marlies Hankel • Clustering Is Not Rocket Science, p. 56 62 GETTING STARTED WITH CONDOR • JavaScript for the Win, Love It or Hate It, p. 22 Computers of different feathers can still flock together with Condor. • CrossOver Office 5.0, p. 48 Irfan Habib • Doc Interviews J.P. Rangaswami, p. 44 66 DRBD IN A HEARTBEAT • MySQL Makes Web-Based Reporting Easy, p. 86 • Savage 2 Game on Its Way to Linux, Build a good redundant system to prevent downtime. p. 40 Pedro Pla • Marcel Gagné Serves Up Tips for your Body, p. 28 72 MAINSTREAM PARALLEL PROGRAMMING Get a Beowulf cluster running without having to fight off Grendel. Michael-Jon Ainsley Hore COVER PHOTO BY DRESDNER KLEINWORT 2 | september 2006 www.linuxjournal.com SEPTEMBER 2006 CONTENTS Issue 149 COLUMNS IN EVERY ISSUE 22 REUVEN M. LERNER’S 12 LETTERS AT THE FORGE 16 UPFRONT JavaScript 46 NEW PRODUCTS 81 ADVERTISERS INDEX 28 MARCEL GAGNÉ’S COOKING WITH LINUX Operating Your Body at Peak Performance INDEPTH 78 MILLE-XTERM AND LTSP 34 DAVE TAYLOR’S If you thought Network Computing WORK THE SHELL was dead, wait until you read this. When Is “Good Enough” Good Enough? Francis Giraldeau, Jean-Michel Dault and 48 CROSSOVER OFFICE 5.0 Benoit des Ligneris 36 MICK BAUER’S PARANOID PENGUIN 82 64-BIT JMP FOR LINUX How to Worry about Linux Security 64-Bit Linux and JMP statistics software Next Month are made for each other. 40 DEE-ANN LEBLANC’S Erin Vang GET YOUR GAME ON S2 Games DIGITAL 86 WEB REPORTING WITH MYSQL, CSS AND PERL LIFESTYLE 42 JON “MADDOG” HALL’S Some nifty features in MySQL make BEACHHEAD Next month, we’ll tell you how Web reporting a breeze. one person used MisterHouse to Pirates and Pollywogs Paul Barry set up a zoned home heating system, share a fascinating 44 DOC SEARLS’ 92 ECRASH: DEBUGGING experience with do-it-yourself LINUX FOR SUITS robotics, relate how F-Spot WITHOUT CORE DUMPS An Interview with J.P. Rangaswami saved the day for photo man- You don’t have to take a core dump agement, and detail how Mike to debug your programs. Diehl used Linux for everything David Frascone from MythTV to VoIP. We’ll open up Jon “maddog” Hall’s backpack and have a look at all REVIEWS his gadgets too. And, Marcel Gagné will explain how to tell 48 CROSSOVER OFFICE 5.0 your chat buddies what music you’re listening to and how to Jes Hall share it with them. 52 PATHSCALE INFINIPATH That’s not all. We have an INTERCONNECT exclusive sample chapter from the Apress book Beginning Logan G. Harbaugh 96 NICHOLAS PETRELEY’S Ubuntu. Want to learn how /VAR/OPINION to customize your Ubuntu desktop? It’s all right here. Parallel Is Coming into Its Own USPS LINUX JOURNAL (ISSN 1075-3583) is published monthly by SSC Media Corp., 2825 NW Market Street #208, Seattle, WA 98107. Periodicals postage paid at Seattle, Washington and at additional mailing offices. Cover price is $5 US. Subscription rate is $25/year in the United States, $32 in Canada and Mexico, $62 elsewhere. POSTMASTER: Please send address changes to Linux Journal, PO Box 980985, Houston, TX 77253-3587. Subscriptions start with the next issue. 4 | september 2006 www.linuxjournal.com Editor in Chief Nick Petreley, [email protected] Executive Editor Jill Franklin [email protected] Senior Editor Doc Searls [email protected] Art Director Garrick Antikajian [email protected] Products Editor James Gray [email protected] Editor Emeritus Don Marti [email protected] Technical Editor Michael Baxter [email protected] Senior Columnist Reuven Lerner [email protected] Chef Français Marcel Gagné [email protected] Security Editor Mick Bauer [email protected] Contributing Editors David A. Bandel • Greg Kroah-Hartman • Ibrahim Haddad • Robert Love • Zack Brown • Dave Phillips • Marco Fioretti • Ludovic Marcotte • Paul Barry • Paul McKenney A Better Way Proofreader Geri Gale VP of Sales and Marketing Carlie Fairchild to Manage your Servers [email protected] Marketing Manager Rebecca Cassity [email protected] International Market Analyst James Gray [email protected] Sales Coordinator Lana Newlander Virtual Private Servers [email protected] Starting at $19.95/mo. Regional Advertising Sales NORTHERN USA: Joseph Krack, +1 866-423-7722 (toll-free) EASTERN USA: Martin Seto, +1 416-907-6562 SOUTHERN USA: Laura Whiteman, +1 206-782-7733 x119 INTERNATIONAL: Annie Tiemann, +1 866-965-6646 (toll-free) • No Setup Fees, No Contracts Advertising Inquiries [email protected] Publisher Phil Hughes • Free http and icmp monitoring [email protected] Accountant Candy Beauchamp • Free incident response service [email protected] Linux Journal is published by, and is a registered trade name of, SSC Media Corp. • Zervex ServerCP Online Control 2825 NW Market Street #208, Seattle, WA 98107 USA Editorial Advisory Board Panel Incuded Daniel Frye, Director, IBM Linux Technology Center Jon “maddog” Hall, President, Linux International Lawrence Lessig, Professor of Law, Stanford University Ransom Love, Director of Strategic Relationships, Family and Church History Department, Church of Jesus Christ of Latter-day Saints Sam Ockman, CEO, Penguin Computing Bruce Perens Bdale Garbee, Linux CTO, HP Danese Cooper, Open Source Diva, Intel Corporation Subscriptions E-MAIL: [email protected] URL: www.linuxjournal.com PHONE: +1 713-589-3503 FAX: +1 713-589-2677 TOLL-FREE: 1-888-66-LINUX MAIL: PO Box 980985, Houston, TX 77253-3587 USA --------Since 1998-------- Please allow 4–6 weeks for processing address changes and orders PRINTED IN USA www.jtl.net/lj LINUX is a registered trademark of Linus Torvalds. 1-877-765-2300 letters Xoops! Not a Security Hole Simple Is Good In response to Cameron Spitzer’s letter [June The “Google Maps” installment of Reuven Lerner’s 2006, “Xoops! A Security Hole”], Juan Marcelo At the Forge column [June 2006] was simple Rodriguez may have forgotten to mention that enough to get lots of noobs excited—that’s great! Xoops needs the permissions of the uploads, cache However, creating dynamically named variables and templates_c directories set to 777 just for the like myMarker$count is bad style that I’d rather install. You can change them back! When you log in keep away from the kids. JavaScript has locally to the application for the first time, if they are still set scoped variables, so there’s no need for that kind to 777, the application will ask you to change them. of 1970s hackery. -- -- Mohammed Mike Schilli Trolling for Ranting Ranters Change Is Good Too I like how the magazine has changed. I think it’s I can’t even make it off page 10 of the July 2006 exciting. It’s like watching it grow (literally, too). issue that I just got today. For the last several The design upgrade brings it closer to the style of months, I have read for the most part how Network Computing, IT Architect or other glossy “concerned” or “upset” people are for the changes CMP periodicals I also read, and nicely not so in LJ. And how they are going to quit subscribing to “pagemaker crayola” as Wired looks. I think this the magazine, unless things are turned back around look reaches out to those who would flip thru the again soon. Why is it that people are so afraid of magazine rack and pick up a Wired or PC Gamer. change? Change is good folks, really, it is! That must have provoked an argument or two, because that’s also an editorial and policy change for Anyways, I love the new dimensions of the magazine. the whole magazine. It hasn’t lost the hard tech I really enjoy the /etc/rants too. I find a good edge, though. If I ever want to read about how to chuckle in them, and they’re informative too. I write a device driver, I don’t have to look very far. also like the in-depth coverage, even though some readers may feel that it’s a waste. I am sure that Boy, this has been fun reading the Letters column. there are other readers that feel the same as I do. Look at all the people getting riled up about Nick’s Kudos to LJ for making it fun to read again and trolls! I thought I saw Nick sitting under a big bridge get the feeling of a child again, waiting for somewhere, waiting to point out the obvious with Christmas day to come, when the new magazine his thick finger, just to watch all the readers squirm. is supposed to be coming in the mail any day now. I think it’s brilliant! (Who among us has not enjoyed -- reading through a trolling thread on Slashdot?) This Ryan Chiles makes the magazine not boring, and that will keep plenty of us around.