What is a Virtual Operating System?

VM stands for Virtual Machine. It is really just software that runs inside another operating system to run another operating system(s). If you have a large amount of memory an hard drive space you can run several “virtual machines” simultaneously.  You are limited also by your operating system capabilities. For instance, a 32 bit OS may not be able to run an instance of a 64bit operating system. I am hooked on VMWare. I like to use VMWare to run important services because It makes hardware portability a problem of the past.  There is an easy to use conversion tool if you want to move a physical machine into a virtual environment. The desktop version I am using allows me to run the vm’s I have created. That is a huge plus because all I have to do is turn on the computer and whatever I have virtualized just runs. Like this web server that hosts my site.

From free versions to enterprise, every solution vmware provides is efficient and easy to use.

The question for many people is, “Why would I care to use virtual OS?”. The answer is different for everyone. It really does depend on who you are. GAMER, HOME USER, SOFTWARE SPECIALIST, and IT GURU.  These people all have different uses for virtual operating systems.  Then there are packaged VM’s that are designed and distributed freely for specific purposes so diverse and many I cant mention them all.  You just go shopping for it and find something you think is cool! You will find everything from games to VPN solutions.

So here is the plan. We will cover each individuals possible needs.  Then move on to other explanations.

The GAMER: Most gaming situations do not run well in VM if it involves a 3 dimensional environment requiring a large GPU, tons of memory, and processing.  If it is a strategy game or an older game (2 years or more) you can probably swing running it in a VMWare instance.  But why would you???  Several years ago you spent all of this money on your computer just to play these games on a 32bit OS.  Then you decided to do upgrades and now you have a bigger motherboard, video card, tons of memory and a newer operating system.  Unfortunately, the windows 98 games you were running from XP in compatibility mode now do not work because you are runing windows 7!  So – load vmware, install the windows 98 OS, and a windows XP OS. and load the respective games on each instance.  Run only the OS required for the game you are playing.

Business Owner:

The Business Owner with an ancient laptop and NO install discs for that “all too important” application that makes some vital part of their business run  got a virus and I think the laptop was about to go anyway. It seemed like the hard drive was about to give out.

He had just bought a new office full of computers and so I virtualized the laptop and had it running in his workstation. It ran well!  Better in fact. Since it would not be possible to re-install the OS without losing that software this solution was a god send. It allowed him to still access the software on the now stable “virtualized” version of the laptop. I also reloaded the OS on the physical laptop and gave him a clean, fast and secure operating system so he could keep up with his mobile world. I am pretty sure he gave that to his daughter.

THE HOME USER:

I always run across someone with one of those old ancestry programs that is obsolete and out of production.  Yep.  windows 98 only or XP only.  Same deal.  Load the appropriate operating system into vmware – transfer the files in and wala.  Your up and running again.

SOFTWARE SPECIALIST:

Its a no brainer.  If you are developing software for a user community you have multiple different types of operating systems to address.  If its web development you also have several versions of browsers. In that each OS has service packs (or lack there of) as well as different versions of JVM, flash, and so on.  There is no real way to see if it is going to work until you try it in as many different possible environments as possible.  So get cooking.  Build the major operating system releases into vmware.  Make copies.  And differentiate each copy 3 different ways from Sunday. Now you can test your software on any possible environment your brain can conceive!

THE IT GURU

Does it matter what platform you choose?  Unless its apple no it doesn’t.  You can run anything under the sun (almost) in vmware (Not APPLES STUFF).  If it is apple or the exception to this rule – then the platform you choose will probably have a Virtual environment you can leverage.  But do your homework to make sure it has duplication and redundancy.

WHY?? Just take a mail server for example.  It received the messages sent to your organization and passes the information to mobile devices, web interfaces, and your mail clients.  Lets go back a few years.  Everything you have is running inside the server in the closet.  Lighting strikes, there is a fire, and where are we?  In disaster recovery.

So you grab your tape backups from the bank vault (YUCK) and spend days streaming the files and data back out to that $5K  – 10k server you just bought to replace the toasted one.  Now you have to get your mail configuration running, bind it back to the public ip, set up secure certificates, on and on and on…. Maybe a week later you guys are running on your server again.  I’m sure you redirected all the mail to a fail-over service for a time.  But lets face it – if that wasn’t expensive – it just isn’t as fast, your folders and OLD mail is missing, and you cant send out those 30MB email attachments now. Your also gambling that the 3rd party provider isn’t quietly watching your messaging for good nuggets of usable information. Did I mention that phone call to Microsoft or whoever to recover your data you just pulled off those crusty old tapes?

Surprisingly enough – for this very reason a lot of companies would rather pay 28 to 50 per month per user to resolve this issue!  But some just cant afford that.  For the ones who refuse to pay out that money they are either still running like they were 10 years ago or they moved into a virtual environment (SCORE!).

The ones who moved their mail server into a virtual environment have some of the normal things they had before like – big TB storage volumes built on SAS raid arrays that could never fail because of that hot swap sitting their ready to take over. Or the dual power supplies on the server so that if the power goes out there is always one that will for 4 hours while the power is down (just enough time to grab the generator!).

In the enterprise virtual machine world there are new redundancy tools…  Yep!

My optimal situation.  Here is where you grab a seat belt and a Klingon Translator.

This company bought three or more servers with 64Gigs of ram, 9 2TB 15K spin SAS Hard Drives with huge cache, 2 or more 2.6GHZ 4 Core Zeon Processors (current Intel chipset).  Loaded each with vmware esxi. They took one of these monsters and virtualized every possible server environment running in their company that would fit.  Then they shut down all ten of the old servers and turned on this single network connected esxi server.  The company is running on vmware and the energy footprint went down by about 1500 watts per decommissioned server!

They bought a 3 10GB fibre optic switches and 3 10GB fiber-optic transceiver and NICS (outfitting each esxi server).  They ran 10g long range fiber between 3 different buildings as far across campus as they could get. Then the loaded vmotion on a monster of an I.T. workstation that, yes, has a 10G NIC tied into the same 10G network the other 3 servers are on. Lets go a little further and pretend the budget was really good and add some high speed esata 10 drive raid devices to each of the 3 servers.  Lets use DROBO enterprise products and also place one unit in the CEO’s home on a big fiber-optic ISP connection.

They have two or 3 hardware servers running in 3 separate locations.

The loaded server esxi server a has: 1 edge mail, 1 mail hub, 1 mailbox db, 3 dns, 3 dhcp, 3 data, 1 accounting services, 1 payment system, 1 medical record, fax system, phone system, Contact management, thin client server, 3 terminal services servers, and 3 web servers.

In the grand scheme of things the resources on the one server loaded is less than 1 quarter utilized! The other two servers are just waiting for data…

Your IT GURU goes to his workstation.  He visits the web interface of the esxi server and loads vmotion.  Then he logs in.  He can see all 3 servers. All he has to do is set up replication and fail-over. The software does the rest.  Live copies of everything running on the first server populate out to the other two in perhaps a day. The first copy is the longest. After that live changes stream real-time.

Day 2.  Your IT GURU goes to his workstation and decides what applications really need to run where. Building 1 – Administration, building 2 Accounting, building 3, operations.  So he marks the appropriate resources to run from these appropriate locations.  And then goes to lunch.

Day 3.  Drunk driver runs into the power pole outside building 2.  well, the servers in building 1 and 3 takeover – dynamically splitting the load for best performance.  Now there is a maintenance issue on server 1.  For some reason the boss decided to turn off the ac and the heat kicked on in the server room.  The Intel board sensed the temperature increase and safely shut down to prevent any damage. Server 3 is holding down the fort.  Amaren came out and restored power to building 2 and its like – nothing ever happened.

Day4. It GURU gets busy setting up automated snapshots and having them copied out to the drobo in the respective locations.

Day5.  It GURU uses Drobo replication to securely copy everything out to the CEO’s drobo in his home.

Small note: The drives are encrypted.  They are massive paperweights unless you have the correct apps, and passwords to access them.  We are ARMY strong with our encryption here!  LOL. Some of you security freaks know exactly what application I am talking about don’t you. Plausible Deni-ability?

Day 6.  Who cares. Its a Saturday.  Lets take the wife and kid out on the town and have some fun!

What are you going to do when your Exchange Server running on bare metal bytes the dust because of some board failure??  You have to replace the hardware (expensive and time consuming).  Then you have a 48 hour build ahead of you and a 24 hour data recovery if your mail stores are nearly as large as the average ones I manage.  If your not Microsoft certified it will probably include some grueling phone time.

VMWare Vmotion is cool technology I really would like to apply.  It leverages a second or third vmserver running in the back that is an actual live copy of the first – with every guest operating system it hosts running and intact to the second. If you dump vmserver 1 and your webserver is being visited by a guest vmserver 2 picks up where 1 left off.  The webserver which is now running on vmserver 2 picks up where it left off. If you ask me – this seamless recovery is the way to go when it could take hours or even days any other way.

If you do not use vmotion then you have to turn down a guest os and copy its files out to direct attached storage (fast) or over the network (slow) as a backup solution.  This method of redundancy is common and effective but backups are only as current as the last time you performed the backup. Automating this type of task can be tricky.

A lot of companies us virtual environments to test software on different platforms – or to run obsolete software packages. Having an xp workstation, a windows 2000 system, and linux running on the same workstation is a great help for a developer like myself. Virtualizing your operations will open many doors.

I am not advocating you use just VM Ware specifically.  I am suggesting it because I use esxi as well as the older vmware server (a desktop product).  Microsoft has a virtual platform, Ubuntu 11’s server platform has os virtualization and so does Apple.  There are a myriad of other companies who are trying to virtualize operating systems for various reasons. In the world of data backups, redundancy, and disaster recovery. Paragon now has an excellent solution to deal with many of the above mentioned vm formats. One of their products even allows you to boot the backup image. Its affordable too!!  Who knew..