LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 04-15-2022, 05:42 PM   #1
krakanut
Member
 
Registered: Aug 2012
Distribution: The Slackware
Posts: 62

Rep: Reputation: Disabled
Bare Metal Linux Hypervisor To Run Windows


Hi - I deal with industrial control systems which use a Windows based HMI (AVEVA/Wonderware). Windows 10, now that it is rolling distro, is horrible for our systems because it keeps breaking things after updates. We try to delay and or turn off updates but it seems this gets over written after a planned update. As these systems control critical infrastructure and are internet accessible (not directly but indirectly) we can not simply not run updates. We have seen instances too where the updates not only halt the software but actually destroy or break things like deleting the SQL database that our software uses.

Until I can find a replacement software package I am stuck using Windows. I would like to use a linux based bare-metal hypervisor that I can run windows virtually. My hardware is generally modest - i7 8-16GB ram - but the performance demands not too high. I can then snapshot the Windows virt daily. If something breaks at 2AM its simply a matter of restoring a recent snapshot - worst case is losing data between the failure and last snapshot - not ideal but better than losing everything. These are on-premise workstations across many different customers. So any solution should be relatively easy to set up and deploy.


Does this make sense? Am I on the right path or is there some other method to make this work. What bare-metal hyper out there that is lightweight (would work with min 8GB ram along with a windows virt) and allows snapshots?

Last edited by krakanut; 04-15-2022 at 05:47 PM.
 
Old 04-15-2022, 07:53 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,987

Rep: Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627
Many production shops use complete isolation so that their original build is what they run on. No access to wan.

My thinking for snapshots would be that you will still run into update issues. The snapshot doesn't seem to fix your report of problem.

We do have some embedded windows and you could build one that corrects on reboots.
 
Old 04-16-2022, 05:18 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,129

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Only hardware vendors have bare metal hypervisors - Intel ME, IBM PR/SM, phone baseband ... Good luck getting any specs on any of that.

You've got Slack listed - use a minimal build of that and KVM. And yes, that means keeping an eye on (at least) security notes so the host itself is still subject to updates.
Snapshots of guests have their own requirements, especially I would think for databases running on Windoze. Are you prepared (able) to countenance a shutdown of the guest prior to the snap ?. Do you need transaction consistency ?. On NTFS ?.
Ugly visions, but I can't even spell databaes, so just brainstorming.

See my sigline.
 
Old 04-16-2022, 06:18 AM   #4
krakanut
Member
 
Registered: Aug 2012
Distribution: The Slackware
Posts: 62

Original Poster
Rep: Reputation: Disabled
Thank you for the feedback and additional points to consider. Admittedly I was thinking of a lightweight linux distro that may already be set up for this use case - was hoping not to have to roll my own. But as you point out as well - I may be oversimplifying the use/value of snapshots. Perhaps I need to think this through a bit more.
 
Old 04-17-2022, 04:04 PM   #5
rufwoof
Member
 
Registered: Nov 2017
Distribution: Kernel+busybox+ssh+vnc+alsa (framebuffer)
Posts: 201

Rep: Reputation: Disabled
On my 4GB ram laptop I run Fatdog linux and kvm/qemu OpenBSD guest and it works really well. A nice feature is that I can run iptables in Fatdog that OpenBSD can't undo, so selective in/out bound traffic can be blocked.

Perhaps Microsoft could be blocked such that any attempted Windows updates failed and the system just complained rather than having updates applied and possibly the system failing.

In my case the OpenBSD is static, so I just create a snapshot, boot/use that image, and then delete it at shutdown (or rather each time the next kvm boot occurs).
 
Old 04-17-2022, 04:32 PM   #6
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: Ubuntu based stuff for the most part
Posts: 1,173

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
The Incontrol package from GRC will set Windows 10 to a target release and keep it there, only allowing security updates and not feature updates.
https://www.grc.com/incontrol.htm
The page also has a link to the reg keys it makes/changes to do this, so you could do it manually yourself.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LF help passing through existing bare metal Windows installation to kvm/virt-manager angryJellyBean Linux - Virtualization and Cloud 1 07-01-2021 06:54 PM
LXer: Bringing an end to hypervisor vs bare metal debate LXer Syndicated Linux News 0 09-03-2019 07:33 PM
Personal PC as a Bare Metal Hypervisor dman777 Linux - Virtualization and Cloud 5 12-31-2010 06:03 AM
LXer: Linux kernel needs more modularity for bare-metal hypervisor viability LXer Syndicated Linux News 0 01-21-2009 10:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 08:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration