Linux Kernel Team Lead
Konstantin Khorenko
Container virtualization in Parallels products:
past, present and future.
Open WG Talk #2
Minsk, 2014
Agenda • Types of virtualization
• Paralells products/features evolution
• OpenVZ statistics
• OpenVZ + PCS = OpenPCS
• Integration projects
virt HW
3
Types of virtualization
HW
OS / libs
kernel CT layer
Hypervisor
Apps
OS / libs
Apps
kernel
OS / libs
Apps
Virtual Machines Containers App Containers
4
Products/features evolution
1999
SWSoft founded Virtuozzo 2.6 VZ 2.6.1 VZ 2.6.2
07.2004 02.2005 08.2005
•ms-based kernel
•ubc
•simfs
•standard templates
5
Products/features evolution
3.0 3.0 sp1 4.0
02.2008
•SLM
•vzfs v1
•EZ templates
1st stable version
•simfs
•pre-created templates
•ms-based
kernel
•ZDTM
02.2006
12.2005
10.2006
•RHEL4-based
kernel
•vzfs v2
•RHEL5-based
kernel
4.0
09.2009
•VM support
OpenVZ
Virtuozzo
PSBM
5.0
6
Products/features evolution
4.6 4.7
OpenVZ
10.2010 08.2011
•RHEL6-based kernel
•vSwap
Virtuozzo
PSBM
09.2011
6.0
11.2012
PCS
•ploop
•pStorage
•RKU
•ploop
7
OpenVZ statistics
Hosts with running CTs 34588
Hosts active during last 2 months 30149
Top 10 CT distros
Distro CT count
centos 311052
debian 131050
ubuntu 108857
gentoo 12097
OR 10507
pagoda 4356
scientific 4034
fedora 3916
seedunlim
ited 1965
Top host distros
Distro Host count
CentOS 75433
Scientific 2940
RHEL 1064
Debian 890
Ubuntu 142
Fedora 123
Gentoo 62
openSUSE 24
ALT Linux 13
Sabayon 6
Top 10 CT distros
8
OpenVZ PCS
OpenVZ/PCS comparison
VM
• closed source
• baremetal installation
• support
• more features (pfcache, pStorage,
RKU, backups, …)
• VM support
• integration with other software
CloudLinux ~ any host OS
• open source
• installation on ~any host OS
kernel
kernel
Dispatcher
vztools
ptools
OpenVZ to PCS upgrade?
• not automated
• nodes reinstallation required
• different CLI:
• significant infrastructure changes
• new way of backup handling
• Containers conversion
(simfs -> ploop)
9
OpenPCS
“OpenPCS” is a solution!
ptools
kernel
CloudLinux
PCS
VM
OpenVZ
10
• open source
development model
• baremetal installation
• upgrade to PCS?
yum some packages
• RHEL7-based kernel
• no VMs
(in the first version)
Dispatcher
vztools
OpenPCS
“OpenPCS” future plans
ptools
kernel
CloudLinux
PCS
VM
OpenVZ
11
VM
N
O
V
A
Dispatcher
#1 Integration with OpenStack
Integration with OpenStack
13
Nowadays OpenStack does not manage Containers.
• OpenStack is used for managing clouds
• People mostly don’t care what is used: Containers or Virtual Machines
• Containers provide higher density than Virtual Machines
• Containers provide more elasticity than Virtual Machines
Containers and OpenStack “are meant for each other!”
#2 Integration with Docker
15
What is Docker?
• Container (applications) packaging system
• Can also run Containers (applications)
• Manages mainstream Containers (LXC)
16
“libCT”: new shared CT management layer. Why?
Docker
libContainer
OpenVZ
kernel
vzctl
liblxc libvzctl
mainstream
kernel
lxc
17
OpenVZ
kernel
mainstream
kernel
lxc
C API
Go
AP
I
libCT
“libCT”: new shared CT management layer. How?
Docker vzctl
18
OpenVZ
kernel
mainstream
kernel
lxc
C API
Py A
PI G
o A
PI
libCT
“libCT”: new shared CT management layer. Plans.
Docker prlctl
vzctl
Nova
Questions?
http://parallels.com
http://openvz.org
http://criu.org
Konstantin Khorenko
Thank You
20
Top Related