In this recipe, we are going to set up an iSCSI target, configure a storage pool for it, and create a new KVM instance using the attached iSCSI block device as its backend volume. Then, we are going to perform a manual offline migration of the instance to a new host.
Manual offline migration using an iSCSI storage pool
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...