
Install KVM on CentOS 7 by verifying virtualization support, enabling BIOS, and installing qemu-kvm, libvirt, libguestfs-tools, and virt-install; then configure libvirt and virbr0 for VM management.
Create and manage new virtual bridges in a CentOS KVM environment, configuring clusternet and management01 with NAT for VM internet access via a physical interface, using virsh commands.
deploy a new virtual machine in a KVM environment, enable IPv4 forwarding on the host for a NAT-managed network, and install CentOS 7 from a downloaded ISO or local repository.
Learn to manage KVM networking by listing virtual machines with virsh --all, viewing domain interfaces, and connecting a VM to a second network, including attaching, IP checks, and detaching networks.
List and manage virtual machines in a KVM environment by starting, stopping, and destroying VMs, using graceful shutdowns, and verifying running versus all VMs, plus accessing VM consoles.
Learn how to clone a virtual machine in Linux KVM by stopping the source VM, creating a new clone from the original, and managing images and network bridges.
Learn to create and manage VM snapshots in a KVM environment, including naming, describing, and listing snapshots. Revert to a chosen snapshot and delete unwanted snapshots to maintain domain stability.
Learn to add a new disk to a vm by creating and attaching a disk image, formatting and partitioning it, and configuring a permanent mount.
Remove a disk from a KVM virtual machine by detaching it; avoid doing so while the VM runs. Stop the VM, detach the disk, then remove it from the server.
increase the memory of a guest virtual machine by shutting it down, editing the domain memory entry in the XML, doubling the 4G value, and restarting to verify the new configuration.
Learn to retrieve virtual machine information in Linux KVM by listing block devices, disk sizes, and network interfaces. Connect to the server to inspect interface status and traffic.
Secure remote access to a host by hardening the server, generating and using SSH key pairs, configuring iptables, and disabling password login, then verifying key-based SSH access.
Deploy a Windows Server 2019 in a KVM environment by configuring VM parameters, attaching the installation ISO, and enabling VNC access for the installation process.
Learn to deploy a kvm environment on Ubuntu by verifying virtualization with cpu checker, updating packages, installing qemu-kvm and libvirt, and enabling libvirt to start at boot.
Create and configure virtual switches in bridge mode, view and manage them with virsh and v net commands, assign dhcp and ip addresses, and enable autostart for vm networking.
Deploy a Ubuntu virtual machine in a Linux KVM environment using an ISO, allocate 2 gb RAM, 15 gb disk, 1 cpu, enable SSH, and connect via the default network.
Perform basic administration tasks in your Linux KVM environment by listing servers, performing shutdowns (graceful or direct), starting and renaming nodes, and inspecting IP addresses, disks, and network interfaces.
Shut down the original server, clone it with the clone command to a target node with host name, and regenerate unique IDs to avoid IP conflicts and manage storage.
Attach a new virtual interface to a VM using domain and network names, reboot to apply, verify IP, and learn to detach by updating netplan before removal.
Create and attach a new block device to a virtual machine, configuring host, source, and target. Confirm the 100 gig volume appears and how to detach it.
Install NFS packages, create a shared data folder with read/write access, export it via /etc/exports, and restart the NFS service to enable live migration between KVM nodes.
perform live storage migration of a virtual machine between kvm nodes using libvirt, ensuring matching storage pools, creating a sized empty volume on the destination, and completing the migration.
Perform a live storage migration between nodes by creating the target's matching storage pool and preallocating an identical volume, then finalize the migration for the vm on the new node.
KVM (Kernel based Virtual Machine) is the virtualization solution for Linux. It consist of a loadable Kernel module that allows the Linux Kernel to work as a Hypervisor. KVM provides hardware-assisted virtualization for a wide variety of guest operating systems.
Under KVM, each VM is a Linux process that is scheduled and managed by the kernel and has private virtualized hardware (i.e CPU, network card, disk, etc.). It also supports nested virtualization, which allows you to run a VM inside another VM.
In this course, we are going to cover the objectives on KVM ( Kernel Based Machines) , we will discuss the following topics with appropriate LABs at end of the session :
Quick Introduction to Hypervior and KVM :
What is a Hypervisor ?
KVM Quick Intro , its Pros/Cons and Terminology
KVM Installation and Configuration
LAB Details, Pre-Reqs for KVM Installation
KVM Installation
KVM Network Configuration
KVM Storage Pool Configuration
Creating Guest Virtual Machines
KVM Administration
Management of Guest Virtual Machines
Backup (Snapshots) of Guest Virtual Machines
Expanding the disk sizes of Guest Virtual Machine
Guest Virtual Machines Snapshot Create/Restore
Renaming a Guest VM
Increasing resources on of Guest Virtual Machines
Cloning a guest VM
Troubleshooting the KVM issues.
VM restore
KVM vBridge creation (Host Only and NAT)
KVM (Kernel based Virtual Machine) is the virtualization solution for Linux. It consist of a loadable Kernel module that allows the Linux Kernel to work as a Hypervisor. KVM provides hardware-assisted virtualization for a wide variety of guest operating systems.