Road to the RedHat Cert: KVM and Spice

I’ve had the joy of learning KVM from scratch and trying to figure out how the hell this s*** works! Now, it actually wasn’t that bad. To be honest, the only gripe I have about it is that it’s really not beginner friendly. There are a few things here and there that irk me but to be frank, it does the job just fine. I would say it’s probably better than VirtualBox in terms of performance, but I wouldn’t know for sure.

That being said, there are certainly a few things to learn when it comes to using KVM. For example, you can actually run KVM in a system that doesn’t have a screen! I haven’t tried this one yet but I know it’s possible. The man page says so. Another thing to learn would be how to install an OS over the internet. It’s certainly possible and it’s definitely hella cool. I had fun doing this one when for some reason one of the tools within the KVM toolset refused to access an ISO I was trying to provide.

This brings me to the things I dislike so far about KVM and the tools that come for it. The first time I installed KVM, the installation went smoothly but everything thereafter didn’t. Guides online say to use the --os-variant=list flag for virt-install to check out what the shortcodes are for the os variant you’re installing yet this setting apparently doesn’t exist anymore and you’re now supposed to use os-query info to get a list of those same shortcodes. Perhaps it’s for the better, but some people need to pay a little more attention now when using these guides online.

The last thing that irked me was the first time I installed the KVM toolset. I tried a few things, but I just simply could not troubleshoot a permission denied error when it came to using the shm. Apparently this whole directory was just totally inaccessible to qemu and KVM. After my video call with Matt Hartley today, however, I’ll definitely give another look to it and see if it might be a SELinux issue or even an ACL issue. I’ll check the logs and whatnot but for now I have to leave it if I want to be prepared for June 30th.

Look guys, if you’re using KVM in an enterprise environment, you’re gonna need a proper storage solution. I was looking on NewEgg for something for you guys (affiliate) and I found the NORCO RPC-4224 4U Rackmount Server Case with 24 Hot-Swappable SATA/SAS Drive Bays. I hope you like it.

Leave a Reply

Your email address will not be published.


*