Comments
Richard Davies wrote: The UK has a good crop of technology pioneers in cloud computing - for example ElasticHosts, FlexiScale, Flexiant, OnApp - and also some strong government initiatives such as G-Cloud. We will have to see whether this kind of technical leadership converts into swift mass-market adoption or not.
Cloud Computing
Conference & Expo
November 2-4, 2009 NYC
Register Today and SAVE !..

2008 West
DIAMOND SPONSOR:
Data Direct
SOA, WOA and Cloud Computing: The New Frontier for Data Services
PLATINUM SPONSORS:
Red Hat
The Opening of Virtualization
GOLD SPONSORS:
Appsense
User Environment Management – The Third Layer of the Desktop
Cordys
Cloud Computing for Business Agility
EMC
CMIS: A Multi-Vendor Proposal for a Service-Based Content Management Interoperability Standard
Freedom OSS
Practical SOA” Max Yankelevich
Intel
Architecting an Enterprise Service Router (ESR) – A Cost-Effective Way to Scale SOA Across the Enterprise
Sensedia
Return on Assests: Bringing Visibility to your SOA Strategy
Symantec
Managing Hybrid Endpoint Environments
VMWare
Game-Changing Technology for Enterprise Clouds and Applications
Click For 2008 West
Event Webcasts

2008 West
PLATINUM SPONSORS:
Appcelerator
Get ‘Rich’ Quick: Rapid Prototyping for RIA with ZERO Server Code
Keynote Systems
Designing for and Managing Performance in the New Frontier of Rich Internet Applications
GOLD SPONSORS:
ICEsoft
How Can AJAX Improve Homeland Security?
Isomorphic
Beyond Widgets: What a RIA Platform Should Offer
Oracle
REAs: Rich Enterprise Applications
Click For 2008 Event Webcasts
In many cases, the end of the year gives you time to step back and take stock of the last 12 months. This is when many of us take a hard look at what worked and what did not, complete performance reviews, and formulate plans for the coming year. For me, it is all of those things plus a time when I u...
SYS-CON.TV
How to create a Linux-based network of computers for peanuts (part 2)
You don't need to spend $1,000 per user to create a modern, friendly, fast & productive computer system.

(LinuxWorld) -- You may recall from Robin Miller's excellent report on Linux and X terminal computing at the city of Largo, FL, that Largo's main application server has dual 933-MHz processors and three gigabytes of RAM. (That's no ordinary commodity PC, and should qualify as a boar hog among i386 computers in anyone's book.)

Largo's 800 employees share 400 X terminals (I presume in shifts). If you have fewer than 800 children at home, or if your organization employs fewer than 800 people, your server needs will be more modest.

Alert readers may also wonder why the IT department at Largo chose to spend $750 each for hundreds of NCD X terminal appliances. Again, Largo has 800 computer users (no doubt scattered all over town in different facilities) -- and an I.T. staff of 10. For homes, small businesses and departments within larger organizations with a need for 5, 10, 20, or 50 desktops -- and that perhaps also have a shortage of skilled administrators -- recycled PCs are not only less expensive, but also easier to configure.

This is, after all, an exercise in cheap and easy Linux-server centrism. It doesn't mean one approach is right and the other wrong. It does mean Linux is extremely versatile, infinitely configurable, and suited to diverse needs.

Step one: Roundup server hardware

We will require, at minimum, two computers. One is an application server and the other is an X terminal. You also need a network. You may want a method of connecting to the outside world, which might be another LAN segment, or perhaps, the Internet. (More on this in Part 3).

The specifications of the server depend on a number of factors. An experiment or demonstration may not justify the same resources as a production deployment. The number of users, the types of applications, and the desktop environment/window manager(s) all figure into the equation, as does your own subjective judgment as to what constitutes acceptable performance.

In this case, unlike the system used by Largo, Florida, the desktops do not boot from the network, so that additional server load is eliminated. Here are some real-world examples, tainted with my personal prejudices, and drawn from my own experiences, experiments, and failures.

For one to six users, FVWM95, TWM, or other similarly slim window manager, lean and efficient applications like Abiword -- and for a browser, Netscape 4.x rather than 6.x or Mozilla -- a 90-MHz Pentium with 64 megabytes of RAM will do. Yes, a 90-MHz Pentium I.

Don't like FVWM95? Think TWM is too Spar tan? Want KDE or Gnome? But still only a half dozen users or so? A P200 with about 80 megabytes of RAM does surprisingly well.

Let's up the demand a bit. Need Netscape 6.x and the Star Office suite? SDRAM helps. The same P200 with 128 to 192 megabytes of PC100 SDRAM can handle the load reliably, if not spectacularly. Just make sure you install Star Office using the /net option.

It doesn't take a rocket scientist to figure out that if a P90 with 64 megabytes EDO RAM can serve five or six users logged in at X terminals with TWM and a dual 933-MHz machine with three gigabytes can handle 400 running KDE, any current commodity PC upgraded to 384 to 512 megabytes of RAM (now about 50 cents per megabyte) should handle 25 users running an array of productivity applications. A recent Staples advertisement touted a 2-GHz P4 Windows desktop machine with 256 megabytes of RAM at a bit over $2,000, so you should be able to find something suitable in your price range.

Disk I/O becomes more quickly a bottleneck on application servers than CPU speed, and swap space is considerably slower than physical RAM. I'd much prefer a 300-MHz processor and 512 megabytes of RAM to a 1.2-GHz processor and 128 megabytes of RAM in an application server.

It's often more efficient for disk I/O if the server uses several smaller disks on different I/O channels than one big disk on one channel doing everything. At work, I carefully partition multiple drives, and do things like put /usr/lib and / next to each other on one disk and /usr on another. At home it's one disk with /, swap and /home. Relax. Experiment a little and decide for yourself.

Size the hard drives based on your estimate of what the user's home directories will require. (Again, use the /net option when installing Star Office so you don't waste gigabytes of disk space.)

An application server needs only 500 megabytes to two gigabytes for everything except home directories.

Step 2: Roundup client hardware

In a pinch, even a 386DX with 8 megabytes of RAM and a 120-megabyte hard drive will do. For production use, such a machine will not scroll smoothly, use virtual memory too often, and will frustrate most users. A 486DX to P75 with 16 megabytes of RAM and a 250-megabyte hard drive is a good starting place. Sixteen megabytes of RAM permits easy installation of most reasonably up-to-date Linux distributions and 250 megabytes disk space doesn't require the base distribution, networking utilities and X to be shoe horned in. Swap space will be used, but sparingly, and performance will be more than acceptable for productivity applications.

It is in this use of local hard drives where we depart from thin-client or diskless computing, a la Largo, Florida. Unlike the NCD appliances used by the city of Largo, I recommend configuring X terminal PCs to boot from a local hard drive. This means that no boot PROMs are required on the network interface cards (NIC), nor is the system administrator required to obtain or burn these PROMs. Since the X terminal's operating system isn't loaded from the application server, that machine's minimum specifications are further reduced. A small, local swap space reduces the need for RAM in the X terminal PC. As no data is stored on the X terminal's hard drive, there is no need to provide a UPS.

Best of all, while Ethernet boot PROMs and additional RAM required for practical thin client or diskless X terminals cost money, the minimal system hard drives required to configure PC X terminals are often available for free -- or so cheap that they may as well be free. Don't be afraid to use older, recycled hard drives for these X terminal machines. You don't store data on these machines. You are not risking the loss of data by saving some money.

The only item really worth spending additional money for in a PC X terminal is the video adapter. You don't want to run some VGA-only clunker. It's often easier to find inexpensive video adapters for Pentiums than for ISA motherboards found in most 486s. As long as you have (or can obtain) satisfactory video adapters, 486DX machines are fine.

Productivity applications aren't Quake and you won't need expensive video adapters. Cards that use the XF86_SVGA server like the S3 Virge and Trio 64, or the Cirrus Logic GD 5464, with 1 or 2 megabytes of VRAM, are adequate when teamed with a basic multi-sync monitor. Do try to achieve the same video resolution on all machines, but don't be afraid to mix and match models.

The X terminal PCs should have floppy drives as an aid to easy installation. A CD-ROM drive is unnecessary -- we can install Linux through the network.

Step 3: Roundup network hardware and cable

The X Window System doesn't require much bandwidth, and some people use it over dial-up connections. Thinnet is the least expensive. Used NICs usually cost about $1. Thinnet doesn't use a hub, so there is some additional savings. ISA NICs with BNC fittings are easy to find, which is an important consideration if 386 and 486 PCs are going to be used as X terminals.

If you don't like Thinnet feel free to use twisted-pair and 10 or 100 BaseT Ethernet if that is what you want. Don't expect extra performance for the extra expense.

Hungry Minds publishes a number of books, including some "...For Dummies" titles that explain the mechanical details of stringing cable between PCs. In it's most basic form, an Ethernet LAN consists of two computers with NICs, a short piece of RG-58/U coaxial cable with male BNC connectors, a BNC "tee" attached to the connector on both computers' NIC, and a 50-Ohm termination for each end. Radio Shack, most locally owned computer shops, and for that matter, most two-way radio and Ham radio dealers supply the cables and connectors needed for a simple LAN. In Part 3 we will begin to install and configure Linux on our server and clients.

About Colin Mattoon
When not buried under his real job in commercial two-way radio system design and sales, Colin Mattoon is a part-time Linux system administrator at Northwest Communications in Lewiston, ID.

In order to post a comment you need to be registered and logged in.

Register | Sign-in

Reader Feedback: Page 1 of 1

Part III is at http://www.linuxworld.com/story/32838.htm

this is an excellent read .. especially for those who've felt the axe or budget cut in the last little while

Once the site was redesigned all the links broke. The next installment is here:
http://www.linuxworld.com/story/32838.htm


Your Feedback
Alex Almeida wrote: Part III is at http://www.linuxworld.com/story/32838.htm
muscle wrote: this is an excellent read .. especially for those who've felt the axe or budget cut in the last little while
Dane Jones wrote: Once the site was redesigned all the links broke. The next installment is here: http://www.linuxworld.com/story/32838.htm
SOA World Latest Stories
In Aug 2011, around 72 million people accessed social networking sites from mobile, increase of 37% from previous year (study by ComScore) and nearly 50% (of 72 million) access networking sites almost every day. Devising a cohesive strategy for addressing both mobility and social medi...
In a surprise move on Tuesday, January 10, Oracle wheeled out its Big Data Appliance. That’s the one it said in October would be ready sometime in the first half. Only nobody believed it meant early in the first half. Heck, it’s not even clear anybody thought Oracle could make the fi...
A Munich court Thursday found Motorola Mobility guilty of infringing an Apple patent and handed Apple a permanent injunction against two Android smartphones. Apple can enforce the injunction after posting a bond lest MMI succeed in invalidating the slide-to-unlock patent (EP1964022) ...
Quick Response (QR) codes are intended to help direct users quickly and easily to information about products and services, but they are also starting to be used for social engineering exploits. This article looks at the emergence of QR scan scams and the rising concern for users today....
The Chinese company that claims it owns the iPad trademark says it plans to seek a ban on iPad exports out of China, threatening global supplies. According to what a lawyer for Proview Technology (Shenzhen) Co Ltd told Reuters, the firm is petitioning Chinese customs to stop shipment...
Cisco Wednesday filed suit in the European Union’s second-highest court, the General Court in Luxembourg, challenging the European Commission’s rubber stamp last October of Microsoft’s $8.5 billion acquisition of Skype. Cisco says it isn’t opposed to the merger, but figures the EC sh...
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
Click to Add our RSS Feeds to the Service of Your Choice:
Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
Publish Your Article! Please send it to editorial(at)sys-con.com!

Advertise on this site! Contact advertising(at)sys-con.com! 201 802-3021


SYS-CON Featured Whitepapers
ADS BY GOOGLE