How to install OpenStack on Fedora VM

OpenStack requires a system that has the virtualisation feature, but you might want to test it on the virtual guest before actually install it in bare metal system. In that case, you can achieve it by enabling nested virtualisation feature in recent Linux distribution. You can find if your distro has that feature by checkingContinue reading “How to install OpenStack on Fedora VM”

Make a VM template without using LVM in KVM

In my opinion, template is the most useful feature in virtualization technology. After creating one fully installed VM, you can create several temporary VMs from the original without spend lots of hours or lots of disk space. In LVM environment, you can use ‘snapshot’ feature of lvcreate command. But, LVM volume is not easy toContinue reading “Make a VM template without using LVM in KVM”

What’s the internal details for ‘-startdate’ option in ‘qemu-kvm’

When you run KVM-based virtual machine, you can specify ‘-startdate’ option. What format we can use and what actions are happening inside the qemu-kvm. Options are checked in main() function in vl.c. case QEMU_OPTION_startdate: { struct tm tm; time_t rtc_start_date; if (!strcmp(optarg, “now”)) { rtc_date_offset = -1; } else { if (sscanf(optarg, “%d-%d-%dT%d:%d:%d”, &tm.tm_year, &tm.tm_mon,Continue reading “What’s the internal details for ‘-startdate’ option in ‘qemu-kvm’”

Configuring a Bridge Interface for the KVM-based virtual machines

If you are going to run virtualized host as a web server or some services for the clients, the systems should be accessible from the outside. Unfortunately, the default network configuration in KVM is NAT (Network Address Translation). It is good for some VMs who will co-work with other VMs, but for the server, itContinue reading “Configuring a Bridge Interface for the KVM-based virtual machines”

Set up test environment with two virtual machines.

To test some problems usually I have to have two machines which is not easy to have. Especially if I have to configure it for each version, RHEL4, RHEL5, Fedora, etc. Virtualzation comes here to solve those kinds of difficulty. But, just installing new operating system each time is also not a perfect solution. YouContinue reading “Set up test environment with two virtual machines.”