r/HyperV • u/claudioazevedo85 • 17d ago
OVC: a open-source web console for Hyper-V
Hey all,
I've been running Hyper-V for a while and never found a management tool I liked. SCVMM works, but the licensing is expensive for what it does. WAC is free, but it's so slow I'd end up back in PowerShell or Hyper-V Manager anyway.
So I started building my own: Open vCenter (OVC). It's a web console for Hyper-V hosts, clusters and VMs, Apache 2.0 licensed.
What works right now:
- Creating and managing VMs (BIOS/UEFI), disks, NICs
- Snapshots, mounting ISOs
- Autostart order, batch start/stop
- Basic CPU/mem/network metrics
- HTML5 console in the browser
You can run it with Docker Compose or on Kubernetes, plus a small agent on each Hyper-V host.
The plan is eventually make it multi-hypervisor, starting with KVM.
Site/docs: https://openvcenter.com
Demo: https://demo.openvcenter.com
GitHub: https://github.com/openvcenter/Open-vCenter
If you're running Hyper-V, I'd really appreciate it if you gave it a try. Bug reports, feature requests and “this sucks because X” are all welcome.
Disclaimer: part of the code was written with help from AI tools. I review and test everything, but wanted to be upfront about it.
3
u/t3kk58 17d ago
Ever check out WAC virtualization mode?
https://www.youtube.com/live/ZvWwdu6cRSM?si=qeniZC1-jf8hbWTD
2
u/claudioazevedo85 17d ago
I have just updates mine and is kind sad that I need to setup network ATC to add hosts. I will check out in a lab node once I can clean this lab.
But I think that Microsoft is working good to make a better product (it now have agents!)2
1
u/FreakySpook 17d ago
Curious can it do VM console connections or do you still need VMconnect.exe?
0
u/claudioazevedo85 17d ago
I use Guacamole (Guacamole + GuaCD) to connect to the RDP port. Hyper-V creates an RDP listener for VMs, and Guacamole supports it (port 2179, if I recall correctly).
I think this doesn't work correctly on Windows 11 Hyper-V but works on Windows Server instances.
That's how WAC works (that's where I found out).2
u/BlackV 17d ago edited 17d ago
It is not different on workstation or server versions of hyper v
I have this bit of code
$ThisVM = 'AUTO01' $WorkingVM = Get-VM -Name $ThisVM Grant-VMConnectAccess $ThisVM -UserName "$($WorkingVM.ComputerName)\test-rdp" # local unprivileged user on HV host $RDPFileContent = @" full address:s:$($WorkingVM.ComputerName) pcb:s:$($WorkingVM.Id.Guid);EnhancedMode=1 server port:i:2179 negotiate security layer:i:0 drivestoredirect:s:* audiocapturemode:i:1 videoplaybackmode:i:1 audiomode:i:0 redirectprinters:i:0 "@ $TEMPRDP = New-TemporaryFile Set-Content -Value $RDPFileContent -Force -Path $TEMPRDP.FullName &mstsc $TEMPRDP.FullName Start-Sleep -Seconds 10 $TEMPRDP | Remove-ItemI use for that RDP to VM via HV data layer (although this is a slightly older version)
1
u/Main_Ambassador_4985 17d ago
Does this connect into Microsoft Failover Manager also?
The hyper-V mmc is okay for spot checking or removing in but i spend most of my time in pwsh since a script can deal with Hyper-V and Failover clustering.
We have VMM licenses but deleted it because missing storage dependencies.
1
u/claudioazevedo85 17d ago
It can move vms, add vms to cluster and perform VM actions.
I need to expand the possibiliteis but the basic is there.
1
u/headcrap 17d ago
I need RBAC to give nonsysadmins some access but not full management access.. and scoped to a set of VMs.
The product we use today is HV Manager, but at NTLM to AD it does not offer modern auth in 2026.
1
u/claudioazevedo85 17d ago
Hi, I also need this and this is implemented and is on testing. You can put VMs on folders and give permissions to the folder, to a host or to a cluster. check the demo and you will get how it works.
i will get ldap working in the near future, so keel an eye if that is something that you need too.
1
u/rduartept 17d ago
The demo looks great. Especially with the dark theme.
Something you can consider to add is ACL.
Maybe with a place to create them, and then apply then per VM, so that you can apply the same acl template to multiple vms.
Affinity anti-affinity and dependencies are also cool features for HA.
Or even a rebalance feature that migrates vms until all hosts are balanced.
For metrics, hvtop has lots of them you may integrate.
1
u/claudioazevedo85 16d ago
thanks for the feedback.
Affinity & anti-affinity is on the roadmap.
i will take a look on hvtop! thanks!
1
u/lxtakc 16d ago
Nice project. Does the agent handle failover clusters/CSV ownership, e.g. live migrating a VM between nodes, or is it per-host only?
1
u/claudioazevedo85 15d ago
Thanks! It does.
I'm now refining the RBAC function. After that, I'm going to think about how to implement affinity rules. I already have an idea, but that's next on the list.
2
1
u/realslacker 15d ago
VMware owns a trade mark on "vCenter Server" and "VMware vCenter". You might want to consider changing the name before you get a letter from a lawyer.
Aside from the legal issues it looks very interesting!
1
u/Aishou_SK 11d ago
SCVMM's licensing is cheap as hell if you're used to pre-broadcom VMware *AND* utilize the rest of system center, since you can't license SCVMM individually.
10
u/mioiox 17d ago
Isn’t it possible to use some remote API for controlling the host, without an agent?
I mean, many people would be reluctant to install pieces of software on a physical machine, especially if it’s a virtualization host. Nothing personal, just… way easier to nuke a VM, but an OS that’s hosting a dozen or more… Not quite like it.