Chapter 6. Virtual Machine Lifecycle Management
In the previous chapters, we have covered some of the main operations on a virtual machine. You have learned the steps to create a virtual machine. In this chapter, we are going to cover the major tasks associated with a system administrator to manage a virtual machine, including offline and live migration of a virtual machine. You might see some commands revisited or repeated from the previous chapters. You need a Fedora 22 virtual machine ready to follow the examples in this chapter. You can download fedora from the following link:
https://getfedora.org/en/workstation/download/
We will start this chapter by describing the state of a virtual machine during its lifecycle:
- Undefined: This is a state where the virtual machine is neither created nor defined in libvirt.
- Defined/Shutoff: In this state, libvirt is aware of the virtual machine. The configuration file to define and start a virtual machine is available in
/etc/libvirt/qemu
...