Библиотеки и фреймворки для построения клаудов Данилов Константин Mirantis koder-ua.blogspot.com.

Slides:



Advertisements
Similar presentations
With ovirt & virt manager
Advertisements

© MIRANTIS 2012PAGE 1© MIRANTIS 2012 Does Hypervisor Matter in OpenStack Greg Elkinbard Senior Technical Director.
Openstack user survey IceHouse Summit. 387 Deployments survey responses 539 companies Top 10 countries 216 UG members.
Virtual Machine Technology Dr. Gregor von Laszewski Dr. Lizhe Wang.
Lightweight virtual system mechanism Gao feng
Bringing Together Linux-based Switches and Neutron
Seamless migration from Nova-network to Neutron in eBay production Chengyuan Li, Han Zhou.
Lars Kurth Community Manger, Xen Project Chairman, Xen Project Advisory Board Director, Open Source, Citrix lars_kurth.
Profit from the cloud TM Parallels Dynamic Infrastructure AndOpenStack.
NWCLUG 01/05/2010 Jared Moore Xen Open Source Virtualization.
What to expect.  Linux  Windows Server (2008 or 2012)
Efficient VM Introspection in KVM and Performance Comparison with Xen
VIRTUALIZATION WITH SOLARIS A.V.Bogdanov, PyaeSoneKoKo State Marine Technical University, St.petersburg.
Network Implementation for Xen and KVM Class project for E : Network System Design and Implantation 12 Apr 2010 Kangkook Jee (kj2181)
COMS E Cloud Computing and Data Center Networking Sambit Sahu
Supporting ethtool with Linux Integration Service Open Source Technology Center Microsoft.
Intro to Virtualization Andrew Hamilton TJ IT Technician.
European Organization for Nuclear Research Virtualization Review and Discussion Omer Khalid 17 th June 2010.
Virtualization for Cloud Computing
LINUX Virtualization Running other code under LINUX.
Jaeyoung Yoon Computer Sciences Department University of Wisconsin-Madison Virtual Machine Universe in.
To run the program: To run the program: You need the OS: You need the OS:
Deploying Moodle with Red Hat Enterprise Virtualization Brian McSpadden Director of Network Operations Remote-Learner.net.
Virtual Infrastructure: kvm, uvb + libvirt Bryan McLellan Senior Systems Administrator Widemile.
System Center 2012 Setup The components of system center App Controller Data Protection Manager Operations Manager Orchestrator Service.
Cloud Operating System Unit 12 Cloud System Management I M. C. Chiang Department of Computer Science and Engineering National Sun Yat-sen University Kaohsiung,
CS 149: Operating Systems April 21 Class Meeting
INTRODUCTION TO CLOUD COMPUTING CS 595 LECTURE 7 2/23/2015.
Nimbus & OpenNebula Young Suk Moon. Nimbus - Intro Open source toolkit Provides virtual workspace service (Infrastructure as a Service) A client uses.
+ CS 325: CS Hardware and Software Organization and Architecture Cloud Architectures.
Creating an EC2 Provisioning Module for VCL Cameron Mann & Everett Toews.
INTRODUCTION TO CLOUD COMPUTING CS 595 LECTURE 2.
Containers are the future of Cloud Pavel Odintsov CTO, FastVPS Eesti OU
Virtualization for the LHCb Online system CHEP Taipei Dedicato a Zio Renato Enrico Bonaccorsi, (CERN)
Docker and Container Technology
Virtualization One computer can do the job of multiple computers, by sharing the resources of a single computer across multiple environments. Turning hardware.
Cloud Computing – UNIT - II. VIRTUALIZATION Virtualization Hiding the reality The mantra of smart computing is to intelligently hide the reality Binary->
Workload Active directory BizTalk server DHCP DNS Dynamics Exchange server Fax server IIS Lync server RDS SharePoint server SQL System Center Visual.
Libvirt management Andrea Chierici Virtualization tutorial Catania 1-3 dicember 2010.
Introduction to KVM Andrea Chierici Virtualization tutorial Catania 1-3 dicember 2010.
E Virtual Machines Lecture 5 Network Virtualization Scott Devine VMware, Inc.
KVM tutorial #2 Andrea Chierici Virtualization tutorial Catania 1-3 dicember 2010.
SARA Reken- en Netwerkdiensten Experiences running a HPC Cloud Ron Trompert on behalf of the SARA Cloud team.
VIRTUAL MACHINE – VMWARE. VIRTUAL MACHINE (VM) What is a VM? – A virtual machine (VM) is a software implementation of a computing environment in which.
Intro To Virtualization Mohammed Morsi
KVM: Virtualisation The Linux Way Amit Shah GEEP.
Open Source Virtualization Andrey Meganov RHCA, RHCX Consultant / VDEL
Secure remote management with virtualization Daniel P. Berrangé.
Virtualization Neependra Khare
Virtualization - an introduction Gordon Ross Computing Service.
Welcome to the Virtual Machine Mark Cyzyk The Sheridan Libraries Johns Hopkins University.
Daniel P. Berrangé Principal Software Engineer, Red Hat.
XEN – The Art of Virtualisation. So what is Virtualisation? ● Makes use of spare capacity ● Run multiple instances of OSes simultaneously ● Multitasking.
Daniel P. Berrangé KVM Forum Vancouver, libvirt: Why it exists ● Stable: isolation from HV API changes ● Standard: portable across HV ● Simple:
OpenStack.
Andrea Chierici Virtualization tutorial Catania 1-3 dicember 2010
Virtualization Mini Summit, Austin 2008 mmm, tasty penguins...
Introduction to Virtualization
NEWS LAB 薛智文 嵌入式系統暨無線網路實驗室
London OpenStack Meetup, July 2012 libvirt & KVM with OpenStack Nova
Linux Containers Overview & Roadmap
Virtualization with libvirt Kashyap Chamarthy
Containers and Virtualisation
Virtualization overview
libvirt: Stable API Management of hypervisor(s)
An introduction... Mike Latimer Sr. Engineering Manager SUSE
Running other code under LINUX
CIT 480: Securing Computer Systems
Virtualization and Persistence
Presentation transcript:

Библиотеки и фреймворки для построения клаудов Данилов Константин Mirantis koder-ua.blogspot.com

Виртуализация, какие ресурсы используются напрямую None : QEMU CPU : KVM, VmWare, HyperV Host HW Drivers : Xen pvirt, KVM + VirtIO, VmWare tools,... OS Kernel : LXC, Solaris Zones

Тестирование

Изолированное исполнение

Использование ПО из другой среды

Виртуализация

Виртуальные сети Управление образами

Миграция Балансировка

API addImage(path, …) => id setImage(id, root_passwd=“…”, …) startVM(config, …) => (id, ip, …) stopVM(id) ……….

libvirt

/usr/bin/qemu

vm.img + ".. " + url = "provider://session" conn = libvirt.open(url) conn.createXML(cfg) =

Hypervisor VM virsh My Cloud You Cloud They Cloud libvirt API Hypervisor API

# virsh list # virsh create config_file.xml # virsh stop domain_id # virsh ANY_LIBVIRT_API

Linux kernel : iptables, routes, etc Internel Local network VM dnsmasq DHCP DNS Virtual network #1Virtual network #2 libvirtbin Network settings

<ip address=' ‘ netmask=' '> <range start=' ' end=' ' />

libguestfs

Client program libguestfs Service VM with Linux Disk image RPC

gfs = guestfs.GuestFS() gfs.add_drive_opts(disk_path, format=format) gfs.launch() gfs.mount ("/dev/sda1", "/") gfs.write(fname, …) gfs.tar_out("/", ….) hiveXXX, virt-XXX, ……. Более 400 функций в API

$ guestfish << _EOF_ add disk.img run mount /dev/vg_guest/lv_root / write /etc/motd "Welcome, new users" _EOF_

shell + virsh + guestfish =

Другие задачи Вспомогательные сетевые функции - scapy Балансировка нагрузки Мониторинг - graphit Автодеплой - chef, fabric, … ……

github.com/koder-ua/tiny_cloud локальное облако на python в ~300 строк

Проблемы такого решения

Q &A

Облака