KVM Host- Read your hypervisor’s Performance using Top

How subscribed is your server? Here’s a sample of top output.  Here’s some key things that beginners need to know about how your host “sees” the VM’s.  My example is KVM on LTS.  This example is based on a dual proc xeon 8 cores, no hyperthreading, 64GB, HP Gen 5 Proliant Rack Server.   Tasks: 238 total, 1 running, 237 sleeping, 0 stopped, 0 zombie %Cpu0 : 1.0 us, 0.7 sy, 0.0 ni, 98.3 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st %Cpu1 : 1.7 us, 0.7 sy, 0.0…

Read More

KVM and Ubuntu Basics – How to Properly Backup your XML Files

So in finicking around with KVM on my Ubuntu 16.04.1 for a little bit, and i’d like to share something that may really save you a lot of time and effort when it comes to those pesky xml files that describe what your Virtual Machine is, and what it’s got under the hood for resources. I first came to the realization that there are more than just one XML files generated in order to satsify all the components of the VM.   There’s XML files for Network Network Filter Rules…

Read More

phpMyAdmin and CentOS and EC2 and RDS – fixed!

If you’re reading this and it matters to you.  I’m about to save you hours of go-nowhere research.  Nowhere else have i found the solution.  So here you go world. I can describe the problem as this:  PHPMyAdmin apparently won’t work under Amazon’s EC2 instance of CentOS using RDS or some other TCP based SQL connection. Maybe the problem description is too general in some places, and maybe too specific in others.  However, if you’ve “tried everything” and phpMyAdmin still won’t work for you, this is it.

Read More

Mail In a Box on EC2 with S3 backup script

I wanted to break free and set up my own email server on Amazon’s AWS cloud. After signing up for a one year free trial, creating my mailinabox server on a T2 Micro instance with Ubunut 14.04LTS, getting the externally hosted DNS settings up and running, and testing OK, it was now time to focus my attention on backing up our email. Amazon’s free tier provides you with 5GB of free S3 storage, which is more than enough to keep and restore the emails on the server i wish to…

Read More