O'Reilly logo

KVM Virtualization Cookbook by Konstantin Ivanov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Getting ready

For this recipe, we are going to need the following:

  • Two servers with libvirt and qemu installed and configured, named kvm1 and kvm2. The two hosts must be able to connect to each other using SSH keys and short hostname.
  • A server with an available block device that will be exported as an iSCSI target and reachable from both libvirt servers. If a block device is not available, please refer to the There's more... section in this recipe for instructions on how to create one using a regular file. The name of the iSCSI target server in this recipe is iscsi_target.
  • Connectivity to a Linux repository to install the guest OS.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required