Click here to Skip to main content
15,904,926 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Virutal machines... Pin
Kornfeld Eliyahu Peter5-Oct-14 3:00
professionalKornfeld Eliyahu Peter5-Oct-14 3:00 
GeneralRe: Virutal machines... Pin
Marc Clifton5-Oct-14 3:13
mvaMarc Clifton5-Oct-14 3:13 
GeneralRe: Virutal machines... Pin
irneb6-Oct-14 2:17
irneb6-Oct-14 2:17 
GeneralRe: Virutal machines... Pin
Marc Clifton6-Oct-14 5:19
mvaMarc Clifton6-Oct-14 5:19 
GeneralRe: Virutal machines... Pin
irneb6-Oct-14 5:41
irneb6-Oct-14 5:41 
GeneralRe: Virutal machines... Pin
Marc Clifton6-Oct-14 7:19
mvaMarc Clifton6-Oct-14 7:19 
GeneralRe: Virutal machines... Pin
harold aptroot5-Oct-14 3:37
harold aptroot5-Oct-14 3:37 
GeneralRe: Virutal machines... PinPopular
dandy725-Oct-14 4:43
dandy725-Oct-14 4:43 
I've switched to using VMs pretty much exclusively years ago and haven't looked back.

My VM host (one of the first i7 CPUs of the Sandybridge generation) has, quite literally, nothing installed on it, except for some motherboard drivers and TrueCrypt (the external drive I back up the VMs to is encrypted). I don't bother backing up the physical machine's OS as it can be reinstalled from scratch and running well within half an hour.

The VMs are on a separate physical drive (well, a RAID array in my case, but any drive will do). If something bad happens and I have to replace some hardware, none of the VMs are impacted in any meaningful way--the worse I've seen is that I've had to reactivate some Windows instances. I had to replace the motherboard at one point; earlier this summer, I moved from Server 2008 R2 to Server 2012 R2. In both instances, I just reinstalled the OS, the drivers, and any available update. I recreated the VMs (specify how many CPU cores, how much RAM, etc), and pointed them to the existing VHDs on the RAID, and they're all back up and running. I know you can backup those VM definitions from somewhere, but it's so quick to re-do that from nothing I've never looked into it.

The machine is physically located in another room in the house. I RDP into the VMs from the rather modest system I have sitting on my desk; its most notable feature is that it's hooked up to three monitors; there's otherwise nothing special about it. It also hardly has anything installed on it, as I spend my days in RDP. I can access any of these VMs from a desktop system, a laptop, heck anything that supports the RDP protocol like a tablet running Windows or Android (I know MS also has a client available for the iFruits, but I don't own any). Point is, I can access my fully functional machines from any number of devices.

I have a separate VM for every version of Visual Studio from 2005 to 2013. Most are always powered off, but ready to go at a moment's notice. If I need a clean IIS or SQL instance with nothing else, it gets its own VM. I have one VM dedicated to testing crapware I'm not familiar with and might not necessarily trust yet--that goes a long way to keeping your everyday machine(s) in a pristine state. I have VMs for testing my apps against all of the older Windows versions I care to support, and a few Linux distributions just to tinker with (I'm not heavy into Linux, but most of the popular ones I've used work without a hitch on Hyper-V).

Backups are simply done with a script invoking robocopy.exe, which is smart enough to skip over VMs that haven't been powered on since the last backup was done.

I have clean VHD files with nothing installed on them except for the OS (from 2000 to this week's Windows 10 Technical Preview). Getting a new VM up and running is just a matter of copying a VHD file to the "live" VM drive, specifying how much RAM I want to give it, renaming the machine once it's up, and it's pretty much good to go.

IMO, as a developer who's spent way too much time doing IT tasks and rebuilding machines from scratch before virtualization became mainstream, there's just no other way to work.

modified 5-Oct-14 12:56pm.

GeneralRe: Virutal machines... Pin
charlieg5-Oct-14 5:53
charlieg5-Oct-14 5:53 
GeneralRe: Virutal machines... Pin
charlieg5-Oct-14 5:55
charlieg5-Oct-14 5:55 
GeneralRe: Virutal machines... Pin
dandy725-Oct-14 6:47
dandy725-Oct-14 6:47 
GeneralRe: Virutal machines... Pin
Marc Clifton5-Oct-14 6:17
mvaMarc Clifton5-Oct-14 6:17 
GeneralRe: Virutal machines... Pin
dandy725-Oct-14 6:53
dandy725-Oct-14 6:53 
GeneralRe: Virutal machines... Pin
Richard Andrew x645-Oct-14 7:05
professionalRichard Andrew x645-Oct-14 7:05 
GeneralRe: Virutal machines... Pin
Andy Brummer5-Oct-14 6:15
sitebuilderAndy Brummer5-Oct-14 6:15 
GeneralRe: Virutal machines... Pin
charlieg5-Oct-14 7:58
charlieg5-Oct-14 7:58 
GeneralRe: Virutal machines... Pin
Brisingr Aerowing5-Oct-14 15:28
professionalBrisingr Aerowing5-Oct-14 15:28 
GeneralRe: Virutal machines... Pin
Dan Neely5-Oct-14 17:48
Dan Neely5-Oct-14 17:48 
GeneralRe: Virutal machines... Pin
Simon O'Riordan from UK5-Oct-14 20:44
Simon O'Riordan from UK5-Oct-14 20:44 
AnswerVirtual machines for development Pin
Yvan Rodrigues6-Oct-14 3:36
professionalYvan Rodrigues6-Oct-14 3:36 
GeneralRe: Virutal machines... Pin
RefugeeFromSlashDot6-Oct-14 4:07
RefugeeFromSlashDot6-Oct-14 4:07 
GeneralRe: Virutal machines... Pin
madprogrammi6-Oct-14 4:15
madprogrammi6-Oct-14 4:15 
GeneralRe: Virutal machines... Pin
Peter Adam6-Oct-14 10:35
professionalPeter Adam6-Oct-14 10:35 
AnswerRe: Virutal machines... Pin
Member 39345517-Oct-14 3:42
Member 39345517-Oct-14 3:42 
GeneralOh dear....when tech lets you down Pin
DaveAuld5-Oct-14 1:34
professionalDaveAuld5-Oct-14 1:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.