Point of a VM

Discussion in 'Virtualized Computing' started by ng4ever, May 29, 2017.

  1. ng4ever

    ng4ever Flaccid 4Evar

    Messages:
    491
    Joined:
    Feb 18, 2016
    This may sound like a stupid question but what is the point of a Virtual Machine?
     
  2. DrLobotomy

    DrLobotomy [H]ardness Supreme

    Messages:
    4,965
    Joined:
    May 19, 2016
    To run a separate different OS within your OS.
     
    ng4ever likes this.
  3. ng4ever

    ng4ever Flaccid 4Evar

    Messages:
    491
    Joined:
    Feb 18, 2016
    Ok what are some cool things you can do with a VM ?
     
  4. DrLobotomy

    DrLobotomy [H]ardness Supreme

    Messages:
    4,965
    Joined:
    May 19, 2016
    Test out Linux distros within your desktop instead of having to find a drive to install a fresh OS into.

    Set up an entire virtual network that you can use.

    Useful for running questionable software without trashing your OS.
     
  5. CrazyRob

    CrazyRob [H]ard|Gawd

    Messages:
    1,208
    Joined:
    Aug 26, 2004
    I do computer repair and often provide support for homes and small businesses. I keep VM's of all the reasonably current OS's we support, so that if I have to walk someone through a process over the phone, I can fire up the appropriate OS without interrupting anything else I'm doing.

    On the server side of things, it also has multiple uses. Because your OS is essentially detached from your hardware, it makes hardware migration, expansion, and backups/snapshotting much easier.
     
  6. rflcptr

    rflcptr [H]ardness Supreme

    Messages:
    6,625
    Joined:
    Mar 27, 2008
    Depending on an organization's needs, a smaller-than-otherwise number of physical boxes can host the needed number virtual servers, reducing costs and management overhead, for example.

    If a physical host were to go down, its guests can be migrated to another host with minimal downtime.

    If you were to eventually upgrade the hardware, you can also migrate guests without the downtime or client configuration required of building their replacement from the ground-up.

    My experience is overwhelmingly with VMWare, so it was pretty cool to be able to build a Windows Server VM on my MacBook using Fusion and migrate it to a running server when I was sure it was ready.
     
  7. ChRoNo16

    ChRoNo16 [H]ard|Gawd

    Messages:
    1,163
    Joined:
    Feb 3, 2011
    I use them for various things, one of the biggest is I have a anti virus machine which services my computers running windows 7 and older so they still have AV support. as well as other things such as I have a machine for backups offline, a minecraft host, teamspeak server, machine for torrenting so I dont mess up other machines, windows 10 so I could test installation and such.

    THey have many uses, oh I forgot I also run my router on a VM
     
  8. ng4ever

    ng4ever Flaccid 4Evar

    Messages:
    491
    Joined:
    Feb 18, 2016
    How exactly do you run your router on a VM please?
     
  9. blkt

    blkt Limp Gawd

    Messages:
    494
    Joined:
    Oct 9, 2009
    xzbit-sad.png
     
  10. DrLobotomy

    DrLobotomy [H]ardness Supreme

    Messages:
    4,965
    Joined:
    May 19, 2016
  11. ng4ever

    ng4ever Flaccid 4Evar

    Messages:
    491
    Joined:
    Feb 18, 2016
    What is better Virtual Box or VMware Workstation ?
     
  12. DrLobotomy

    DrLobotomy [H]ardness Supreme

    Messages:
    4,965
    Joined:
    May 19, 2016
    Whichever one makes more sense to you. Virtualbox is easier to understand and work with as a single entity like on a workstation. VMware is better for a corporate environment where many VM's will be used and managed.
     
    ng4ever likes this.
  13. blkt

    blkt Limp Gawd

    Messages:
    494
    Joined:
    Oct 9, 2009
    yodawgoperatingsystems.jpg xzibit meme.PNG linux_yo_dawg_by_gunnay.png yodawg-vmware.png
     
    Matthew Kane, ZeqOBpf6 and klank like this.
  14. ChRoNo16

    ChRoNo16 [H]ard|Gawd

    Messages:
    1,163
    Joined:
    Feb 3, 2011
    My physical server has 4 network cards built in, so I have a Pfsense virtual machine that uses two of them, one for LAN, one for WAN, and then the other two are the other connections for the rest of the machines.
     
  15. bigdogchris

    bigdogchris Wii was a Novelty

    Messages:
    16,678
    Joined:
    Feb 19, 2008
    To consolidate hardware in dense environments and get the most bang for the buck out of hardware. You can run 50 or more VM's on one server rather than have 50 separate servers.
     
    Sonicks likes this.
  16. Chas

    Chas [H]ardness Supreme

    Messages:
    5,341
    Joined:
    Oct 31, 2005
    Caveat. Yes you CAN. You have to make sure that you actually have a hardware setup that can HANDLE that sort of load.
    VMs encourage efficient (even parsimonious) distribution of resources like CPU and memory to guest hosts. You run with exactly what you need to get the job done and not an iota more.

    Usually, for people just starting to learn about VMs, the hardest thing to get right is your storage system. Running VMs off local individual SATA drives will kinda work for a small, not-very-dense setup. But performance is usually someplace between "I can live with it" and asstastic. If you're implementing an actual, working environment, you want something much more fault tolerant and performant.
     
  17. bigdogchris

    bigdogchris Wii was a Novelty

    Messages:
    16,678
    Joined:
    Feb 19, 2008
    I'm not talking about on a desktop PC ... I'm pointing out there's more to virtualization than some guy running a linux distro on his windows PC.
     
  18. Snoflo

    Snoflo Limp Gawd

    Messages:
    177
    Joined:
    Feb 3, 2014
    I have a Windows 10 computer with a Linux VM, Windows 7 VM, and a Mac OS X VM. I use the Linux VM for banking and for experiencing what all the Linux fuss is about. The Windows 7 VM is for installing software that I just want to try out, or for browsing using my VPN. I used to own Apple computers so the Mac OS X VM enables me to run a couple pieces of OS X software I still use. I think this runs counter to the OS X TOS, but, hey. I use VMWare Workstation. The snapshot feature is great: if I mess something up I just revert to an earlier snapshot to restore things to where they were previously.
     
  19. Chas

    Chas [H]ardness Supreme

    Messages:
    5,341
    Joined:
    Oct 31, 2005
    Yes, and I was pointing out that there's more to virtualization than simply plonking down a machine and firing up 50 VMs.
    Well, there is unless you LIKE shitty virtual performance.
     
  20. WhoBeDaPlaya

    WhoBeDaPlaya 2[H]4U

    Messages:
    2,122
    Joined:
    Dec 16, 2002
    I run DD-WRT x86 in a VirtualBox VM as my router

    [​IMG]
     
  21. Cmustang87

    Cmustang87 2[H]4U

    Messages:
    4,004
    Joined:
    Oct 4, 2007
    muz_j likes this.
  22. Ur_Mom

    Ur_Mom I'm Not Serious

    Messages:
    23,516
    Joined:
    May 15, 2006
    I use a VM for a 'sandboxed' machine. If I need to visit a site, open a file, etc. that is suspicious, I'll do it on the VM. If it's infected, it's easy to kill that VM and roll back to the latest snapshot. That, or I get an infected machine to play with and learn more about the malware.
     
  23. Matthew Kane

    Matthew Kane [H]ardness Supreme

    Messages:
    4,208
    Joined:
    Dec 1, 2007
    Cmustang87 likes this.
  24. Cmustang87

    Cmustang87 2[H]4U

    Messages:
    4,004
    Joined:
    Oct 4, 2007
    Not to mention knowledge bases from vendors, FAQs, and communities that span basically every single corporate environment. The amount of information on virtualization is virtually unlimited (zing). These types of posts really bother me because it would have been a really easy Google search that gave the OP easy to understand examples and explanations. It's not like he's looking for some kind of archaic or cryptic open source solution to a niche problem.
     
    Matthew Kane likes this.