What was one of the main drivers behind server virtualization?
Server hardware resources were being underutilized.
What is a VM?
Virtual Machine - it is a software emulation of a physical server with an operating system.
What is a hypervisor?
The virtualization software that creates VMs and performs the hardware abstraction that allows multiple VMs to run concurrently.
What are the 4 most popular hypervisors?
What is a Type 1 Hypervisor?
It runs directly on the system hardware. It is commonly referred to as “bare metal” or “native.”
What is a Type 2 Hypervisor?
This type of hypervisor (for example, VMware Fusion) requires a host OS to run. This is the type of hypervisor that is typically used by client devices.
What is one key capability of VMs?
They can be migrated from one server to another while preserving transactional integrity during movement.
What is a container?
It is an isolated environment where containerized applications run. It contains the application, along with the dependencies that the application needs to run.
What is a container image?
It is a file created by a container engine that includes the application code along with its dependencies.
What are 6 popular container engines?
What is a Virtual Switch (vSwitch)?
It is a software-based Layer 2 switch that operates like a physical Ethernet switch.
What are vSwitches used for?
They enable VMs to communicate with each other and with external physical networks through the physical network interface cards (pNICs).
What is a limitation of vSwitches?
Multiple vSwitches can be created under a virtualized server, but network traffic cannot flow directly from one vSwitch to another vSwitch within the same host, and the vSwitches cannot share the same pNIC.
What are 5 of the most popular vSwitches?
What is one of the downsides to standard vSwitches?
Every vSwitch that is part of a cluster of virtualized servers needs to be configured individually in every virtual host.
What is distributed virtual switching?
It is a feature that aggregates vSwitches together from a cluster of virtualized servers and treats them as a single distributed virtual switch.
What are 3 advantages to using distributed virtual switching?
What do containers use vSwitches for?
To enable communication within a node (server) or with the outside world.
What is another name for vSwitches?
Virtual Bridges
What does Docker do by default?
It creates a virtual bridge called Docker0, and it is assigned the default subnet block 172.17.0.1/ 16. Every container created by Docker is assigned a virtual Ethernet interface (veth) on Docker0 and an IP address from 172.17.0.0/16.
What does the veth interface appear like to the container?
eth0
Can containers communicate with each other?
All containers can then communicate with each other only if they are within the same node.
How do you enable containers to communicate with containers in other nodes?
Routing at the OS level or by using an overlay network.
What happens if Docker is installed on another node?
If Docker is installed on another node using the default configuration, it ends up with the same IP addressing as the first node, and this needs to be resolved on a node-by-node basis.