rootconf nilesh2012
TRANSCRIPT
![Page 1: Rootconf nilesh2012](https://reader033.vdocuments.mx/reader033/viewer/2022060108/554f673ab4c9058a148b4bfb/html5/thumbnails/1.jpg)
High Performant Virtualizationwith OpenVZ
Nilesh Bairagi
![Page 2: Rootconf nilesh2012](https://reader033.vdocuments.mx/reader033/viewer/2022060108/554f673ab4c9058a148b4bfb/html5/thumbnails/2.jpg)
Agenda
Available options in virtualizationOpenVZ introductionLimitationsOpenVZ featuresExperience of OpenVZ in private cloudQuestions
![Page 3: Rootconf nilesh2012](https://reader033.vdocuments.mx/reader033/viewer/2022060108/554f673ab4c9058a148b4bfb/html5/thumbnails/3.jpg)
Full Virtualization (emulation)
Use OS as it isNeed Virtual Machine MonitorPerformance overheadLow density
![Page 4: Rootconf nilesh2012](https://reader033.vdocuments.mx/reader033/viewer/2022060108/554f673ab4c9058a148b4bfb/html5/thumbnails/4.jpg)
Paravirtualization
Need VMMBetter performance than emulatorModified guest OS
![Page 5: Rootconf nilesh2012](https://reader033.vdocuments.mx/reader033/viewer/2022060108/554f673ab4c9058a148b4bfb/html5/thumbnails/5.jpg)
OS Virtualization
Good in both Performance overhead and scalabilitySingle OS gives isolated environmentsDynamic resource management
![Page 6: Rootconf nilesh2012](https://reader033.vdocuments.mx/reader033/viewer/2022060108/554f673ab4c9058a148b4bfb/html5/thumbnails/6.jpg)
OpenVZ
OS based - by modifying kernel, which enable to create and run multiple virtual private servers (VPS) on same host OSVPS are isolated from each other with very little process overhead (1 – 3%)Processes in VPS are scheduled on all CPUs of host (by default)
![Page 7: Rootconf nilesh2012](https://reader033.vdocuments.mx/reader033/viewer/2022060108/554f673ab4c9058a148b4bfb/html5/thumbnails/7.jpg)
Limits in OpenVZ
Mandates similar kernel But allows multiple distributions
Limited VPN capabilitiesHost is single point of failure
![Page 8: Rootconf nilesh2012](https://reader033.vdocuments.mx/reader033/viewer/2022060108/554f673ab4c9058a148b4bfb/html5/thumbnails/8.jpg)
OpenVZ features
Installation has very low system requirements Intel Celeron, Pentium II, Pentium III,
Pentium 4, Xeon or AMD Athlon CPU, 128MB RAM, 4G free space
Dynamic resource managementVPS – Own users & groups, process tree, ip, network & routing, firewall etc.VPS are efficient in utilizing resources, therefore can exceed than actual allocated resources
![Page 9: Rootconf nilesh2012](https://reader033.vdocuments.mx/reader033/viewer/2022060108/554f673ab4c9058a148b4bfb/html5/thumbnails/9.jpg)
Features cont…
Creation of VPS in few secondsUse of templates enables to use pre-configured servers (template cache)Scaling
![Page 10: Rootconf nilesh2012](https://reader033.vdocuments.mx/reader033/viewer/2022060108/554f673ab4c9058a148b4bfb/html5/thumbnails/10.jpg)
Private cloud with OpenVZ
Less number of physical servers (also reduce cost, space and subsequent maintenance)Capacity planning for HW With monitoring and trending
Resource management is dynamic, immediately becomes effective (no reboot) Using packages like vzctl
Wide range of parameters to config
![Page 11: Rootconf nilesh2012](https://reader033.vdocuments.mx/reader033/viewer/2022060108/554f673ab4c9058a148b4bfb/html5/thumbnails/11.jpg)
User_beancounters
Complexity abstracted by v-swap enabled kernels
![Page 12: Rootconf nilesh2012](https://reader033.vdocuments.mx/reader033/viewer/2022060108/554f673ab4c9058a148b4bfb/html5/thumbnails/12.jpg)
OpenVZ cloud
![Page 13: Rootconf nilesh2012](https://reader033.vdocuments.mx/reader033/viewer/2022060108/554f673ab4c9058a148b4bfb/html5/thumbnails/13.jpg)
Resource Management
Disk, CPU and memory customization Mounting VPS on SSD (fast read/write) SANSharing host resources amongst CT is easyLive migration is easy with checkpointRedudant VPS cost only disk spaceReproducible infrastructure
![Page 14: Rootconf nilesh2012](https://reader033.vdocuments.mx/reader033/viewer/2022060108/554f673ab4c9058a148b4bfb/html5/thumbnails/14.jpg)
Questions??