As a “Cloud Server”, i believe support to run virtual machine is a must have function. There many people run freenas inside esxi, and without support to run virtual machine I have to do the same with rockstor. But that create tons of problems.
Beacause rockstor is base on centos, it already have the kvm, and it is good enough. The only thing missing is a proper way to manage it.
it can achieve by simply intergrate other kvm web manage tool and make sure rockstor’s backup and snapshot function can do well on running vm’s disks. or build rockstor’s own web manage tools.
If i want to snapshot all vms, i need to suspend the vms then do a share snapshot in rockstor, and resume them after snapshot. It will be better it rockstor can do it automatically.
It is same if rockstor have a external share backup function.
That sounds pretty good. I was thinking of wrapping this functionality as a Rock-on so only users who are interested can get it. check you docker hub, may be there’s an image for this already.
This is actually a pretty big up and coming movement called “HyperConvergence.” I would love to see something like this as well.
I really like the clean interface that RockStor has, if you were to implement KVM management in the UI, that would be pretty slick. Doing something like BTRFS + KVM + CephFS would be a pretty killer solution.
I’m not sure if anyone is still paying attention to this thread, or working on this as a feature, but I though it would be worth noting that if you store your VM images in a rockstor btrfs share, and want it to autostart at boot, you will need to add the rockstor service as a prerequisite for starting the libvirtd (and maybe libvirt-guests) service(s) in the systemd configs.
I suppose I should have added that without this dependency, systemd will start libvirt, and thus the libvirt managed autostart VMs before rockstor gets around to mounting all of it’s btrfs shares, and thus libvirtd will not be able to find the VM’s disk image.
There are several success attemps to run libvirtd in container, you can start with those and add any manage software you want. My personal preference is mist.io .or simply remote controll it from other linux workstation.
Thanks for the answer.
I’am really new to linux and most of the how to’s are not that easy to understand for a newbie.
By running libvirtd in a container do you mean run it in Docker/Rock-on?
Do you have a link to one i could try?
For the base installation of kvm/libvirt i used the guide in the end of the article
It worked, but the managment part of kvm/VM’s is the problem, since i don’t use linux on any other machine.