Duration: 5 days
Openstack is comprehensive open source platform for delivering cloud services. Reference implementations of various openstack components use linux networking and virtualization capabilities. Installing and administrating openstack requires at least basic knowledge of administration and usage of linux.
This course explains general and linux specific virtualization mechanisms and explains how to implement qemu/kvm virtualization with libvirt using virsh and vmm. Also, basics of linux networking mechanisms used in virtualization environment are explained and implemented. Gathered knowledge is essential for attending Openstack essentials course.
In this course it is assumed that students have limited linux knowledge and this course prepares students to understand and implement basics Ubuntu linux (16.04) installation, system administration, and to understand and use various standard linux tools that are used in Openstack implementation. The goal here is not to provide comprehensive system administration course, rather, to provide enough knowledge to work with installation and administration of virtualization and openstack.
Remark: this course does not cover Openstack itself, rather it provides essential knowledge about infrastructure and virtualization required for attending Openstack essentials course. Openstack essentials course covers Openstack itself
Part1: Fundamentals of Ubuntu linux administration and use for Openstack administrators
Goal: This part of course prepares students to understand and implement basic Ubuntu linux installation, system administration, and to understand and use various standard tools that are used in Openstack implementation.
-Linux distributions, Ubuntu distributions
-Ubuntu server installation, ver. 16.04
-su and sudo: concepts, sudo configuration
-adding/updating/deleting users and groups
-services: sshd; passwordless authentication
-communication tools: ssh, scp, curl
-standard unix file permissions
-file descriptor concepts; redirecting IO, pipes
-“everything is file”: proc filesystem
-file content tools: cat, less, tail, head, wc, tee
-file/output processing and regular expressions: grep, sort, sed, awk
-utils and system tools: find, tar, gzip, iotop, kill, df, mount, poweroff, ..
-bash: usage and environment,
-configuring network: iproute2, configuration files
-disk partitioning, lvm
Part2: Virtualization with qemu-kvm in Linux environment for Openstack administrators
Goal: This part of course prepares students to understand and implement linux virtualization concepts with kvm/qemu/libvirt using virsh and vmm.
-Virtualization overview: “full” virtualization vs “internal” virtualization
-full virtualization concepts; virtualizing hardware: CPU, controller, disk, cd, memory, network card, display card…
-kvm and qemu
-virsh and vmm
-networking options; linux bridging details
-storage options; local and remote storage; remote storage options
-configuring and starting vm, installing guest os
-snapshots: internal, external snapshots, live disk backup
-live migration with nfs as shared storage, live block migration
Part3: Resource sharing and isolation concepts in Linux environment
-internal isolation: introduction to chroot and namespaces
-resource management and isolation: cgroups overview
-using cgroups for resource isolation
-using cgroups for resource limitation/scheduling
-applying cgroups on qemu/kvm machines