open source data center virtualization with opennebula · open source data center conference 17 –...

29
www.netways.de Bernd Erk 21-03-13 | FLOSS UK 2013 Open Source Data Center Virtualization with OpenNebula

Upload: others

Post on 12-Jul-2020

21 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Open Source Data Center Virtualization with OpenNebula · Open Source Data Center Conference 17 – 18 April 2013 “Agile Infrastructures” " Cloud & Big Data " DevOps & Methods

www.netways.de

Bernd Erk

21-03-13 | FLOSS UK 2013

Open Source Data Center Virtualization with OpenNebula

Page 2: Open Source Data Center Virtualization with OpenNebula · Open Source Data Center Conference 17 – 18 April 2013 “Agile Infrastructures” " Cloud & Big Data " DevOps & Methods

www.netways.de

Monitoring BoF

Tonight 6 pm -> Lobby -> Beer -> Fun!

Page 3: Open Source Data Center Virtualization with OpenNebula · Open Source Data Center Conference 17 – 18 April 2013 “Agile Infrastructures” " Cloud & Big Data " DevOps & Methods
Page 4: Open Source Data Center Virtualization with OpenNebula · Open Source Data Center Conference 17 – 18 April 2013 “Agile Infrastructures” " Cloud & Big Data " DevOps & Methods

INTRODUCING NETWAYS

Page 5: Open Source Data Center Virtualization with OpenNebula · Open Source Data Center Conference 17 – 18 April 2013 “Agile Infrastructures” " Cloud & Big Data " DevOps & Methods

www.netways.de

§  High Availability & Clustering

§  Cloud Computing

§  Load Balancing

§  Virtualization

§  Database Management

NETWAYS Expertise

OPEN SOURCE SYSTEMS MANAGEMENT

OPEN SOURCE DATA CENTER

MANAGED SERVICES MONITORING HARDWARE CONFERENCES

§  Monitoring & Reporting §  Configuration Management §  Service Management §  Knowledge Management §  Backup & Recovery

Page 6: Open Source Data Center Virtualization with OpenNebula · Open Source Data Center Conference 17 – 18 April 2013 “Agile Infrastructures” " Cloud & Big Data " DevOps & Methods

www.netways.de

Open Source Data Center Conference 17 – 18 April 2013 “Agile Infrastructures” "   Cloud & Big Data " DevOps & Methods "   Infrastructure services

2nd Puppet Camp 19 April 2013 "   100 attendees (2012)

"   Puppet best practices "   The latest in the Puppet ecosystem

NETWAYS Conferences

Page 7: Open Source Data Center Virtualization with OpenNebula · Open Source Data Center Conference 17 – 18 April 2013 “Agile Infrastructures” " Cloud & Big Data " DevOps & Methods

INTRODUCING OPENNEBULA

Page 8: Open Source Data Center Virtualization with OpenNebula · Open Source Data Center Conference 17 – 18 April 2013 “Agile Infrastructures” " Cloud & Big Data " DevOps & Methods

www.netways.de

OpenNebula - Overview

Multi-tenancy, Elasticity and Automatic Provision on Virtualized Environments

Page 9: Open Source Data Center Virtualization with OpenNebula · Open Source Data Center Conference 17 – 18 April 2013 “Agile Infrastructures” " Cloud & Big Data " DevOps & Methods

www.netways.de

OpenNebula - Focus

Page 10: Open Source Data Center Virtualization with OpenNebula · Open Source Data Center Conference 17 – 18 April 2013 “Agile Infrastructures” " Cloud & Big Data " DevOps & Methods

www.netways.de

OpenNebula - History

Page 11: Open Source Data Center Virtualization with OpenNebula · Open Source Data Center Conference 17 – 18 April 2013 “Agile Infrastructures” " Cloud & Big Data " DevOps & Methods

CHALLENGES

Page 12: Open Source Data Center Virtualization with OpenNebula · Open Source Data Center Conference 17 – 18 April 2013 “Agile Infrastructures” " Cloud & Big Data " DevOps & Methods

www.netways.de

Cloud Challenges

Where  is  my  VM?   How  to  provision  a  new  VM?  

How  do  I  create  a  new  disk?   What  is  accessible  to  users?  

How  do  I  set  up  mul<-­‐<er  network  services?  

How  can  I  manage  distributed  setups?  

What  hypervisor  can  I  use?  

Monitoring  &  Scheduling   Image  Management  &  Context  

Storage   User  &  Role  Management  

Network  &  VLANs   Interfaces  &  APIs  

Virtualiza<on  

Page 13: Open Source Data Center Virtualization with OpenNebula · Open Source Data Center Conference 17 – 18 April 2013 “Agile Infrastructures” " Cloud & Big Data " DevOps & Methods

ARCHITECTURE

Page 14: Open Source Data Center Virtualization with OpenNebula · Open Source Data Center Conference 17 – 18 April 2013 “Agile Infrastructures” " Cloud & Big Data " DevOps & Methods

www.netways.de

OpenNebula – Technical Overview

OpenNebula  

TM  -­‐  API   IM  -­‐  API   VM  -­‐  API   AUTH  -­‐  API  

TM  Driver  

IM  Driver  

VM  Driver  

Auth  Driver  

SQL  

Physical  Infrastructure   DB  

AccounCng  

AUTH  -­‐  API  

OCA  (Java  +  Ruby)   Scheduler  

EC2  Server  

OCCI  Server  

ONE  CLI  

EC2-­‐Query   REST-­‐OCCI  

EC2  Tools   OCCI  CLI  Component  

Interface/API  

Tool  

SYSADMIN  

USER  

Page 15: Open Source Data Center Virtualization with OpenNebula · Open Source Data Center Conference 17 – 18 April 2013 “Agile Infrastructures” " Cloud & Big Data " DevOps & Methods

TECHNICAL OVERVIEW

Page 16: Open Source Data Center Virtualization with OpenNebula · Open Source Data Center Conference 17 – 18 April 2013 “Agile Infrastructures” " Cloud & Big Data " DevOps & Methods

www.netways.de

OpenNebula – Interfaces

OpenNebula  

Cloud  Consumers   Appliance  Builders  

Cloud  Admins  Cloud  Integrators  

API  •  XML-­‐RPC  •  OCA  (Ruby,  Python,  Java)  

Page 17: Open Source Data Center Virtualization with OpenNebula · Open Source Data Center Conference 17 – 18 April 2013 “Agile Infrastructures” " Cloud & Big Data " DevOps & Methods

www.netways.de

OpenNebula – Supported Standards

Monitoring    •  Internal  •  Ganglia    

Storage    •  DFS  like  Lustre,  GlusterFS,  

ZFS,  GPFS,  MooseFS  •  iSCSI,  LVM  •  VMware    

Network    •  802.1Q  VLANS  •  Ebtable  •  Open  vSwitch  •  VMware  network    

VirtualizaCon    •  Xen  •  KVM  •  VMWare    

Hybrid    •  Amazon  EC2  

Auth    •  Password  •  ssh  •  X509  •  LDAP/AD  

SQLite  /  MySQL  

Page 18: Open Source Data Center Virtualization with OpenNebula · Open Source Data Center Conference 17 – 18 April 2013 “Agile Infrastructures” " Cloud & Big Data " DevOps & Methods

DISTRIBUTED SETUPS

Page 19: Open Source Data Center Virtualization with OpenNebula · Open Source Data Center Conference 17 – 18 April 2013 “Agile Infrastructures” " Cloud & Big Data " DevOps & Methods

www.netways.de

Cluster, VDC’s and Zones

"   Cluster " Group of hosts with

resources "   VDC’s

" Virtual association in a cluster

" Zonen " Virtual association of

groups

Page 20: Open Source Data Center Virtualization with OpenNebula · Open Source Data Center Conference 17 – 18 April 2013 “Agile Infrastructures” " Cloud & Big Data " DevOps & Methods

DEMO

Page 21: Open Source Data Center Virtualization with OpenNebula · Open Source Data Center Conference 17 – 18 April 2013 “Agile Infrastructures” " Cloud & Big Data " DevOps & Methods

www.netways.de

NETWAYS – Cloud

libvirtd  

Open  Nebula  

NFS  

Page 22: Open Source Data Center Virtualization with OpenNebula · Open Source Data Center Conference 17 – 18 April 2013 “Agile Infrastructures” " Cloud & Big Data " DevOps & Methods

NEXT

Page 23: Open Source Data Center Virtualization with OpenNebula · Open Source Data Center Conference 17 – 18 April 2013 “Agile Infrastructures” " Cloud & Big Data " DevOps & Methods

www.netways.de

OpenNebula – Sunstone 4.0

Page 24: Open Source Data Center Virtualization with OpenNebula · Open Source Data Center Conference 17 – 18 April 2013 “Agile Infrastructures” " Cloud & Big Data " DevOps & Methods

www.netways.de

# The 'one' pool must exist!

> ceph osd lspools!

0 data,1 metadata,2 rbd,6 one,!

!

> cat ds.conf!

NAME = "cephds"!

DS_MAD = ceph!

TM_MAD = ceph!

POOL_NAME = one!

HOST = cephfrontend!

!

> onedatastore create ds.conf!

ID: 101!

!

> onedatastore list!

ID NAME CLUSTER IMAGES TYPE TM !

0 system none 0 fs shared!

1 default none 3 fs shared!

100 cephds none 0 ceph ceph!

Support for Ceph

Page 25: Open Source Data Center Virtualization with OpenNebula · Open Source Data Center Conference 17 – 18 April 2013 “Agile Infrastructures” " Cloud & Big Data " DevOps & Methods

www.netways.de

$ onevm shutdown 0 --schedule "05/25 17:45"!VM 0: shutdown scheduled at 2013-05-25 17:45:00 +0200!!$ onevm cancel 0 --schedule "05/25 18:00"!VM 0: cancel scheduled at 2013-05-25 18:00:00 +0200!!$ onevm show 0!SCHEDULED ACTIONS!ID ACTION SCHEDULED DONE MESSAGE! 0 shutdown 05/25 17:45 -! 1 cancel 05/25 18:00 -!

Globaler Scheduler

Page 26: Open Source Data Center Virtualization with OpenNebula · Open Source Data Center Conference 17 – 18 April 2013 “Agile Infrastructures” " Cloud & Big Data " DevOps & Methods

CONCLUSION

Page 27: Open Source Data Center Virtualization with OpenNebula · Open Source Data Center Conference 17 – 18 April 2013 “Agile Infrastructures” " Cloud & Big Data " DevOps & Methods

www.netways.de

Because OpenNebula…

"   … focuses on data center virtualization

"   … is delivered as a production-proven, packaged product

"   … leverages the power of user-driven development

"   … is infrastructure agnostic

"   … resolves real-life problems with real-life solutions

Why use OpenNebula?

Page 28: Open Source Data Center Virtualization with OpenNebula · Open Source Data Center Conference 17 – 18 April 2013 “Agile Infrastructures” " Cloud & Big Data " DevOps & Methods

QUESTION & ANSWER

Page 29: Open Source Data Center Virtualization with OpenNebula · Open Source Data Center Conference 17 – 18 April 2013 “Agile Infrastructures” " Cloud & Big Data " DevOps & Methods

www.netways.de

NETWAYS GmbH Deutschherrnstrasse 15-19 90429 Nuremberg

Tel: +49 911 92885-0 Fax: +49 911 92885-77 Email: [email protected] Twitter: twitter.com/netways Blog: blog.netways.de