Virtualizing Workstations For Common Hardware?
An anonymous reader writes "We have approximately 20 workstations which all have different hardware specs. Every workstation has two monitors and generally runs either Ubuntu or Windows. I had started using Clonezilla to copy the installs so we could deploy new workstations quickly and easily, when we have hardware failures or the like, but am struggling with Windows requiring new drivers to be installed for all new hardware. Obviously we could be booting into Ubuntu and then load a Windows virtual machine after that, but I'd prefer not to have the added load of a full GUI underneath Windows — we want maximum performance possible. And I don't think the multi-monitor support would work. Is it possible to have a very basic virtual machine beneath to provide hardware consistency whilst still allowing multi-monitor support? Does anyone have any experience with a technique like this?"
VMWare View is what you want.
I do. The short answer: Don't.
Just on the interactivity alone, it's slow response, you spend extra seconds loading windows, menus, and after awhile those extra seconds add up to real productivity loss. Virtualization belongs on servers and in labs, where interactivity is less important than raw horsepower. For a workstation, don't virtualize. It's painful.
#fuckbeta #iamslashdot #dicemustdie
It's easy enough to slipstream (lots of) extra drivers and periodically update a master install .iso using tools such as nlite.
"This post is an artistic work of fiction and falsehood. Only a fool would take anything posted here as fact."
I am in a virtualized environment and it works fine. I guess it really depends on your situation.
Most of my users are using basic business apps. For these things, Citrix XenApps (I think that is the name this week) works well.
See my journal for slashdot ID's by year. Mine created in 2005. http://slashdot.org/journal/289875/slashdot-ids-by-year
Virtualization is not a cure-all (and your approach is wrong, to boot).
What you're looking to do is use the latest, greatest technology for profit(!!!). You're going about it wrong. There are plenty of other, better technologies to accomplish the same basic thing. Proper system imagining/installation via something like an installation server.
When you've got 20 workstations, you're at that cusp of continuing on the path you're on (and hopefully, resorting to a method of consistent repeatability) or deciding on a different approach - thin clients, perhaps. Or maybe virtualization is the right approach - but I can guarantee that there's likely no good reason to virtualize Windows on top of each of the 20 workstations that couldn't be solved with better design.
Honestly, if you're one of multiple IT in a place with only 20 workstations, you're seriously over-staffed. Someone - if not you, someone else - is going to figure this out, and figure out a way to make themselves important and you redundant. Even with moderate consistency and controls, a single competent Administrator should be able to take care of 5 times as many workstations and a handful of servers without too much sweat.
~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
But only if you have hardware virtualization support.
next year will be the year of the Windows workstation.... 8^)
DRM? No thanks, I'll just get it somewhere else...
NxTop is pretty cool. It is a hypervisor that installs directly onto the client hardware, allowing you to pull and boot pre-configured images over the network. The hypervisor removes the need for specialized drivers and supports dual monitors. It also has the advantage over VMwareView of allowing the OS to sync for offline use if you would like to leave the office with a laptop. Sure VMware has it as an "experimental" feature now, but it is production with these guys. They came and did a demo for us the other day, pretty cool stuff. I think it was affordable too. You can set policies for who gets what images, remotely disable a lost or stolen laptop, etc. Check this out: http://www.virtualcomputer.com/About/press/nxtop-pc-management-launch-massively-scalable-desktop-virtualization-for-mobile-pcs
You're just making it harder than it needs to be. Use Ghost, Acronis, KACE, or any of the other semi-hardware agnostic imaging systems. Failing that, just take individual images of each peice of disparate hardware. Just takes a little one time act for each peice of hardware, and a large disk drive.
Mod point free since 2001
this was solved a long time ago. Sysprep allows you to bundle whatever drivers you want, and it will just load what it needs on first boot. Combine that with a network imaging solution (back when I worked in that area, we used ZENworks, but there are other options), and ideally network installs of software (i.e. the image should be a base OS and not much else) and you should have limited problems. A new machine type will require a new image, but you can just deploy the old one, add the new drivers, run sysprep and re-create the image. I never had to do mass-imaging of Linux machines, but surely you could take a similar approach for the Ubuntu images?
What is...?
Not always is a common solution the right one. Many times they lack the requisite low level IO needed to do the job right.
Take, for instance, DDC/CI. I don't know what you're doing and that's fine, but in my line of work we have to talk to the monitor. You ain't doin' that on a virtual machine.
Just because it's virtual doesn't mean it's better.
A bit off-topic, but related to virtualization, so here's my question:
What's the best way for me to make a "snapshot" of an existing, functional Windows XP system, such that I can boot up (a copy of) this system at a later point in time?
Background: I have a computer running Windows XP, with a bevy of development tools (including databases, IDE's, build system, etc.) installed, involving loads of configurations, etc. I have not current use for this environment, but for legacy purposes would like the option of firing it up in the future, should I need to do a demo or explain it to someone else.
I have no real experience with virtualization, but it sounds relevant / useful here. What I'm picturing is an "image" / snapshot of the system, which I can later run within a virtual machine in some other operating system. How can I do that? Or do you recommend a different approach?
Thanks!
It's not cheap so might not be a viable option for a smaller shop, but VMware has been making some very interesting strides in this area.
Check out VMware View, also known as PCoIP (Yes, that is personal computer over internet protocol)
http://www.vmware.com/products/view/
http://www.vmware.com/resources/techresources/10083
Put really simply, each real workstation is loaded with a minimal system and the vmware view clients.
When a user goes to login to a computer on your network, after authentication their virtual workstation pops up (Be it windows or ubuntu) and lets them work.
All of the actual 'workstations' being used are virtual machines, thus are the same unified image you are looking for with one set of drivers.
While I have not tested it with a multi-monitor setup, they claim it is supported.
The one main thing you do lose is full accelerated 3D support, and direct support for old eccentric hardware. (Think ISA card support and non-standard PCI interfaces)
I can say USB support is simply amazing in how well it works.
Clients can even play full interactive flash media and video, and it runs well (As well as one would expect it to work in native OS anyway)
I used unattended on a FreeBSD box at one of my old jobs, since we had like five or so different models of computers. It works sort of like RIS, except it's easier to extend the system since it's all written in Perl and it's all open source. We dumped the contents of an XP disc on the server, then slipstreamed driver packs into the disc directory structure; this catches almost everything but the most obscure hardware out there. Unattended allowed us to run post-install scripts, so we threw in a bunch of other software packages that would install after the OS was done installing, like Office 2007, Adobe suite, etc.
This was substantially better than a disk image; we took care of all of the drivers in one fell swoop, so the only thing we used as a differentiator between computers was how the person used the computer (if it's a student lab computer, we loaded a bunch of stuff like Geometer's Sketchpad, InDesign, etc. If it was a faculty's laptop, we'd load software to operate stuff in the classroom.) We save space on the server, and we save time when it comes to putting together another "image" for a different use case.
But as others said above, I wouldn't virtualize the workstation, even if it eases up on the IT dept. a little bit; just be smart about what deployment method you use. I wouldn't recommend using unattended if you had only about three different models; it's likely substantially easier to just use CloneZilla.
Oh, and use a centralized software deployment system such as WPKG. Your disk images will go stale after a while, in which case you'll have to make sure that you can manage the packages installed on clients somehow.
"Hegelians, who love a synthesis, will probably conclude that he wears a wig." - Bertrand Russell
How does Ghost virtualize anything? Sure it can clone their existing drive for backup purposes, but what happens when a desktop motherboard fries itself and is obsolete enough that they need to upgrade to something newer? Yeah they can get the data back, but the drive image won't match the new hardware.
VMWare has a tool to create an image from a "real" PC.http://www.vmware.com/products/converter/
What is...?
It's much more professional to call it "an iypervisor". Or something like that. Y is nature's spare vowel.
What you are looking for is called type 1 or bare-metal client hypervisor. Bare-metal client hypervisor's are a fairly new technology with the leading ones "which are still in development" being from Citrix and VMware. They are XenClient and CVP both are expected to be out later this year. Two of the smaller players in this field are Neocleus and Virtual Computer both have a general release product however neither of them have been around long enough to be proven.Hope this helps you might not have a the solution you are looking for today but by next year you should have some good options.
I would argue just about every point here.
modern hypervisors are quite fast. Most of the perceived slowdown is a result of using something like VNC to access the VM.
basic linux install with KVM and the console glued to the VM. Get serious and contribute some software developers or put out some bounties to make a windows video driver appropriate for your needs.
So, all this time I've been pronouncing it "yipervisor" and people were snickering at THAT... I guess it's a relief really... I thought it was because of my mohawk/mullet.
I like to think of it as "The Mohlet".
You have the right to remain sentient. If you give up the right to remain sentient, you will be elected to public office
Existing deployment tools from Microsoft already do this. You need the WAIK, which is a free download from Microsoft.
You need to create a generalized image. If you get all the required drivers for all your hardware into the driver store, the drivers will be found during install. You can also deploy from PXE boot using WDS with a generalized image...
There are a few caveats around a few drivers that aren't designed properly for Sysprep, and applications that aren't designed with sysprep in mind, but otherwise it's quite slick. You can script the installation of these exceptions to occur later on during deployment using unattend.xml and RunSynchronous commands though. You can also supply your licence key in the unattend.xml file.
About 90% of all Windows deployments are sysprepped by OEMs or by corporate IT folks....
Please read the documentation, the tools are quite flexible.
Wow, such terrible advice from slashdot. The easiest way to move Windows OS from one machine to another when their are hardware differences is to get your self a copy of shadowprotect and use the HIR (hardware independent restore) option. Google it. Virtualising is not the best way to by a long shot to do what you are trying to do.
Initial 'h' is actually dropped considerably more frequently in UK English than US English; e.g. "an 'istoric event" in British but "a historic event" in American.
10 PRINT CHR$(205.5+RND(1)); : GOTO 10
Am I right?
By application virtualization I assume you mean running a single application over the network as is possible with X11 (or many other solutions), instead of the whole desktop/machine. The problem with that is that it doesn't solve the problem outlined in TFS at all, as he wanted to eliminate having to deal with a grabbag of random hardware which Windows inevitably does not support (without special coaxing) every time a new machine comes through the door or some hardware explodes.
Game! - Where the stick is mightier than the sword!
Since America owns the internet, it's assumed by default that Hs are NOT silent. If the UK ever makes a 21st century contribution beyond the destruction of their own car brands, we'll consider defaulting Hs to silent.
He won't. The reason m$ is still around, is the huge industry around windows flaws. He's probably benefited by it too. It takes 10x more people to manage a windows-based network than a Unix based network. Think about it. All the antivirus companies. All the anti-spyware, registry cleaners, etc. All the "technicians" that keep joe sixpack's computer running. All the license money around windows. Remember, windows is not an OS in the sense that GNU/Linux is an os. Your average distro includes several DVDs with all the software you'll ever need. If what you want is not there, just fire up $package_management_system and search for it. Windows retails for, what, 300 dollars?. Ok, now add to that office, antivirus, graphic software, virtualization solution, disk imaging, etc, etc, etc. You are talking about a lot of money. The amount of people that have a job thanks to windows flaws is HUGE. And it's that group of people that is keeping windows alive. Thanks to that, it's not going away any time soon.
Thinking about it, it's how capitalism works. Accountants, lawyers, marketing droids, most managers, bankers 90% of government employees, etc,etc. None of them do anything productive. They have a job JUST because there's a glitch on the system.
This people will keep it alive, because it's what's feeding them, and most of them don't even realize how wrong it is, and what useless and pointless lifes they live.
WTF am I doing replying to an AC at 5 A.M on a Friday night?
When our name is on the back of your car, we're behind you all the way!
What's the best way for me to make a "snapshot" of an existing, functional Windows XP system, such that I can boot up (a copy of) this system at a later point in time?
DriveImage XML
What you're looking for is ImageX. You can get it from the Windows AIK. (It says "Windows 7 AIK", but it will work on XP.)
Recipe for win:
You can take that WIM image and re-apply it to your computer at a later date. Windows activation and all of your programs will be preserved. You can also mount WIM files like directories using imagex /mount.
However, you will not be able to take an XP install and move it to a system with different hardware. XP's drivers and HAL will throw a fit if you move it to a computer that's too different, although similar-enough hardware will "mostly work."
You can download and run Sysprep from Microsoft before you capture an image. It strips out some of the hardware and user-specific settings and returns the computer to XP's "mini setup" mode, where it will ask you for username/password/CD key/whatever. But even then, XP images are still very hardware bound; more often than not an image won't work until booting from an XP CD and doing a repair install.
DATABASE WOW WOW
Well you probably should do a couple of things, possibly more, just to be safe / conenient for varying possible future use scenarios.
1) Make an image copy of the entire drive, and any others that are referenced by your configurations. Boot sector, partition table, C partition, other partitions / drives, the whole set. There is really no general substitute for having a copy of every single factor that could affect your ability to recreate the system exactly as it is if you need to do that on a physical machine or with some future set of virtualization tools. Since it is next to impossible to rebase / reconfigure applications that have configurations referring to paths under D:, E:, F:, DVD/CD drive as O:, whatever, you'll want to note all the mappings that could be relevant to making the applications work again and copy that data too.
2) Look at the free "disk2vhd" tool from Microsoft's sysinternals site. Maybe it can help convert your physical C partition into a VHD image which you could potentially eventually boot with something like "Windows XP mode" or Microsoft Virtual PC or Hyper V. Read up on some physical to virtual scenarios using Virtual PC and Hyper V and XP Mode and see what is most likely to work for you. There are various good technet / microsoft / msdn / 3rd party FAQs and blog posts about the good and bad points of doing physical to virtual mappings like that with their various tools.
3) It is possible you could make some use of the Windows AIK or MDOP tools to help your physical to virtual conversions. One thing that is commonly done before capturing an image from a physical machine before virtualizing it is "sysprep /generalize" which takes out some of the machine specific device drivers, licensing activation data, etc. so that the resultant image is more generically transportable to a different machine or VM. YMMV. The blogs / recipes online above will guide you as to the best options.
4) Check out Virtualbox the free VM system from Sun/Oracle. Read their forums about some physical to virtual capturing scenarios. I'm often more impressed with the functionality of virtualbox than microsoft's virtual pc / XP mode, so maybe it would be a better choice for you. Though the tools to do p2v conversions are kind of weak in both camps, nothing truly a click once automatic process.
5) There are probably some good ways to do physical to virtual conversions with a LINUX OS too; the qemu/kvm hypervisor is pretty effective at virtualizing XP in recent versions of LINUX like Fedora 13 beta or Ubuntu 10.04 beta 2 both of which are newly available, though the qemu/kvm virtualization has been working well for years. OpenSuse11.2 should work too. Anyway there are various tools you can use to capture the images of the XP C partitions and other partitions into QCOW or other such formats that can be used with the VM software to run the virtualized system. Again device drivers loaded into the physical XP system will often possibly be problematic so either remove them manually or sysprep /generalize the physical OS or just try booting the VM into safe mode and then getting rid of the old drivers. Whatever works.
6) Of course the easiest solution probably hasn't been invented yet, and next year's VM systems might not even be compatible with some of the disk formats and configurations todays VM systems use, so, again, that's why it's good to keep a full image or physical copy of the original drives handy in case you want to convert them again later.
You're doing this in a laboratory situation, not in the realworld. Your approach will not work when you're talking about running a hundred, or a thousand, concurrent VMs on commodity hardware.
Woah. Hold on. Who said anything about running hundreds, even thousands of concurrent VMs? I think the parent (and actually the subject) is talking about single local box, single VM.
I've been doing the same thing for a few years now. I can't escape Windows apps so I run a VM to provide a Windows desktop. That's worked pretty well for me except for lately where performance has degraded - I suspect due to my using a real partition (which is no longer supported). Co-worker of mine does the same thing and has no issues whatsoever (which he points out when I grumble at my VM).
Logical enough, that is if you're Pavel Chekov.
Mod me down, my New Earth Global Warmingist friends!
The latest versions of Ghost are the same as Backup Exec System Recovery, except that BESR allows you to back up/clone servers.
BESR is really good software. I use it quite a bit; I back up all my home servers with it. I've used it to perform P2V's of servers when the normal Platespin/VMware Convertor doesn't work for whatever reason.
BESR/Ghost allows you to take a full snapshot of a disk or a full machine. It's very fast. Restoring is very easy; insert the bootable Vista-based CD, and restore from a local disk or network. You can load drivers from USB sticks or CD's, or make custom bootable discs with your own drivers.
You can take snapshots, and create incremental snapshots on top of those. The incrementals are super fast. You can mount any snapshot as a drive letter, if you want to.
It has a "restore-anywhere" feature, which will put Windows into a sort-of "OEM" mode, so when it boots up for the first time it will run the hardware detection routine. I've been able to move Windows to different hardware real easy this way. You can also use it to move from a Virtual machine to a physical one.
I can't really say enough good things about BESR. It just works, it's fast, reliable, and restorations are super easy.
You can download a trial that works for 90 days from Symantec's site.
- It's not the Macs I hate. It's Digg users. -
Thinking about it, it's how capitalism works. Accountants, lawyers, marketing droids, most managers, bankers 90% of government employees, etc,etc. None of them do anything productive. They have a job JUST because there's a glitch on the system.
If that's what you think of Accountants, lawyers, marketing droids, managers, and bankers, it's because you haven't a clue yet.
Are you in business? Because if you are, your accountant had better save you lots more money than he/she costs. And no, I'm not talking about complex tax laws, I'm talking about simple asset and expense management. Companies which aren't tightly controlled in accounting burn through cash like you wouldn't believe. It's the accountants who (ahem) account for it all and help control expenses and maximize return on investment!
Your lawyer is there to advise you of the rules of the road. And those rules generally aren't arbitrary, they are complex and detailed because reality is complex and detailed. Laws generally get passed in response to real situations that have really happened! But do you know this? Sorry, of course you don't. And that's why when you are in legal trouble, you get a lawyer. Just the other day, I had a 2 hour interview with my lawyer save me some $100,000 cash. You think I don't value my laywer?
Marketing droids are (I hate to say) some of the most valuable members of an organization. Sure, some are idiots - such as those running the current Verizon ads (which seem to go out of their way to convince me NOT to buy Verizon hi-speed smart phones) but they are the exception. They are there to generate demand for the products of an organization. If they weren't there, selling the widgets that the engineers produce, there wouldn't be any need for engineers to produce anything because nobody would want them. They wouldn't even know that they exist! (which, even the Verizon idiots are succeeding at)
And so on. Each profession has its place, and each presents value to your company and your society. Generally, this value is greater than the cost of the salary, etc. of the individual(s) involved. As in all things involving people, there is some corruption. There are lawyers who are a waste of oxygen, just as there are engineers who are a waste of perfectly good coffee. (See Wally from Dilbert comics, for a stereotyped example)
But you can't dismiss them all, because they actually DO something, even if you aren't aware of what it is, yet!
I have no problem with your religion until you decide it's reason to deprive others of the truth.
I think that was GNUALMAFUERTE's point. Those jobs DO serve a valid need in today's system, but only because there are fundamental flaws in today's system. I agree with him on that. Now, he never actually said that the flawless system COULD exist in the real world, and therefore also never said that those professions could be done away with if we improved the system. If he thinks it would be possible, then I disagree with that part, but still agree that the professions only exist to work around flaws (a "glitch" in his words).
To clarify on your answers:
Are you in business? Because if you are, your accountant had better save you lots more money than he/she costs. And no, I'm not talking about complex tax laws, I'm talking about simple asset and expense management. Companies which aren't tightly controlled in accounting burn through cash like you wouldn't believe. It's the accountants who (ahem) account for it all and help control expenses and maximize return on investment!
In a perfect world, economics would be simple enough for anyone to handle it without needing an accountant. The "better save you lots more than he/she costs" is hiding the issue a bit, because regardless they ARE costing money, and that money has to come from somewhere. Under the current system, a good accountant will save you more money than they cost and therefore from YOUR point of view you've saved some money, but overall the money had to come out of somewhere, so someone has to be losing out of the deal. IF we could find a system where accountants weren't needed, this money would be distributed more appropriately.
Your lawyer is there to advise you of the rules of the road. And those rules generally aren't arbitrary, they are complex and detailed because reality is complex and detailed. Laws generally get passed in response to real situations that have really happened! But do you know this? Sorry, of course you don't. And that's why when you are in legal trouble, you get a lawyer. Just the other day, I had a 2 hour interview with my lawyer save me some $100,000 cash. You think I don't value my laywer?
I'll try to ignore your snark about "of course you don't [know this]". The lawyer deals with complex laws because the laws are complex. You claim the laws are complex because they're based on reality, but I disagree with this. The laws are complex because they're a highly patched system. They've never been simplified and only become more complex over time as new patches are added. I contest that it SHOULD be possible to create sets of laws that are VASTLY simpler than the current laws of most nations, to the point that pretty much everyone would understand them easily. (the likely downside is that writing such a set of laws without loopholes is an exceedingly complex task... it only needs to be done once, but I think the ability to do so is well beyond us right now)
Marketing droids are (I hate to say) some of the most valuable members of an organization. Sure, some are idiots - such as those running the current Verizon ads (which seem to go out of their way to convince me NOT to buy Verizon hi-speed smart phones) but they are the exception. They are there to generate demand for the products of an organization. If they weren't there, selling the widgets that the engineers produce, there wouldn't be any need for engineers to produce anything because nobody would want them. They wouldn't even know that they exist! (which, even the Verizon idiots are succeeding at)
That relies on the assumption that there's a need to "sell" a product rather than only producing things people want/need. There are businesses that do extra-ordinarily well without advertising or other forms of marketing, purely because they're "needs based" only. Examples include the market for non-fiction books, non-speciality bread, and electricity providers in areas where you have no choice. The purpose of marketing a product is to make your po
My book about LSD and Self-Discovery
Also on facebook as: DroppingAcidDaleBewan
And the really great part is that sun virtualbox can read the vmware virtual machine created by that tool.
and vmconverter can eat a lot of diskimages format also (BUT NOT ALWAY THE VERY LATEST, check before spending time on it!!)
Before you start with any tool it is nice to clean of any unwanted software and restore points, clean the trashcan (Crapcleaner tool), and try to fill all unused space on the disk with zero's.
BTW, I learned the hard way that truecrypt is incompatibele with any on the fly diskimagers.
Get a hold of yourself. It was an honest mistake.
In a perfect world you wouldn't have economics, accountants or even money, because everything would be free and limitless. Quite what relevance this has to the real world is beyond me, however.
To have a right to do a thing is not at all the same as to be right in doing it
No, you speak.
English is a great language if you're willing to accept that it's a terrific mess, and that the rules are actually guidelines.
Trying to make a diskimage when truecrypt is active i get a vss error like
Volume Shadow Copy Service error: Unexpected error ... 0x80070057
invalid parameter
dismouting the truecrypt device and everything went ok.
somthing like:
http://www.symantec.com/connect/forums/shadow-copy-components-not-working-various-vss-writer-failures-no-vss-writer-errors
searching now i see it is documented:
http://www.truecrypt.org/docs/?s=issues-and-limitations
"The Windows Volume Shadow Copy Service is currently supported only for partitions within the key scope of system encryption (for example, a system partition encrypted by TrueCrypt or a non-system partition located on a system drive encrypted by TrueCrypt). Note: For other types of volumes, the Volume Shadow Copy Service is not supported because the documentation for the necessary API is available from Microsoft only under a non-disclosure agreement (which is impossible to comply with because TrueCrypt is open source).
"
Maybe it is solved now.