1 / 18

OpenVZ

Overview. Review of OpenVZFeaturesResource management InstallationVM creation VM managementCheckpointingMigrationLive migration (online)Offline migration. OpenVZ features. Open Source project of SWSoft's VirtuozzoRun 10s, even 100s, of Linux* VMs on one box (~30 VMs per 1GB of RAM)Support

lave
Download Presentation

OpenVZ

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


    1. OpenVZ Live Migration Jim Owens

    2. Overview Review of OpenVZ Features Resource management Installation VM creation VM management Checkpointing Migration Live migration (online) Offline migration

    3. OpenVZ features Open Source project of SWSoft’s Virtuozzo Run 10s, even 100s, of Linux* VMs on one box (~30 VMs per 1GB of RAM) Supports up to 64 CPUs and 64GB RAM Low virtualization overhead (1-3%) Change VM resource allocations on the fly Checkpointing Live migration *Fedora, CentOS, Gentoo, SUSE, Debian, Ubuntu, Slackware, etc.

    4. Resource management Two-level disk quotas (disk blocks and inodes) Per server, per user and per group within guests Two-level CPU scheduler Configurable allocation per guest, standard Linux scheduler inside guests User bean counters ~20 configurable parameters Five associated levels: held, maxheld, barrier, limit, failcnt /proc/user_beancounters

    5. Installation Install bare-bones Linux distro on hardware node (preferably Fedora, CentOS, RHEL) Set up OpenVZ yum repository Download & install OpenVZ kernel Stable version 2.6.9 Test version 2.6.18 FC5 and SUSE 10 version 2.6.16 Update /etc/sysctl.conf Reboot into new kernel Install tools: vzctl, vzpkg, vzquota Start vz service

    6. OS template cache preparation Install one or more OS templates Metadata Package lists, repo location(s), scripts, keys, etc. Repocache Stores local copy of packages (can be faster) Precreated OS template cache Not recommended, as template cache cannot be updated http://openvz.org/download/template

    7. VM creation # vzlist –a # vzpkgls # vzctl create 101 –ostemplate fedora-core-5-i386-default # vzctl set 101 --hostname waldo.tux.net -–save # vzctl set 101 --ipadd 192.168.10.101 –-save # vzctl set 101 --nameserver 192.168.10.1 -–save # vzctl start 101 # vzctl enter 101 # [root@waldo /]# exit exited from VE 101 # vzctl set 101 –userpasswd root:password

    8. VM management

More Related