News for hackers. Stuff that matters.
Re:Homelab: Intel NUC with the ESXi Hypervisor by anonymouswacker on Monday April 20, 2020 @07:02PM (#22929811)
I'm looking for a hypervisor recommendation... I am hoping to virtualize at least two if not all three of my machines: Unraid (pass-thru HDDs); pfSense (pass-thru NIC); and Windows 10 (pass-thru Graphics). I am hoping to have Windows 10 running fast enough to do some light photo editing. Which hypervisor would you think to try first?
Re:Homelab: Intel NUC with the ESXi Hypervisor by JoshTriplett on Monday April 20, 2020 @08:09PM (#22930398)
KVM works well. You can use system-wide libvirt-based management to have the VMs automatically come up and go down with the host machine, and treat them like services.

That said, there's value in having your router/firewall separate from other systems (virtual or otherwise), which will substantially reduce complexity and make it less likely that you accidentally make a system accessible on the wrong side.

Re:Homelab: Intel NUC with the ESXi Hypervisor by thaumaturgy on Monday April 20, 2020 @09:47PM (#22931038)
I've just recently spun up some VMs on my mid-range laptop with KVM. Once I got it up and running, I was pretty happy with the performance, but getting it there was not super easy.

In particular, qemu and apparmor don't always play nicely together and the error messages you get by default don't tell you that it's an apparmor problem.

Importing a VMDK package was also tricky, I ended up having to get familiar with some XML incantations to get the machine to import properly. Feedback from qemu or its friends was totally obtuse and unhelpful there too.

Re:Homelab: Intel NUC with the ESXi Hypervisor by aljarry on Tuesday April 21, 2020 @05:56AM (#22933491)
Do you know if it's possible in KVM to create separate virtual subnetwork managed by KVM (like: adding VMs to that network, reading their IPs) which is accessible from parent network?

I got home network and wanted KVM to control which VM gets which IP, but I couldn't make them accessible from outside - without static IPs on VM side. When I use virtual bridge, KVM cannot set the IPs, but at least they are accessible from my home network.

Re:Homelab: Intel NUC with the ESXi Hypervisor by rwmj on Tuesday April 21, 2020 @08:24AM (#22934280)
It's not a KVM-level thing unless you want to fiddle by hand with bridges and obscure command line options. libvirt can do it reasonably easily on top however (see "virsh net-list" etc).
Re:Homelab: Intel NUC with the ESXi Hypervisor by blinkingled on Tuesday April 21, 2020 @08:55AM (#22934501)
Cockpit with Virtual Machines plugin also works quite well for normal VM scenarios - create/edit/view console etc. works great.
Re:Homelab: Intel NUC with the ESXi Hypervisor by tjoff on Monday April 20, 2020 @08:54PM (#22930697)
I've done all of that on XenServer, or rather XCP-ng now. (pfsense (nic passthrough), freenas (SAS controller passthrough) and windows 10 with gpu passthrough)

It doesn't have the same hype as the others but far more open. Biggest drawback is that the configuration software is windows-only (you can get it running in wine but it is a bit hacky, also xen-orchestra is a free (for personal use, if you build from source) web-configuration utility that one can use).

Would not want to be at mercy of vmware. Also don't want to invest time into a system with such restrictions on use.

Proxmox might be a decent alternative but I have a few systems and the cost would be prohibitive for hobby use.

Re:Homelab: Intel NUC with the ESXi Hypervisor by plam503711 on Wednesday April 22, 2020 @03:06AM (#22943004)
XCP-ng Center (the Windows client) will disappear and Xen Orchestra is the only officially support client. In the next month, we'll bundle "XO Lite" into hosts to manage a simple machine without having to install anything!
Re:Homelab: Intel NUC with the ESXi Hypervisor by tjoff on Wednesday April 22, 2020 @02:43PM (#22948824)
So there will be no free alternative left?

Not sure if a gimped shareware-like(?) option sounds that appealing.

Re:Homelab: Intel NUC with the ESXi Hypervisor by smcleod on Monday April 20, 2020 @07:10PM (#22929893)
I'd usually recommend just using KVM on Fedora/CentOS, but if you're not that Linux savy or don't want to spend time fiddling around I'd probably say give Proxmox a go, or XCP-ng if you want something that's easier to cluster between hosts but don't mind the storage not being quite as quick.
Re:Homelab: Intel NUC with the ESXi Hypervisor by op00to on Tuesday April 21, 2020 @05:42AM (#22933438)
You don’t have to be that Linux savvy to manage virtual machines with Cockpit.
Re:Homelab: Intel NUC with the ESXi Hypervisor by mastax on Monday April 20, 2020 @07:06PM (#22929852)
Have you ruled out unraid? It has built-in VM management and supports pass-through.
Re:Homelab: Intel NUC with the ESXi Hypervisor by anonymouswacker on Monday April 20, 2020 @07:29PM (#22930073)
The only issue is I didn't want to lose my pfSense connection when Unraid reboots for upgrades.
Re:Homelab: Intel NUC with the ESXi Hypervisor by sjwright on Monday April 20, 2020 @08:08PM (#22930393)
I have the same impulse to want to virtualise my router. I’ve repeatedly agonised over this but keep coming back to the decision that as cool as it would be, so long as internet uptime matters, the router probably needs to be separate hardware.

You can get good, power efficient pfsense hardware for around $200 USD. A few bonus notes:

—You could spend a little bit more and get hardware that's good enough to add a virtualisation layer to your dedicated router.

—If your uplink is less than 300 megabit, and you have a managed switch with VLANs, your pfsense box doesn't need to be dual NIC. This could open the door for cheaper or re-purposed hardware.

Re:Homelab: Intel NUC with the ESXi Hypervisor by koyote on Monday April 20, 2020 @10:30PM (#22931235)
I have had pfSense running on Proxmox for several months now.

Upgraded to the latest pfSense version a couple of days ago and the total downtime was in the order of minutes.

It's a bit too early to say whether it's a good idea or not; the main concern I have is that you have two points of failure instead of only one. Other than that worry it has been very smooth.

Re:Homelab: Intel NUC with the ESXi Hypervisor by gonzo on Tuesday April 21, 2020 @02:06AM (#22932453)
The company that makes pfSense used to run its (pfSense) firewalls in ESXi, but then I got tired of having to wait for VMware to come up before the firewall(s) would come up.

That, and CARP on VMware is ... tiresome.

Re:Homelab: Intel NUC with the ESXi Hypervisor by whatsmyusername on Tuesday April 21, 2020 @12:06AM (#22931758)
Proxmox. ESXi client is windows only and most of KVM's clients are either linux only, cli only, or dogshit.

Proxmox is great as long as you have the mental fortitude to ignore the tickler that pops up on login if you're on community support only.

Re:Homelab: Intel NUC with the ESXi Hypervisor by pvtmert on Tuesday April 21, 2020 @04:04AM (#22932971)
Actually ESXi web works well for 'outside' managing VMs and for connecting 'inside' there is official app 'VMWare Remote Console' on AppStore

I haven't actually used Proxmox but had X11/Xquartz on macOS, following enough to manage them. You don't even need to open X manually. It gets started when there is a connection.

    ssh -X user@host -- virt-manager &
Also getting started on KVM on Debian is as easy as:

    apt install -y libvirt-bin virt-manager
Re:Homelab: Intel NUC with the ESXi Hypervisor by adamfeldman on Tuesday April 21, 2020 @12:10AM (#22931779)
Re:Homelab: Intel NUC with the ESXi Hypervisor by ex3ndr on Tuesday April 21, 2020 @01:48AM (#22932360)
ESXi web is good. Why you need an app for this?
Re:Homelab: Intel NUC with the ESXi Hypervisor by whatsmyusername on Friday April 24, 2020 @01:17PM (#22970553)
I dumped it years ago when my container work kicked off and they started paywalling everything behind vcenter.

If web works with base ESXi great! If not then I'm not interested.

I just don't work on a lot of companies in the position of needing VMWare anymore. Either they're all in on AWS or they're too small to justify the expense.

Re:Homelab: Intel NUC with the ESXi Hypervisor by yakk0 on Tuesday April 21, 2020 @08:53AM (#22934489)
the Windows ESXi client has been EOL for a while now and is not supported by current versions. It's all managed through the web or the esxcli commands now.
Re:Homelab: Intel NUC with the ESXi Hypervisor by whatsmyusername on Wednesday April 22, 2020 @06:21PM (#22950843)
Do you need vcenter for that?
Re:Homelab: Intel NUC with the ESXi Hypervisor by mike_d on Monday April 20, 2020 @07:51PM (#22930272)
You really don't want to virtualize unRAID.
Re:Homelab: Intel NUC with the ESXi Hypervisor by lukevp on Monday April 20, 2020 @07:15PM (#22929933)
I’m not that into hypervisors, but wouldn’t hyper-v be a good choice here? You could have near native windows graphics performance.