14
High Performant Virtualization with OpenVZ Nilesh Bairagi

Rootconf nilesh2012

  • Upload
    nileshb

  • View
    431

  • Download
    1

Embed Size (px)

Citation preview

Page 1: Rootconf nilesh2012

High Performant Virtualizationwith OpenVZ

Nilesh Bairagi

Page 2: Rootconf nilesh2012

Agenda

Available options in virtualizationOpenVZ introductionLimitationsOpenVZ featuresExperience of OpenVZ in private cloudQuestions

Page 3: Rootconf nilesh2012

Full Virtualization (emulation)

Use OS as it isNeed Virtual Machine MonitorPerformance overheadLow density

Page 4: Rootconf nilesh2012

Paravirtualization

Need VMMBetter performance than emulatorModified guest OS

Page 5: Rootconf nilesh2012

OS Virtualization

Good in both Performance overhead and scalabilitySingle OS gives isolated environmentsDynamic resource management

Page 6: Rootconf nilesh2012

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

Limits in OpenVZ

Mandates similar kernel But allows multiple distributions

Limited VPN capabilitiesHost is single point of failure

Page 8: Rootconf nilesh2012

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

Features cont…

Creation of VPS in few secondsUse of templates enables to use pre-configured servers (template cache)Scaling

Page 10: Rootconf nilesh2012

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

User_beancounters

Complexity abstracted by v-swap enabled kernels

Page 12: Rootconf nilesh2012

OpenVZ cloud

Page 13: Rootconf nilesh2012

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

Questions??