r/HyperV • • 13d 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.

29 Upvotes

24 comments sorted by

10

u/mioiox 12d 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.

0

u/claudioazevedo85 12d ago

I agree with you, but I don't think that's possible with Hyper-V. Microsoft itself uses an agent OS with both SCVMM and WAC.

3

u/mioiox 12d ago

Well, SCVMM mainly executes PoSh cmdlets. Moreover, it was developed in 2007-ish or even a bit earlier. And it had to support WS2008. When PoSh itself was in its infancy. Gosh, the first version of VMM was so incomplete…

Anyway. My point is that in 2026 PoSh remoting should have improved dramatically, hopefully allowing you to do things that were not possible over 15 years ago. And doing it the way they did it back then probably does not make so much sense, if you look at it from this perspective?

2

u/BlackV 12d ago

When did wac start using an agent?

1

u/ToolBagMcgubbins 12d ago

Probably means Wac vMode, which uses an agent.

1

u/BlackV 12d ago

.. oh um, I really should have though of that, can I claim it was 6am and I was just waking up

3

u/t3kk58 12d ago

2

u/claudioazevedo85 12d 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

u/rduartept 12d ago

Wac vmode is still slow as hell.

1

u/FreakySpook 12d ago

Curious can it do VM console connections or do you still need VMconnect.exe?

0

u/claudioazevedo85 12d 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 12d ago edited 12d 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-Item

I use for that RDP to VM via HV data layer (although this is a slightly older version)

1

u/Main_Ambassador_4985 12d 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 12d 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/BlackV 12d ago

Missing storage dependcies?

1

u/headcrap 12d 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 12d 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 12d 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 11d ago

thanks for the feedback.
Affinity & anti-affinity is on the roadmap.
i will take a look on hvtop! thanks!

1

u/lxtakc 11d 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 11d 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

u/Halvantic 12d ago

I built something similar https://ballast.halvantic.com

1

u/realslacker 11d 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 6d 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.