Installing RHEV Hypervisor on VMWare Fusion

If you are interested in Red Hat Virtualization and couldn’t afford to buy machines for the hypervisor, using VMWare would be one possible cheaper way to achieve it. By using nested virtualisation technology, you can easily build an environment. Only thing you need to before the installation is making some changes in the vmx fileContinue reading “Installing RHEV Hypervisor on VMWare Fusion”

Check IP address of a virtual guest

There’s a time you want to check virtual guest’s IP, but no way to access the machine as you only have text terminal. You can retrieve IP address by using the following script. #!/bin/bash macaddress=`virsh dumpxml $1 | grep “mac address” | awk ‘BEGIN { FS = “=” }; {print $2}’ | sed ‘s//>/ /’`Continue reading “Check IP address of a virtual guest”

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’”

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.”