Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi
-
I posted a guide on my blog about setting up a Fedora 26 KVM / QEMU hypervisor that uses the Kimchi-project for remote virtualization management, which includes a working web-based VM console.
Here's the link: https://www.timothygruber.com/linux/fedora-26-kvm-html5-remote-access-with-web-console-via-kimchi-part-1/
I hope it helps anyone who needs it as much as it would have helped me had I came across it a long time ago.
It's easy to create on my blog because I can copy/paste images into the editor... it's like working inside of MS Word.
I was thinking of recreating it on here for ML, but not sure if it's worth it or not, as well as the chance of hurting SEO.
Should I take the time to do it and just change the wording a bit?
-
Nice step by step Tim, are you using KIM yourself in production?
-
@stuartjordan said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:
Nice step by step Tim, are you using KIM yourself in production?
Just one KVM server. The rest are VMWare and Hyper-V, though I'm actively replacing VMWare with KVM.
-
Here's a screenshot some might appreciate. Here's how I installed the MATE Desktop via CLI:
dnf -y group install "MATE Desktop" echo "exec /usr/bin/mate-session" >> ~/.xinitrc reboot now startx
So, if you need it, it's there. But I wouldn't recommend installing the MATE Desktop group on production servers.
-
@tim_g I was looking for a decent GUI interface to build a KVM Hypervisor for a SAM-SD. See my post here. Thanks for posting this.
-
Cool - I need to move away from my XS setup. I need to give this a try.
-
@dashrender said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:
Cool - I need to move away from my XS setup. I need to give this a try.
Starwind will have an HTML 5 setup for KVM soon.
-
@tim_g
I like , and I do use this but a couple of pointers:
Minimal setup can be:
wget http://kimchi-project.github.io/wok/downloads/latest/wok.el7.centos.noarch.rpm
wget http://kimchi-project.github.io/kimchi/downloads/latest/kimchi.el7.centos.noarch.rpmCause you are downloading this on server, and gingerbase is good and all, but it just provides the monitoring and shutdown of Host, which can be optional.
Secondly Kimchi is very modular, and you can stop it :
systemctl stop wokd systemctl stop nginx
And you are back to Vanilla KVM, what I do is I rely on cockpit and have those packages ready if needed. and start them manually / on demand. cause they do consume some RAM. but still very neat ESXi contender.
-
@jaredbusch said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:
@dashrender said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:
Cool - I need to move away from my XS setup. I need to give this a try.
Starwind will have an HTML 5 setup for KVM soon.
Do you have more info on this?
-
@penguinwrangler said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:
@jaredbusch said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:
@dashrender said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:
Cool - I need to move away from my XS setup. I need to give this a try.
Starwind will have an HTML 5 setup for KVM soon.
Do you have more info on this?
@KOOLER (from Starwind) posted about it this morning in another thread.
https://mangolassi.it/topic/14684/looking-for-virtualization-advice/34
-
@jaredbusch said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:
@penguinwrangler said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:
@jaredbusch said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:
@dashrender said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:
Cool - I need to move away from my XS setup. I need to give this a try.
Starwind will have an HTML 5 setup for KVM soon.
Do you have more info on this?
@KOOLER (from Starwind) posted about it this morning in another thread.
https://mangolassi.it/topic/14684/looking-for-virtualization-advice/34
I literally stopped reading that thread the post before his post! Got busy.
-
@magicmarker said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:
@tim_g I was looking for a decent GUI interface to build a KVM Hypervisor for a SAM-SD. See my post here. Thanks for posting this.
Ah, I completely missed that topic or I would have referenced this one in there for you.
-
@penguinwrangler said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:
@jaredbusch said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:
@penguinwrangler said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:
@jaredbusch said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:
@dashrender said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:
Cool - I need to move away from my XS setup. I need to give this a try.
Starwind will have an HTML 5 setup for KVM soon.
Do you have more info on this?
@KOOLER (from Starwind) posted about it this morning in another thread.
https://mangolassi.it/topic/14684/looking-for-virtualization-advice/34
I literally stopped reading that thread the post before his post! Got busy.
Lol, me too!
-
@jaredbusch said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:
@dashrender said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:
Cool - I need to move away from my XS setup. I need to give this a try.
Starwind will have an HTML 5 setup for KVM soon.
I hope it's nice and featureful.
-
I was also able to remotely connect to the hypervisor on my Korora 25 laptop via VMM.
Caveat: I'm able to manage the VMs settings, but not view through the console. It just keeps repeatedly asking me for the password. No issues adding/removing a NIC, though.
I have some more things to try. I'll report back with results. Anyone else run in to this connecting to a remote host? Maybe it has to do with the VPN connection...
-
@tim_g said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:
I was also able to remotely connect to the hypervisor on my Korora 25 laptop via VMM.
Caveat: I'm able to manage the VMs settings, but not view through the console. It just keeps repeatedly asking me for the password. No issues adding/removing a NIC, though.
I have some more things to try. I'll report back with results. Anyone else run in to this connecting to a remote host? Maybe it has to do with the VPN connection...
Change your Display in the virtual machine in VMM from SPICE to VNC
-
@penguinwrangler said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:
@tim_g said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:
I was also able to remotely connect to the hypervisor on my Korora 25 laptop via VMM.
Caveat: I'm able to manage the VMs settings, but not view through the console. It just keeps repeatedly asking me for the password. No issues adding/removing a NIC, though.
I have some more things to try. I'll report back with results. Anyone else run in to this connecting to a remote host? Maybe it has to do with the VPN connection...
Change your Display in the virtual machine in VMM from SPICE to VNC
SPICE sets up a channel for each item. If you set up key based access it won't do that any more. Adding your user to the libvirt group helps management a lot also.
-
@penguinwrangler said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:
@tim_g said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:
I was also able to remotely connect to the hypervisor on my Korora 25 laptop via VMM.
Caveat: I'm able to manage the VMs settings, but not view through the console. It just keeps repeatedly asking me for the password. No issues adding/removing a NIC, though.
I have some more things to try. I'll report back with results. Anyone else run in to this connecting to a remote host? Maybe it has to do with the VPN connection...
Change your Display in the virtual machine in VMM from SPICE to VNC
If I use VNC, then the webconsole won't work. Id prefer to keep using spice if possible, or find a way to make VNC work.
I will switch it later to see if that resolves the VMM issue.
-
@tim_g said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:
@penguinwrangler said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:
@tim_g said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:
I was also able to remotely connect to the hypervisor on my Korora 25 laptop via VMM.
Caveat: I'm able to manage the VMs settings, but not view through the console. It just keeps repeatedly asking me for the password. No issues adding/removing a NIC, though.
I have some more things to try. I'll report back with results. Anyone else run in to this connecting to a remote host? Maybe it has to do with the VPN connection...
Change your Display in the virtual machine in VMM from SPICE to VNC
If I use VNC, then the webconsole won't work. Id prefer to keep using spice if possible, or find a way to make VNC work.
I will switch it later to see if that resolves the VMM issue.
Okay, so SPICE does work remotely on my Korora laptop via VMM. I just didn't type in my password enough times. It asks for it 6 times before it displays the VM, and there's about a 7-8 second delay when the VM is not running a GUI. After I "startx", then it seems fine, though just a bit laggy.
I also tried switching to VNC, and that just straight up doesn't work. At this point it's just a time sink to get working since SPICE seems to work fine everywhere.
-
@Tim_G Is this is just a 1:1 or can you use this install to manage multiple KVM hosts?