This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new Linux.com!

Linux.com

Feature: Case Study

LTSP saves old hardware in Brazilian doctor's office

By Flavio Henrique Araque Gurgel on November 05, 2007 (9:00:00 PM)

Share    Print    Comments   

Integrated Neurology Service SINEURO's office, located in São Paulo, Brazil, migrated from various versions of Windows (from 98 to XP) on a network of five computers with eight nonskilled computer users. I was the consultant in charge, and I spent no money on new hardware. Thank to the Linux Terminal Server Project (LTSP), hardware that's too old for new versions of Windows runs Linux applications just fine over a network from a server.

Before the move, the office had some problems with software licensing. Piracy is a common problem in Brazil, where pirated software can be found in big and small companies alike. Because Linux is free, it can provide an alternative to commonly pirated Windows software.

Before I made any recommendations, I performed a hardware and software inventory. The machines in the office ranged from a 486 to a Pentium III. Everything connected in a 10/100Mbps wired network, and the Pentium III acts as a communication server to share an ADSL connection to the Internet. In addition to the mixed Windows versions, some of the machines contained Microsoft Office 95 or 97, file utilities, and shareware, some of which included spyware. There was no antivirus software. All machines ran a proprietary scheduler and patients database called Tot-Win that users shared on the network.

The 486, Pentium II, and Pentium III machines were too old for new versions of Windows, but the office had no money for new computers. Fortunately, Linux is lighter than Windows, and free to boot. I started considering how LTSP could be used to boot the old hardware as graphical terminals and run applications from the server.

My first step was to test the Pentium III's performance. Was it possible to run Debian and KDE on it comfortably? I upgraded the memory to 768MB (the maximum I found in local stores) and installed Debian sarge, KDE, and OpenOffice.org. Using Wine, I was able to run the proprietary Tot-Win application with some adjustments. I also installed Secure Shell (SSH) to use for remote administration.

Next, I removed the hard drives from the clients and made a boot disk that booted them remotely from Dynamic Host Configuration Protocol (DHCP) on the Pentium III. With LTSP, when I had to adjust the client configurations, I could do it by making changes to only the server.

Problems arose on the first day of production: Opening OpenOffice.org was too slow, and even Konqueror, the file manager for KDE, was too slow for file activities. Debian had an old version of GNOME in its repositories, so I switched to the 6.06 Long Term Support (LTS) version of Ubuntu, which was current at the time and had a newer version of GNOME. Nautilus, the file manager for GNOME, is snappier than Konqueror, and Ubuntu's ooqstart-gnome package made OpenOffice.org run at an acceptable speed. Success at last!

I didn't even have to do any training. The users like Linux and don't want to go back.

After everything was working, I made subsequent adjustments remotely via SSH. My client made support requests by phone or instant messaging. I only had to go to the office when a computer had hardware problems.

Users still have occasional difficulties, but a lot less than when they were running Windows. I can easily teach them how to resolve their problems in the GNOME environment. If they need a new application, I can connect remotely via SSH and use the apt-get command.

The Brazilian government says that all software related to public services should have a Free license, but this is not the case yet. However, I could work around this problem by using Java and Wine.

After one year, I upgraded Ubuntu, because the client wanted to use the new features implemented in the latest version of OpenOffice.org. The GNOME in Ubuntu 7.04 Feisty Fawn is even snappier on the Pentium III.

Without purchasing any new computers, I was able to eliminate license fees and piracy complaints, employ remote administration through SSH, and make the users happy. Don't let anyone tell you that Linux isn't ready for the business desktop right now.

Share    Print    Comments   

Comments

on LTSP saves old hardware in Brazilian doctor's office

Note: Comments are owned by the poster. We are not responsible for their content.

What medical applications are running there?

Posted by: Anonymous [ip: 75.69.85.120] on November 05, 2007 11:05 PM
It will be interesting to list what medical applications they are running on this system. Most I know of are Windows apps, so what happened here, did you find some applications with LINUX that they liked and are running?

#

He told you the medical software is Tot-Win that he is using wine for.

Posted by: Anonymous [ip: 58.179.75.3] on November 06, 2007 01:14 AM
Yes its a local solution for there area.

So No windows lock if wine runs program.

#

Re: He told you the medical software is Tot-Win that he is using wine for.

Posted by: Flavio Henrique Araque Gurgel on November 07, 2007 10:05 PM
Exactly. The only medical software they had was Tot-Win that they have the license, so it was ok to run it in Wine.
In the other hand, we are trying to make more modern substitute, and should be a Web application in PHP. Tot-Win is not produced anymore and it's a closed source solution, no future for it in the office.
They will have to run some government software because in brazilian doctors are obligated to use a standard for health insurance companies comunications. Thanks god it's an open standard in XML format, easy to implement through open source applications.

#

LTSP saves old hardware in Brazilian doctor's office

Posted by: Anonymous [ip: 195.3.168.188] on November 06, 2007 06:42 AM
Good work!

#

Similar results

Posted by: Anonymous [ip: 212.81.23.189] on November 06, 2007 10:13 AM
Great! I've implemented something similar on Debian Sarge, the medical app runs in DOSEMU. The medical data reside on encrypted drive.

#

Lightweight Window Managers

Posted by: Anonymous [ip: 212.23.57.161] on November 06, 2007 02:31 PM
Great work on this project - I'm glad to hear your customers are happy!

Given the age of your hardware you would see even greater performance increases by using one of the more lightweight window managers, (rather than KDE or Gnome). There are several around including IceWM, Fluxbox, Openbox, and Xfce. Best of all, if you like Ubuntu you can easily get it bundled with xfce by using the Xubuntu distribution.

#

Re: Lightweight Window Managers

Posted by: Anonymous [ip: 10.145.130.11] on November 06, 2007 09:57 PM
I installed Xubuntu on a teacher's PC in my kids school. I was worried that Openoffice was going to be slow, but it actually runs pretty quick. As far as I can tell, it's bringing up applications faster than some of the systems with better hardware running Windows 2000.

#

Re: Lightweight Window Managers

Posted by: Anonymous [ip: 64.126.166.170] on November 07, 2007 04:28 PM
You might be surprised at how well "heavyweight" environments work in a thin client network -- even when the server itself isn't terribly powerful.


You are correct that lithe software loads and runs faster, but another factor is "load once, run many times." Four or five sessions of KDE or Gnome, and huge apps like Firefox or Open Office, load a lot of libraries once in that sort of environment...it isn't quite like adding the machine resource requirements of five separate thick client sessions and piling them all together on one overworked terminal server machine.


The thin client desktops of course "don't care," if they run as Xterminals. It's really no more work for an old 486 or first generation Pentium do provide a console to a remotely executed KDE session than it is to use Xfce.

#

Re: Lightweight Window Managers

Posted by: Flavio Henrique Araque Gurgel on November 07, 2007 10:01 PM
Yes, we tryied some other lightweight window managers, but none of them were accepted by the users. They didn't like the way they respond to user interaction the way they like it. Gnome and KDE were very well received, KDE specially because of it's Redmond like behaviour, but Gnome was ok and easy for them.
As someone said, after loading all libraries once, the weight of Gnome was about the same footprint for one or four users, with less them a few megabytes increse per connection.

#

Ltsp/SuccessStories

Posted by: Michael Shigorin on November 06, 2007 07:50 PM
Please add the story <a href="http://www.ltsp.org/twiki/bin/view/Ltsp/SuccessStories">here</a> ;-)

#

Re: Ltsp/SuccessStories

Posted by: Flavio Henrique Araque Gurgel on November 07, 2007 10:07 PM
Thanks for remembering me, I will post there ASAP.
I'm a LTSP fan and should be implementing more and more systems in the future.

#

LTSP saves old hardware in Brazilian doctor's office

Posted by: Anonymous [ip: 60.54.103.231] on November 07, 2007 03:17 PM
First, congratulates on a successful project. There's no question about it. 2nd, I do have a question about your word "but the office had no money for new computers." may I ask is it more like "the owner is NOT willing to spend money on computer"? You explanation is not clear since you also mentioned pirated software is common scene in Brazil, implying a doctor who earns his wealth but refused to pay his share. Judging from your own description of crapware and spyware on his medical patient database computers, I am not sure what to make of it, and basically you are in to clean up his act. Another point, since you have users still using 486, my impression is that any entry-level machine today will do the job just fine. Based on my understanding, entry-level machine is really inexpensive these day, do you have an suggestion why the doctor is not buying a replacement? Perhaps as the new LTSP server, instead of the P3. I would think with the new entry-level machine, you can also prepare proper job scheduling, backup plan, recovery procedure, what not???

#

Re: LTSP saves old hardware in Brazilian doctor's office

Posted by: Flavio Henrique Araque Gurgel on November 07, 2007 10:25 PM
Thanks for the compliments! Computers in Brazil are not so cheap. They are a society of owners and they asked me about the possibility to use Linux, so, they didn't need to invest a lot of money to renew 5 computers, buy 5 Office Licenses, 5 Anti-virus licenses, etc 5 licenses to be away of piracy. It would take about 6 months of the hole office profit to make it, it's not an easy thing. Users in the office are not so good people too and tend to destroy new devices they invest on. Keyboards, mices and cables are changed all the time because of the light hands they have. Another thing about old computers is related to recycling. It's good to see that working hardware don't need to polute the world, since they're useful! Yes, the LTSP server should be replaced in the near future, but it does its job for now, maybe with the new PHP system we should implement it will be replaced by a new multicore modern one. Oh yes, I forgot to say in the article. We HAVE a cron job for automatic backup of all data, every day, in a spare hard disk. Recovery procedure? It's a matter of buying a new HD, install Ubuntu and cp -a comand from the spare HD for user data and /etc directory, everything up in an hour or two, the mission is not critical. It's really incredible what a PIII can do with Linux, new hardware is really not necessary and everything works in a modern OS, and its OS is Linux that we all love a lot. Thing about this mission with new hardware and Windows? Costs, difficulties to administrate, virus, spyware, crapware, etc... I forgot to say in the article that they donated part of the money saved with this system to an Open Source initiative ;) In Brazil we can't save taxes for donating money to projects but they thinked it was worth the investment.

#

Re(1): LTSP saves old hardware in Brazilian doctor's office

Posted by: Anonymous [ip: 84.143.159.205] on November 09, 2007 06:43 PM
These are the stories I love to read! Good job!!

Just one thing about the backup you mentioned. If you're doing backup *only* to that spare disk, consider burning it to a CD or DVD every now and then, or to put the spare harddisk into a USB case. I've seen some cases of hardware failure where the whole machine would be struck (lightning or wrong power), or the disk controller going funny, with all connected harddisks affected. So I always found it good to have at least some kind of external backup!

Victor.

#

Re: LTSP saves old hardware in Brazilian doctor's office

Posted by: Anonymous [ip: 200.87.153.76] on November 10, 2007 12:06 AM
One thing to keep in mind is that new computers in Brazil are a more expensive, and much more expensive when taking into account what the average person earns. In the US labor is expensive and hardware is expensive, but it Brazil it is the reverse, so it makes sense to pay someone to extend the life of your hardware. Also, buying new hardware is an environmental disaster. It takes 6400 Megajoules of energy to fabricate a new computer and 17" monitor, but only 500 megajoules to run an old computer for a year. In other words, it is much more environmental to keep running that old computer. For more information on the environmental impacts see my article on reforming the computer industry:
http://www.ciber-runa.net/guide/BetterUpgrade--ActivistGuide.html
--cheers, Amos Batto

#

Re(1): LTSP saves old hardware in Brazilian doctor's office

Posted by: Anonymous [ip: 71.74.240.98] on February 21, 2008 04:22 PM
This reference is no longer valid.

#

LTSP saves old hardware in Brazilian doctor's office

Posted by: Anonymous [ip: 127.0.0.1] on November 11, 2007 07:35 PM
Hi,
I was very glad to find your case study! Some details were not clear enough, but the description of the whole situation was compact and very enjoyable! BTW I'm on SUSE 9.1 Pro and there is a package for "OpenOffice_org-Quickstarter", which corresponds in fact to your ooqstart-gnome, but for KDE. Maybe there is such package available for your distro of choice as well...
Congrats & regards,
Pelibali

#

Dugg - LTSP saves old hardware in Brazilian doctor's office

Posted by: Anonymous [ip: 193.113.57.163] on December 12, 2007 03:35 PM

LTSP saves old hardware in Brazilian doctor's office

Posted by: Anonymous [ip: 89.243.72.29] on January 14, 2008 11:30 PM
Well done!
It's great to hear about how much you can improve things just by ditching Windows, and moving to LTSP and FOSS.

#

This story has been archived. Comments can no longer be posted.



 
Tableless layout Validate XHTML 1.0 Strict Validate CSS Powered by Xaraya