Ready to be published? LXer is read by around 350,000 individuals each month, and is an excellent place for you to publish your ideas, thoughts, reviews, complaints, etc. Do you have something to say to the Linux community?
Comment of the Day - March 31, 2006 Virtualization
Posted by tadelste on Mar 31, 2006 6:08 AM · 3 comments Lxer - article; By Skapare
Our man in Wheeling writes: This will become popular. Pretty soon, we'll have dozens, maybe even hundreds, of virtualization packages to choose from. Now we'll just need to make sure the software we want to run supports the virtualization package we are using.
This will become popular. Pretty soon, we'll have dozens, maybe even hundreds, of virtualization packages to choose from. Now we'll just need to make sure the software we want to run supports the virtualization package we are using. D'oh!
Seriously, as long as the list of virtualization environments is reasonably small, this can be useful. I like Xen. And User Mode Linux is also good. But one major problem is that this can also use up a lot of space. That 500 GB disk is going to be used up before you know it.
Two major classes of compatibility issues exist. One is the hardware level. When OSes are done right, this should be fairly invisible, aside from the CPU instruction set architecture issues (e.g. are we on x86 or PPC or whatever). Let's talk x86 since it's the largest base of commodity machines. There are differences, but the OS should have that all abstracted to its API (hopefully a standard one). The other issue is the OS itself, counting different Linux distributions as separate OSes.
I went through a nightmare installing a major customer support application package once. I would describe it as dependency hell. It had dozens of picky version requirements for Perl modules and such. Eventually it was solved, but not without a huge set of changes to the system. If that machine were being used for other major applications, those might have been broken by the OS changes. That's where virtualization comes in. But it's not so much to make a uniform hardware environment as it is for making multiple ... different ... OS environments.
I've always recommended that each critical service at a business be run on a different machine. Sometimes you may be forced to do an emergency upgrade of software, such as to cure a security issue. That might involve OS changes (the new version of the software which hadn't been upgraded in months now requires new library versions, etc). By having each application on a different machine, at least you won't impact the other applications when these changes have to be made in a hurry. You don't want your web server to die because it doesn't play well with a new resolver library your mail server now requires in it's new secure version.
But separate machines for everything is costly. So in the end you either spend too much, or you end up combining applications anyway. With a virtualizer like Xen, you have as many machines as you have disk space to host. There's still more cost (more disk space, etc) over not separating, but less cost compared to full blown separation (you might need 4 to 8 machines just to properly separate all basic internet services and a database even in a 1-2 person business).
Now I just wish I had the space to put Xen on. My 4 home computers have 120GB, 120GB, 30GB, and 30GB repsectively, of disk space. And each is already jam packed full. And the BIOS on each won't support larger disks and the power supplies won't support more disks. So it looks like a new machine will eventually have to arrive.
I just dropped a 200GB IDE drive in a late 90's PIII 550MHz system a couple of weeks ago with absolutely no issues. Dropped a PAIR of 200 IDE's into an even older PIII 500MHz system to act as a file server in the office with no problems whatsoever.
If those machines won't support more than 120GB drives, they must be true proof as to the ability of linux to keep ancient hardware alive.
These machines need BIOS upgrade. With larger drives installed, they freeze up in BIOS before getting to a boot loader.
What I think will work is a SCSI, SATA, Firewire, or USB drive that I can configure the BIOS to ignore (or it will ignore because it doesn't know). When I get some cash, I may go with an eSATA card and eSATA drive and see how that works. I'd still need to boot from the internal IDE drive. But I could move all my non-system files out to the eSATA drive and have plenty of room on the IDE for many different systems (I might even try to see how many I can squeeze onto a 120 GB disk ... lotsa Linux distributions and BSD varieties and maybe even Solaris and ... oh not that one).
Have you tried installing 2 drives? Try using a drive small enough to suit the BIOS as the 1st drive, set the 2nd as "not installed" in the BIOS. Linux won't have any trouble using the 2nd drive. This work-around handles many old BIOSes.
Post a comment
A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.
Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help
If those machines won't support more than 120GB drives, they must be true proof as to the ability of linux to keep ancient hardware alive.