Dell Inc.
KVM Virtualization in RHEL 6 Made Easy
Contents
1. Introduction......................................................................................................................................... 4
1.1 Purpose of this document .............................................................................................................. 4
1.2 A very brief overview of KVM ........................................................................................................ 4
1.3 Terms & Conventions ...................................................................................................................... 4
2. Preparing your environment ............................................................................................................. 5
2.1 Hardware .......................................................................................................................................... 5
2.2 Virtualization Technology .............................................................................................................. 5
2.3 Required RPMs ................................................................................................................................. 5
2.4 OS Installation Source ..................................................................................................................... 6
2.5 Disk Space ......................................................................................................................................... 6
2.6 Networking ....................................................................................................................................... 6
2.7 SELinux .............................................................................................................................................. 7
3. Creating VMs ....................................................................................................................................... 8
4. Cloning VMs ......................................................................................................................................... 9
5. Managing VMs .................................................................................................................................... 10
5.1 Common tasks ................................................................................................................................ 10
5.2 Getting access to a VMs console ................................................................................................. 11
5.3 Attaching USB storage device to a VM ....................................................................................... 11
5.4 GUI Tools ......................................................................................................................................... 12
6. Changing VM parameters ................................................................................................................ 12
6.1 Memory ............................................................................................................................................ 12
6.2 VCPUs .............................................................................................................................................. 13
6.3 Disk capacity .................................................................................................................................. 14
7. Deleting VMs ...................................................................................................................................... 14
8. Conclusion ......................................................................................................................................... 15
8.1 It‟s easy! ......................................................................................................................................... 15
8.2 Additional Documentation ........................................................................................................... 15
8.3 Future Topics ................................................................................................................................. 15