Slashdot Mirror


Linux VMs For Everyone

Over at Newsforge, Grant Gross has written an interesting overview of the options available for hosting multiple Linux installations on virtual machines; interestingly, it's not just for those with the big bucks for high-end IBM hardware, though that's surely nice.

132 comments

  1. For privacy . . . by acceleriter · · Score: 5, Insightful
    . . . even if you aren't running multiple virtual machines simulateously, applications like VMware (and possibly Bochs) are useful for creating read only, throwaway environments for when you do anything on the net you might not want your boss or someone who shares your computer to be aware of.

    In particular, VMware's "undoable disks" are great in this regard.

    --

    CEE5210S The signal SIGHUP was received.

    1. Re:For privacy . . . by Gojira+Shipi-Taro · · Score: 0

      Hmm... interesting. We use it extensively for testing where I work. I hadn't thought about the throwaway aspect in those terms.

      I must be getting old. My first reaction to new technology was "coooool! how can we mis-use it?"

      --
      "Oh my God. This is terrible. This is the end of my Presidency. I'm fucked."; ~ Donald J. Trump
    2. Re:For privacy . . . by SkewlD00d · · Score: 3, Interesting

      It's also good for doing things such as running malicious programs in a controlled environment and as an alternative to ICEs.

      --
      The biggest trick the devil pulled was letting lawyers become politicians so they can write the laws.
    3. Re:For privacy . . . by posmon · · Score: 1

      i believe that if you hold down alt+f4 you can activate the 'infinite modpoints' cheat.

      --

      update comments set karma=-1, reason='offtopic' where sid=26315

  2. First migrate the accounting apps by imrdkl · · Score: 1

    Then install linux, no need to buy a new machine.

  3. not new, but useful by Bandito · · Score: 2, Interesting

    it's not just for those with the big bucks for high-end IBM hardware

    This isn't really new. Slashdot had an article about it a month or two ago. Unfortunately the link escapes me.

    After seeing that article, I presented it at work. We now use it to keep the logging facility and services separate from each other, so a break in to one service doesn't compromise the others or the logs.

    It works pretty slick.

    1. Re:not new, but useful by autocracy · · Score: 2

      UML, or User Mode Linux. Confusing at first, but really great. Found on google...

      --
      SIG: HUP
  4. Re:RedHat by Anonymous Coward · · Score: 0

    Having never used ResHat I am positive it also most assuradly sucks too!

  5. One Windows OS on one machine?! by Glorat · · Score: 3, Funny

    Cool! Not only are you allowed to run Linux on your computer for FREE but you are allowed to run 1000 copies of Linux on your computer for FREE!!

    Now, 1000 copies of Windows on a machine would cost... $100,000? Nehehe. Linux rocks =P

    1. Re:One Windows OS on one machine?! by Gojira+Shipi-Taro · · Score: 0

      Consider this.

      10 virtual machines running windows hosting 10 virtual machines running Linux all on a single host box with dual Athalons.

      The 100 virtual linux boxen are all running a Dreamcast Emulator running MAME emulating Donkey Kong.

      I'm quite certain a quantum singualrity would result. that or one of those "gravistars" from the other story earlier today.

      --
      "Oh my God. This is terrible. This is the end of my Presidency. I'm fucked."; ~ Donald J. Trump
    2. Re:One Windows OS on one machine?! by Pitawg · · Score: 1

      ITS A TRICK!!! load one windows os on the machine, and it opens up holes!

    3. Re:One Windows OS on one machine?! by anthony_dipierro · · Score: 1

      Now, 1000 copies of Windows on a machine would cost...

      Exactly the same as 1 "copy" of Windows, if you run them all from the same physical code. Shrinkwrap licenses are not enforcible.

    4. Re:One Windows OS on one machine?! by Glorat · · Score: 1

      On this serious note, it would have to be from different code as that is the way the virtual machine works. Elements such as DLL's and registry are part of the OS and vary from VM to VM and hence require separate installations.

      Now as to the EULA, I guess noone at Microsoft have considered multiple Windows installations on a machine. Like any normal person, I haven't read the MS EULA either =P

    5. Re:One Windows OS on one machine?! by anthony_dipierro · · Score: 1

      I've used VMWare before. You can create a single ISO and mount it as a read-only volume on every VM.

    6. Re:One Windows OS on one machine?! by jamesconf · · Score: 1

      I am one of them wired people that has read the EULA at least for Windows ME. Thay did think about this. I forgot the wording but in readable terms. You have to have a licences for each running copy windows. even if it is on one computer

      I love the alphanumeric password slashdot give me.

    7. Re:One Windows OS on one machine?! by Glorat · · Score: 1

      As I said, you can't mount a Windows OS volume read-only as you would need write access to the registry etc.

    8. Re:One Windows OS on one machine?! by posmon · · Score: 1

      well, at the very least one of those goddamn monkeys would finally come up with the complete works of shakespeare.

      --

      update comments set karma=-1, reason='offtopic' where sid=26315

    9. Re:One Windows OS on one machine?! by Thatman311 · · Score: 1

      Wrong. WindowsPE will run off a bootable cd-rom drive and you don't have any places writable except for RAM. WindowsPE is a special version of WindowsXP that manufactors are starting to use in their factories instead of DOS.

      --
      Silly Rabbit...Sig's are for kids.
  6. Re:Imagine by Shiny+Metal+S. · · Score: 2, Interesting

    What are the price/performance ratios for virtual machines? Is it cheaper to run 10 VM's on one 10 times faster machine than just 10 slower machines? Because the VM idea is exactly the opposite of Beowulf cluster, and it doesn't look very cost-effective.

    --

    ~shiny
    WILL HACK FOR $$$

  7. Windows License? by russianspy · · Score: 2, Insightful

    I can't remember my windows days all that well, but doesn't the Microsoft Windows license apply to a single computer??? Wouldn't that mean you can run as many copies of windows, as long as they are on the same computer, as you want?
    Who knows? Maybe Micro$$oft did shoot themselves in a foot?

    1. Re:Windows License? by RLiegh · · Score: 1

      I don't remember the EULA that well; but I believe most licenses (in particular; Sun's) define "machine" by "cpu" (prolly among other standards). So, since you're running one copy in multiple "machines" (albeit virtual); you would be in deep doggy-doo should the Legal Team find out.

    2. Re:Windows License? by Dr_Marvin_Monroe · · Score: 4, Funny

      Consider the possibilities.....

      Multiple BSOD's running at the same time!

      Here are some points to be considered.....

      When I say "OK" and reboot, does this start another instance of Windows, or just jump me to the other blue screen?

      Could one BSOD cause a another BSOD?

      What exactly would the effect of a "Virtual BSOD" be?

      Inquiring minds want to know......

    3. Re:Windows License? by Anonymous Coward · · Score: 0

      It's still only using one CPU as detected by VMWare.

    4. Re:Windows License? by Radical+Rad · · Score: 1

      Nope. Read one of those licenses again. It's lawyers started thinking about this possibility long ago.

    5. Re:Windows License? by Anonymous Coward · · Score: 0
      I don't really see this is as much of a shot in the foot. I think few people would actually try to leverage this. However, this should not stop us from thinking of a way. :)

      Install multiple instances of Win on a high performance computer. Each instance runs its own VNC server. Everyone who wants to "run Windows" gets a simple free OS workstation with a VNC client. They then logon to their very own instance of Win.

      If you wanted to get really spiffy you could write some software to spawn and kill the proper Windows instances as users come and go. This might help mediate resource issues. Though, in an office environment most people will be on at the same time.

    6. Re:Windows License? by Anonymous Coward · · Score: 0

      Just an idea...
      What if you were to purchace a license for one machine, and on that machine set up VNC and run vmware inside VNC?

    7. Re:Windows License? by russianspy · · Score: 3, Interesting

      Allright. I'm replying to my own message... Hmmm....

      Here are some quotes from Windows XP EULA

      * Installation and use. You may install, use, access, display and run one copy of the Product on a single computer, such as a workstation, terminal or other device ("Workstation Computer"). The Product may not be used by more than two (2) processors at any one time on any single Workstation Computer.

      I am trying to figure out what that means in this case. You can install, use, access, etc one copy of this product on a single computer... Assuming you could set up the VM's to READ from the same install of the software, but WRITE to different dirs - that part should be allright (hey! I'm not saying it would be EASY, but it's doable - Unix does something similar when forking). The other sentence would limit the user to two versions running at the same time (I assume as many as you'd like could be LOADED in memory - ready to be used). I don't know of many hardware that could run multiple copies of windowsXP at the same time (well.. just one - I think it's running Unix though), but with the advances in servers/computers a large company could reduce the windows licensing costs by half!

    8. Re:Windows License? by anthony_dipierro · · Score: 1

      Here are some quotes from Windows XP EULA

      Here is my signature on the Windows XP EULA... Oh, that's right, I never signed it. For that reason, and the reason that the contract lacks consideration (they don't give me any right that I don't already have), it is not an enforcible contract.

    9. Re:Windows License? by Anonymous Coward · · Score: 0
      Notwithstanding the provisions of section 106, it is not an infringement for the owner of a copy of a computer program to make or authorize the making of another copy or adaptation of that computer program provided:

      (1) that such a new copy or adaptation is created as an essential step in the utilization of the computer program in conjunction with a machine and that it is used in no other manner, or
    10. Re:Windows License? by posmon · · Score: 1

      we've had that for years. it's called terminal services.

      --

      update comments set karma=-1, reason='offtopic' where sid=26315

  8. Hyperthreading and Microsoft by Kryptonomic · · Score: 1
    An interesting question.

    Microsoft and Intel have been squabbling over this very issue recently.

    1. Re:Hyperthreading and Microsoft by Wesley+Felter · · Score: 2

      The Inquirer's take on this doesn't make any sense to me. Won't MS love HyperThreading because it will force people to buy 4-CPU licenses for 2-CPU machines? Or maybe customers will avoid the issue by disabling HyperThreading in the BIOS. Or maybe MS will release a patch for Windows that recognizes the difference between physical and logical CPUs. It doesn't seem like a huge problem.

  9. Re:Imagine by Webmonger · · Score: 5, Interesting

    The reason there's a value to virtual machines is because you can't buy half a computer [from reputable vendors!]. If you have four jobs that only require 1/4 of the resources of a modern PC, but they all need different security contexts, you must a) buy four servers or b) buy one server and run 4 virtual machines.

    There's probably even some value in a beowulf cluster of virtual machines-- if you want to write and test cluster-based software when you don't have access to a cluster.

  10. Re:Did anybody notice... by RLiegh · · Score: 0, Redundant
    I believe it's in the same spirit as some fortunes which put out fortunes such as:
    **** IMPORTANT **** ALL USERS PLEASE NOTE **** Due to a recent systems overload error your recent disk files have been erased. Therefore, in accordance with the UNIX Basic Manual, University of Washington Geophysics Manual, and Bylaw 9(c), Section XII of the Revised Federal Communications Act, you are being granted Temporary Disk Space, valid for three months from this date, subject to the restrictions set forth in Appendix II of the Federal Communications Handbook (18th edition) as well as the references mentioned herein. You may apply for more disk space at any time. Disk usage in or above the eighth percentile will secure the removal of all restrictions and you will immediately receive your permanent disk space. Disk usage in the sixth or seventh percentile will not effect the validity of your temporary disk space, though its expiration date may be extended for a period of up to three months. A score in the fifth percentile or below will result in the withdrawal of your Temporary Disk space.
    Of course, I could be wrong, and their system is hosed.
  11. Re:Help, help, I'm being repressed! by RLiegh · · Score: 0, Offtopic

    I'm a big believer in freedom of speach myself; but it's pretty apparent that between the page-lenthening posts, goatse.cx links and truly sick ASCII art that perhaps some draconian measure might be appropriate. Freedom isn't everything; but boosting the signal-to-noise ratio is.

  12. Re:Imagine by Gojira+Shipi-Taro · · Score: 0

    Strangely enough...

    I do test cluster based software... I might have just made the only reference to a running /. joke that has some root in valid practice.

    --
    "Oh my God. This is terrible. This is the end of my Presidency. I'm fucked."; ~ Donald J. Trump
  13. Linux VM Systems by SkewlD00d · · Score: 2, Interesting

    e-genera has some neat dynamically reconfigurable computers that amount to a single-rack, virtualized server farm that can run a customized version of SMPed Linux or Win2k/XP.

    --
    The biggest trick the devil pulled was letting lawyers become politicians so they can write the laws.
  14. Another excuse to buy a used IBM/370 by k98sven · · Score: 0


    Can anyone spare a few kilowatts?

    1. Re:Another excuse to buy a used IBM/370 by Anonymous Coward · · Score: 0

      Not to mention how cool they look..
      Compare: IBM's vision to Actual users

    2. Re:Another excuse to buy a used IBM/370 by willum448 · · Score: 1

      Press the button on the back of you computer, and i'll fax you a wad.

  15. Virtual Marketplace(s) by Anonymous Coward · · Score: 0

    Sometimes, I think I need another instance of the OS running when I'm working on 3-4 desktops, with maybe 40-50 apps running concurrently. But then, I think, maybe I'm just working too hard.

    Anyhow, We're here, & here, & here, for you, with more coming every day, if you need IT, or just somewhere to hang your hack. Talk about virtual instances/multiplication?, we're like rabbits. Almost everything's GNU now. Don't forget to look here for some really good stuff.

  16. Linux VM RULE!, Tyr it if you havent youll LOVE it by CDWert · · Score: 5, Interesting

    If youre hosting, you cant beat this solution

    Folks over at Solucorp

    Have made kernel patch and utilites to make this almost painless, as well as some precompiled kernels, (I would laways roll my own but ..)

    This as I said kicks for hosting, its not just a chroot, and its not like the jail on BSD, its....well different.

    This isnt somethign youre going to do on your desktop machine , its going to allow you to span resources, this is COMPLETLEY different from VMWare etc, for all the yahoos that are gonna say this has been around forveer.

    After SEVERLY abusing our test server to hell an back starting 2-1 we are going to be offering hosting in this enviroment , we have clients that want their own playground but dont want the maintenece, some have semi-secure data theyre just no comfortable on a shared solution and cant quite justify a dedicated box, were already slated for 10 clients and with their current traffic and traffic times, they will all play very nicley on the same machine

    P.S. LOAD up on the ram , and make sure to use SCSI , Low ram and Ide will work but start to bog under load, remeber you have 10 different Linux installations trying to access the disk at once.....

    --
    Sig went tro...aahemmm.....fishing........
  17. Re:Imagine by sporty · · Score: 2

    It depends. One key thing multi-user systems have which is great is, of course, task switching. Multiple process control. I'm sure that of 10 copies of word running at the same time would run well on a machine that's 10 times powerful than the base, but that's if all 10 copies were maxing out their resources continuously.

    Also, If there can be a way of 1 copy in memory of the program/OS itself and multiple copies can be run at the same time without taking up more memory, that would be great too. Sort of like the kernel, it only loads once but services multiple processes. A program that can service multiple users without creating multiple copies.

    All in all, maybe 20VM's on a machine 10 times faster might be enough as it doesn't need to scale liniarly unless the machines are completely maxed out. And if the kernel could be loaded in memory once and act as multiple OS's, that'd kick butt too. Sorta like FreeBSD's jail. (Is fbsd the only one to have jail now?)

    --

    -
    ping -f 255.255.255.255 # if only

  18. The ad by Anonymous Coward · · Score: 1, Interesting

    Remeber the ad for this? It was hilious

    A panicking manager type leads police detectives into what appears to be an empty server room. "It's the crime of the century!" the balding, middle-aged, middle manger exclaims over cheesy adventure-movie background music. "Everything's gone!"

    "What was stolen?" asks one of the cops.
    "Everything," the pointy-haired boss answers, "payroll, R&D, customer records ..."

    Of course, our hero, a scruffy-looking geek boy, saves the day. He points to a mainframe in the back of the room, and says, "We moved everything onto that one. It's going to save us a bundle. I sent out an email ... "

  19. IO throughput by Anonymous Coward · · Score: 2, Interesting

    But how do you assure decent IO in a virtualized machine? I'd imagine it would be pretty poor with the disk head skipping all over the place. I'm also curious if the processor cache would hold up well.

    The holy grail seems to me to be cheap processors and disks hooked up via infiniband.

    1. Re:IO throughput by Anonymous Coward · · Score: 0

      It's no problem. IBM uses their tried and true DASD, and lots of them.

      Now, for the Intel platform, you'll need to go with a SAN.

      Of course all this high end hardware renders any savings by VMs null and void. That is unless you're serving 25,000 users like the article stated.

      Now for http://slashdot.org this might be the case. But for most shops, they don't have nearly this many users. The big companies that do have 25,000+ users run z90's.

    2. Re:IO throughput by simm_s · · Score: 1

      I assume that the multiple VMs do not map directly to the hardware it runs on.

      The user mode software is probably directly mapped and context switched in/out just like any other multitasking OS. The kernel mode drivers may just be gateways communicating with the host VM manager.

      The OS on the VM uses virtual generic interfaces for the harddisks, networks, ttys, etc. Those generic interfaces talk to the VM manager to be mapped to the actual hardware. The I/O calls that are pending are probably optimized by the VM manager.

      I assume this is how it is done. I could be wrong.

    3. Re:IO throughput by Corrado · · Score: 2

      What about network IO? How do you get decent throughput numbers on your VMs when everyone is trying to stuff IP down one wire? Even Gigabit Ethernet would crumplt under 500 slashdot type sites. Even if you get it out of the machine, do you have problems getting it out onto the Internet?

      What about failures? What happens when the HD/case fan/power supply/memory fails? Ok, ok, I guess this is heavy duty IBM mainframe stuff so it probably has lots of redundency built-in.

      Isn't there some reasons to have servers located across the (US|world)?

      --
      KangarooBox - We make IT simple!
  20. One big crash by XBL · · Score: 3, Interesting

    The article talks about how hundreds, even thousands of OSes can run on one machine. Well, what if the underlying VM architecture, or even the hardware itself crashes?

    Now you have hundreds, even thousands of customers mad at you... and all their stuff is on just one machine. Yikes!

    1. Re:One big crash by Webmonger · · Score: 4, Informative

      The theoretical customer downtime doesn't change.

      First, the non-VM scenario: let's say in a given period, there's a 1:3 chance that a box will go down, and you have 1 customer upset. If you have three customers, the odds are 1:1 that one of the machines will go down. Over three periods, three customers will experience downtime.

      Okay, VM now: There's still a 1:3 chance that a box will go down, but if you have 3 customers, three customers will be upset if it happens. Over three periods, the odds of the machine going down are 1:1, so over three periods, three customers will experience downtime.

      It reduces the odds and raises the stakes in equal proportion. Of course, dealing with three upset customers may be more than 3x as difficult as dealing with 1 upset customer 3 times.

      This achitecture has huge advantages when it comes to making backups, since the host OS can access and back up all the partitions in one swell foop. And with the cost savings, you could afford to get a second, identically-configured box. So there are plus sides, too. I guess VM giveth and VM taketh away. . .

    2. Re:One big crash by DrSkwid · · Score: 1

      to tag onto the other guy

      (and work with me on this :)

      say the MTBF for your HD is 5 years

      5 machines

      the HD in one of those machines will fail every year (eventually)

      So one machine ends up being more reliable than multiple.

      Plus you can invest in redundancy instead of multiplicity.

      Mirror the machine & disks and you're getting on the way to bullet proof

      (until the cleaner plugs in the hoover)

      I've been on Commerical hosting machines where one can browse the files of the other users usefully chmoded 644

      esp. fun for sniffing db passwords in data driven websites

      --
      There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
    3. Re:One big crash by Ian+Bicking · · Score: 2
      Okay, a little math here. If in one period there's a 33% chance of downtime, over three periods there's a 70% chance of downtime. That's because there's a 67% chance of no downtime in a period, and to combine those chances over the three periods you multiply: .67*.67*.67 = .30, i.e., a 30% chance of no downtime, or a 70% chance of downtime.

  21. Re:RedHat by Anonymous Coward · · Score: 0

    Thanks, 'dawg.

  22. Ohh and osdn owns newsforge by Anonymous Coward · · Score: 0

    just for da sake of journalism

  23. user-mode linux by KLHI · · Score: 1

    isn't this just user-mode linux?

    1. Re:user-mode linux by Anonymous Coward · · Score: 0

      No it is not. It is much faster, more flexible and much more isolated ....

    2. Re:user-mode linux by KLHI · · Score: 1

      those would be major differences

  24. SemiOT: Self-Virtualization? by sconeu · · Score: 3, Interesting

    Did Intel fix the x86 self-virtualization problem with the Pentium and laters? I know that the '386 and '486 couldn't fully virtualize themselves, because it was possible for non-supervisor code to look at certain flags.

    A 680x0 (x >= 1) could fully virtualize itself, because the condition codes could be accessed separately from the status register (MOV.B D0, CCR as opposed to MOV.W, D0, SR).

    Just curious. Oh, and I think the article got it wrong. They said VM has been around for 20+ years, I believe it's closer to 30+. Any old JCL'ers out there?

    --
    General Relativity: Space-time tells matter where to go; Matter tells space-time what shape to be.
    1. Re:SemiOT: Self-Virtualization? by Wesley+Felter · · Score: 3, Interesting

      I don't think Intel has solved the problem; that's why VMware is so expensive.

    2. Re:SemiOT: Self-Virtualization? by pytheron · · Score: 1

      I don't know much about the definition of a virtual machine, but given the example you gave of the MC68K series instruction set, I am wondering:

      The first instruction you illustrate is the MOVE from CCR (condition code register), the syntax being MOVE CCR, Size=(Word). The description of this command is "The content of the status register is moved to the destination location. The source operand is a word, but only the low order byte contains the condition codes. The upper byte is all zeros. Condition codes are not affected
      This is a priviledged 68010+ instruction

      The equivalent for the 68K is MOVE from SR, Size=(Word), Condition codes not affected.

      As far as I can see, the fact that you access the CCR or the SR for the condition codes do not affect the condition codes nor the state that the processor is in (supervisor or normal).

      --
      "I am not bound to please thee with my answers" [William Shakespeare]
    3. Re:SemiOT: Self-Virtualization? by CmdrTuco · · Score: 0

      IBM VM (VM/370, then known as VM/SP, now known as VM/ESA) has been around since 1967.

      BTW it is OS/360 (MVS, now OS/390) is the OS that uses JCL, not VM.

    4. Re:SemiOT: Self-Virtualization? by sconeu · · Score: 1

      It's been a while since I've done 68030 ASM, but I'm pretty sure CCR access was a MOV.B, not priviliged, and SR access was MOV.W, priviliged.

      --
      General Relativity: Space-time tells matter where to go; Matter tells space-time what shape to be.
    5. Re:SemiOT: Self-Virtualization? by SVDave · · Score: 4, Informative

      As far as I can see, the fact that you access the CCR or the SR for the condition codes do not affect the condition codes nor the state that the processor is in (supervisor or normal).

      Writing was never a problem. Reading the condition codes was the problem.

      In order to support virtualization, one must be able to trick a program that is running in user mode into thinking that it is running in supervisor mode. For example, a virtualized Linux kernel needs to run in user mode (so that, for example, you can trap any attempts it makes to change the MMU registers; you don't want it to change the _real_ MMU registers, just what it _thinks_ are the real MMU registers). On an M68000, this was not possible, because the opcode used to read the condition codes ("MOVE SR,<ea>") was a user-level opcode. Thus a program could always determine its true run level.

      On the MC68010 and later, "MOVE SR,<ea>" was made supervisor-only. So what does this mean? On a non-virtualized OS, if supervisor-level code does a "MOVE SR,<ea>", it returns the true result. On a virtualized OS, the virtual OS is running in user mode, so the "MOVE SR,<ea>" traps. The virtual machine underneath gets the condition codes, sets the "Supervisor" bit to 1, stores it in the specified destination (the "effective address"), and returns from the trap. To the virtual OS, it looks like the "MOVE SR,<ea>" executed as expected.
    6. Re:SemiOT: Self-Virtualization? by wagadog · · Score: 1

      First used VM (yes, with JCL--you use the blue cards for that) in 1976-77. So it's at least 25 years old. VM/CMS...on a TTY...what an improvement over submitting card decks.

    7. Re:SemiOT: Self-Virtualization? by User18706 · · Score: 1

      Oh my God! I used the yellow cards! Since when does the color of the card have an effect on the holes punched in it? btw...i first used JCL on an IBM 370/125 running DOS in the 70s, and i'm still coding JCL on an OS/390 box.

  25. Virtual Marketplace == Virtual Money by Anonymous Coward · · Score: 0

    Somebody set us up the dot bomb.

  26. Yea but.... by Anonymous Coward · · Score: 0

    That could never happen. We use only the best programmers to write the VMs and then test them thoroughly for two, maybe three minutes, sometimes. Talk about bullet proof.

  27. whiners by Anonymous Coward · · Score: 0

    Not a bad start, you can expect a lot of useless (as in not helpful) criticism from some 'special people'. Good luck to you.

  28. Re:Imagine by anthony_dipierro · · Score: 1

    Is it cheaper to run 10 VM's on one 10 times faster machine than just 10 slower machines?

    Depends how much you pay for rack space.

  29. Re:Imagine by zcat_NZ · · Score: 2, Interesting
    Exactly it. A single large machine capable of running 20 linux images is cheaper to buy -and- run (power, admin, etc) than 20 identical Intel boxes. And it's the whole 'better use of resources' taken to the next level; at any one time most of your servers are under minimal load so you can give the CPU time and disk access to servers that need it.

    We went to an IBM presentation on this 6mo ago, which was aimed at marketing types but still pretty interesting. It only takes minutes to image a new server and put it online. I'm guessing that if you ever needed to reboot one it would take seconds.

    --
    455fe10422ca29c4933f95052b792ab2
  30. Not for everyone, but cheaper than a zSeries ... by DigitalDreg · · Score: 1

    iSeries. (Formerly known as the AS/400).

    Up to 31 Linux partitions using the 32 or 64 bit PowerPC kernel, concurrently. Run it on anything from a $20000 model 270 up to the biggest 24 processor machine IBM sells. Available from SuSE, TurboLinux, and RedHat.

  31. Commercial availability by apilosov · · Score: 1, Offtopic

    I plan to provide "Virtual colocation" based on
    UML and (alternatively for people who don't want Linux) VMware for 30$/mo in February.

    Physical hardware will be dual 1.6Ghz Athlon MP.

    If you are interested in being a beta customer, please contact me.

    -alex

  32. Re:Imagine by Gojira+Shipi-Taro · · Score: 0

    Now HOW was this moded as redundant, did the moderator not read the rest of the thread?

    --
    "Oh my God. This is terrible. This is the end of my Presidency. I'm fucked."; ~ Donald J. Trump
  33. Re:One Windows OS on one machine?! - Perzackly! by Anonymous Coward · · Score: 0

    I just attended a VMware training session at work (a place very fond of "VM" since they invented it about 35 years ago ;-), and it was made very clear that we must have a valid Windows license for every guest vm running M$ Windows of any sort.

    --

    A former VM "sysprog"

  34. jail()? by Dwonis · · Score: 2

    Can someone explain the practical difference between this and *BSD's jail() environment? On a side note, why *doesn't* Linux support jail()?

    1. Re:jail()? by Anonymous Coward · · Score: 1, Informative

      quite a lot really. This is a seperate OS entirely which you can give the user root access too. Even if they decide to rm -rf / all that will happen is their own virtual machine will wipe itself...the box will stay up and so will all the other vm's. I'm still undecided as to whether its useful or just a gimmick to have a box setup with 100+ VM's on it. Running windows in a vmware on my slackware desktop to test webpages is useful but 1000 linux servers on one boxen.....I'm not so sure.

    2. Re:jail()? by Dwonis · · Score: 4, Informative
      you can give the user root access too. Even if they decide to rm -rf / all that will happen is their own virtual machine will wipe itself...the box will stay up and so will all the other vm's.

      I was under the impression that jail(2) did that, too.

    3. Re:jail()? by Webmonger · · Score: 2

      One of the main things is that root is just as effective as it normally is. The root user has total control of its kernel. Including the IP stack. On the flip size, the hosting OS determines how many resources are allocated to each kernel, so if a process goes wild in a kernel, it won't affect processes in other kernels. And you can't use jail() for testing out new kernels.

  35. Tux Discovers Mainframe Computing by wagadog · · Score: 1

    The first time I knowingly and deliberately used VM was at NCAR, on the front-end machines to the Cray-1 in 1983.

    Each user had a VM, with a specific amount of disk, CPU, and memory allocated. Your copy and even choice of operating system -- MVS, CMS -- ran on that virtual machine. So, like they say, it's been around 20 years or more. I say "knowingly and deliberately" because from 76-82, I'd used VM/CMS on our university's IBM 360, which also used VM -- but student users were barred from actually interacting with VM, so it was just there, use it. (CMS stands for "Conversation Monitoring System" -- scary!)

    Back then, when I had a choice (i.e. had an application that didn't require the Cray!), I preferred the far less structured environment of our 4.2 BSD Vax 11/750.

    For a mainframe, multiuser or server environment where you need control over everything, and records of everything -- VM the ticket. For your desktop, it's a bit much, really. To turn your desktop into a server, hmmm. Not a bad idea to run VM on it, and run various services in their own virtual machines. A bit more secure than a chroot, since even a buffer overflow bug wouldn't be able to get at the other processes -- they're running in a completely different address space and controlled by, well, a different operating system --or at least an entirely different instance of the same operating system configured differently.

    But VM itself is hardly news. Plus ca change, plus ca change pas.

  36. Re:Linux VM RULE!, Tyr it if you havent youll LOVE by jelle · · Score: 1

    Where can we get that hosting? How much does it cost? What is included (IP, bandwidth, etc)?

    --
    --- Hindsight is 20/20, but walking backwards is not the answer.
  37. "... I sent out an email ... " by Skapare · · Score: 3, Funny
    "We moved everything onto that one. It's going to save us a bundle. I sent out an email ... "

    Apparently the email didn't get delivered.

    --
    now we need to go OSS in diesel cars
  38. More notes (differences between VM and nonVM) by apilosov · · Score: 2

    The article a little bit skimps on details, bunching VMware and other things in same category.

    VMware, plex86 and bochs are in one category: Real virtualization solutions, allowing you to run any operating system. The level of security these tools provide is very high (guest OS shares nothing with host OS. All access is controlled by virtualization software).

    Vmware works (surprisingly) pretty damn good, I haven't had an issue with it behaving any differently from a real OS running on same hardware. Of course, its a commercial solution with associated problems (no source, can't embed, pricey, etc). Its very fast, and reasonable on resources.

    Plex86 is same idea as vmware, only Free.
    Right now, though, plex86 is in state of disrepair, because lead developer has been laid off from Mandrake, and codebase is in flux. You'll have much more luck with Jan-1-2001 snapshots if you want to actually boot up any OS. Don't know how fast it is, never got it to boot up enough to run tests stably. ;)

    Bochs is even lower-level approach to virtualization: it can emulate x86 on any processor. Of course, its dog slow and eats lots of memory (Expect 100x hit on performance).

    Other solutions (swsoft, ensim, linux virtual server(LVS)) are a lot closer to jail() system call of FreeBSD. With these, you are running one kernel for all "environments". Security is provided by other means ("root" in the jail has a lot of restrictions on it, such as use of IP addresses, etc).

    With many of these solutions, you will run in certain incompatibility problems (root not able to things which it should be able to do, but restricted in jail). Transparency is an issue: for example, even though you don't see other jail's processes, there's still a single PID space, and you can tell which PIDs are running by forking 60000 times and recording which PIDS you get and which ones you don't. Also, user doesn't have full control over its environment, for ex, you can't have your own inittab, etc.

    However, these solutions don't have any overhead, very resource-nonintensive (you can run 50 jails on one host with almost no performance impact).

    Level of security these solutions provide is very questionable: if there's a jail check missing _anywhere_ in kernel where root access is verified, it will lead to a host compromise.

    Note: Of the above mentioned solutions, I only worked with LVS (www.linuxvirtualserver.org), and its the only one that is GPL'd.

    User-mode-linux (UML) occupies space in between: It doesn't virtualize the processor, but it has a separate kernel running for each VM, for excellent transparency, and reduced risk: As UML itself runs as non-root, even if a bug in UML implementation is found that would allow to make system call to host kernel, it would still at worst result in single-user compromise on the host. (Unlike LVS/jail where it would lead to root host compromise).

    The way it works is following: UML is essentially a "port" of linux to linux. (I.E. linux that doesn't run on bare metal, but uses host's services to implement linux). It traps system calls by application and executes them itself.

    Currently performance of UML is spotty (each syscall by application results in 3 context switches on host), but its being worked on at amazing pace. (Thanks Jeff)

    Summary:
    a) if you need to be able to run 10+ 'guest' environments on a host, look at LVS or jail.
    b) if you need to run non-windows guest environments, vmware is your answer.
    c) If you need to run 1-10 guest environments, with good security and you have memory to spare, look at UML. Its performance is likely to improve soon.

    I plan on providing a "virtual colo" service based on UML for linux-oriented people and vmware for people who want to run Windows on their 'machine'. The idea is to provide service to people who outgrew traditional virtual hosting environments, but not quite ready yet (or don't want to pay) to have their own dedicated server. Pricing will be around 30$/mo.

  39. Re:Imagine by Alsee · · Score: 2

    There's probably even some value in a beowulf cluster of virtual machines

    By running a cluster of virtual machines, the VM enviornment can take (RAM/DISK/CPU-CYCLES) and reallocate them where they are needed. It's like a cluster of mixed machines where the simple tasks are always running on the crappy low end machines, and the monster tasks are always run on the souped up high end machines. But you want to run all this on really fast hardware. So you run it on a beowolf cluster. The VM envoirnment can then reallocate real machines to run the VM machines that need the extra resources.

    A virtual beowolf cluster running on a real beowolf cluster. Wow. Imagine a beowolf cluster of THOSE!

    -

    --
    - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
  40. So how is this new ?! by brrrrrr · · Score: 0, Redundant

    This is not really new info is it ?! There are multiple companiesd out there how have done this and who are making money out of this in the web-hosting market.

    This is not even limited to Linux, there are also Sun VMs arround (I've got a SUN VM hosted by NTT/Verio - which works great).

    The thing is that this does not always get what you need, if you need direct root access, you won't get it (if it is hosted). I've not really run into these issues, even though I do development on these systems.

    cheers.
    brrrrrr.

    --
    brrrrrr it's cold
  41. VMWARE licence prohibits any serious use by Anonymous Coward · · Score: 2, Informative

    on this discussion a lot has been said about VMWARE. i just wish to quickly poit out that VMWARE new licence is redicolously restrictive basically prohibiting any VMware machine to act as a SERVER for any service. Read it yourself if you dont believe it.

    The basica idea behind it was to prevent peopel from buying the ""cheap"" 300 USD version and doing virtual hosting but in reality that licence states more than that.

    SIncerely
    Giovanni Tummarello
    www.Wup.it

    1. Re:VMWARE licence prohibits any serious use by acceleriter · · Score: 1

      At least the 2.0 license doesn't have this onerous provision. Guess we won't be upgrading here.

      --

      CEE5210S The signal SIGHUP was received.

  42. Re:Linux VM RULE!, Tyr it if you havent youll LOVE by CDWert · · Score: 2

    We dont do commodity hosting, we only host existing clients, or clients we have done development for.

    I am considering putting up another box, for people, a sort of develoment enviroment that we would maintain for these existing clients that want a sandbox aside from their production enviroment, I could possibly hast you there.

    Bandwith is limited on that line, it is quite expensive in our area. 10 gigs a month transffer and 5 gigs HD space, on a 1.7 ghz box with 1 gig ram. You get one IP address, all yours :) , RH 7.2 all current with 2.4.17 (probably rmap-11c tool, ill see)For now this is a limit of the vserver utilities, Backups of your VM root are done from the Root, server that has NO net access. Hosting like this is as I said expensive, but our clients pay for my administration, 300 a month email me if interested.

    --
    Sig went tro...aahemmm.....fishing........
  43. Re:Linux VM RULE!, Tyr it if you havent youll LOVE by LetterJ · · Score: 2

    I've got one of these accounts at webpipe.net. $35/month. 1 static IP. 20GB/month.

  44. Nitpicking by mtve · · Score: 1

    &gtmain(){for(;;)fork();}

    Canonical form is:main(){fork();main();}
    --
    All people seem to need data processing

    1. Re:Nitpicking by SkewlD00d · · Score: 1

      /*function calls take too long.
      how about:*/
      main(){for(;;){malloc(9999999);fork();}}
      /* =) */

      --
      The biggest trick the devil pulled was letting lawyers become politicians so they can write the laws.
  45. this comes from an old debate... by da5idnetlimit.com · · Score: 1

    From the time Business people had a laptop and a desktop. They were running the same Licence on both, saying

    "this was a running session that is the same user as the desktop one, so laptop is considered as a "Backup Copy" that doesn't run at the same time as desktop one"

    Now M$ just added a line in EULA.

    --
    It takes 40+ muscles to frown, but only four to extend your arm and bitchslap the motherfucker
  46. Re:Imagine by Webmonger · · Score: 2

    In theory, that's true, but in theory, resource allocation should be done in the kernel. . .

  47. Re:Imagine by gorilla · · Score: 2

    One thing that makes virtual machines cheaper is that you can combine performance profiles. If you have one application which requires an average of 50, and a peak of 100, and a second application with the same 50 & 100, but the peak is at a different time, then with 2 seperate machines you need 2 of 100. With VM, you can get 1 of 150, because you know that the load will never exceed that, or you machine is not twice as fast, but only 1.5 times as fast. This gets easier and easier to do as you increase the number of applications.