Greek Research and Technology Network Africa Arabia ROC All Hands Meeting – Open Day (CSIR Meraka)...

Post on 01-Apr-2015

212 views 0 download

Transcript of Greek Research and Technology Network Africa Arabia ROC All Hands Meeting – Open Day (CSIR Meraka)...

Greek Research and Technology Network Africa Arabia ROC All Hands Meeting – Open Day (CSIR Meraka) 1

Synnefo – Open Source IAASChristos Kanellopoulos, GRNET

powered by

Greek Research and Technology Network Africa Arabia ROC All Hands Meeting – Open Day (CSIR Meraka) 2

What is Okeanos?

‘Okeanos’ is the Greek word for ‘ocean’

Oceans capture, store and deliver energy, oxygen and life around the planet.

Greek Research and Technology Network Africa Arabia ROC All Hands Meeting – Open Day (CSIR Meraka) 3

Late 2010: The challenge

Goals Production-quality IaaS cloud similar to Amazon AWS Scalability to thousands users/nodes/VMs Persistent VMs Commodity components Everyone can use it No vendor lock-in Low admin costs, manageable by a small team

Late 2010: The challenge

Greek Research and Technology Network Africa Arabia ROC All Hands Meeting – Open Day (CSIR Meraka) 4

Reviewed open source ones• Eucalyptus

• Cloudstack

• Opennebula

• Openstack

..etc..

Still evolving systems, silo ones (touching every layer)

No turnkey solutions

Late 2010: The available offerings

Greek Research and Technology Network Africa Arabia ROC All Hands Meeting – Open Day (CSIR Meraka) 5

The okeanos approach Features:

Production-quality IaaS cloud Everything open source:

Persistent VMs Commodity Hardware – No SAN, No exotic network hw Add plain servers/disks/switches to scale up Three clicks to start 1 or 10s of VMs, in 15 secs Simple to operate

Ganeti

byby

Key decision: Decompose the problem into layers

Greek Research and Technology Network Africa Arabia ROC All Hands Meeting – Open Day (CSIR Meraka) 6

‘Building a Cloud, cluster by cluster’

UI

API

CLOUD

CLUSTER

NODE

HYPERVISOR

SYNNEFOOPENSTACK

OPENSTACKOPENSTACK

SYNNEFO

OPENSTACK

GANETI

LIBVIRT

KVMKVM

Greek Research and Technology Network Africa Arabia ROC All Hands Meeting – Open Day (CSIR Meraka) 7

A small story: Why Google Ganeti?

No need to reinvent the wheel

Scalable, proven software infrastructure VM cluster management in production is serious business

Built with reliability and redundancy in mind

Combines open components (KVM, LVM, DRBD)

GRNET biggest (worldwide) external contributor to Google Ganeti

(from 2009)

http://code.google.com/p/ganeti For more, see ‘Running Google on Google’ by Jeff Bates and Iustin Pop (Google

I/O 2012- https://developers.google.com/io/)

Greek Research and Technology Network Africa Arabia ROC All Hands Meeting – Open Day (CSIR Meraka) 8

….to scale up to tens of thousands VMs and users?

Greek Research and Technology Network Africa Arabia ROC All Hands Meeting – Open Day (CSIR Meraka) 9

nkoziris@grnet.gr| 20130226

simplicity

Greek Research and Technology Network Africa Arabia ROC All Hands Meeting – Open Day (CSIR Meraka) 10

nkoziris@grnet.gr| 20130226

Greek Research and Technology Network Africa Arabia ROC All Hands Meeting – Open Day (CSIR Meraka) 11

nkoziris@grnet.gr| 20130226

flexibility

Greek Research and Technology Network Africa Arabia ROC All Hands Meeting – Open Day (CSIR Meraka) 12

nkoziris@grnet.gr| 20130226

Greek Research and Technology Network Africa Arabia ROC All Hands Meeting – Open Day (CSIR Meraka) 13

nkoziris@grnet.gr| 20130226

okeanos IaaSCompute

Network

Storage

firewall

Greek Research and Technology Network Africa Arabia ROC All Hands Meeting – Open Day (CSIR Meraka) 14

1x

2x5x

8x

Greek Research and Technology Network Africa Arabia ROC All Hands Meeting – Open Day (CSIR Meraka) 15

Greek Research and Technology Network Africa Arabia ROC All Hands Meeting – Open Day (CSIR Meraka) 16

Compute – Network: Cyclades

Thin Compute layer over Ganeti- Python/Django

- Supports multiple Ganeti clusters, for scaling

- OpenStack Compute API

Networking- No restrictions on deployment – it’s the Ganeti side

- IPv4/IPv6 public networks, complete isolation among VMs

- Thousands of private networks, private L2 segments over single VLAN

Greek Research and Technology Network Africa Arabia ROC All Hands Meeting – Open Day (CSIR Meraka) 17

Virtual Machine Actions

My_windows_Desktop

Shutdown

Reboot

Start Console

Shutdown

Greek Research and Technology Network Africa Arabia ROC All Hands Meeting – Open Day (CSIR Meraka) 18

Networks

Public networking: Full IPv4/IPv6 support

Private networks: isolated L2 segments

Arbitrary virtual network topologies

Scalable to thousands of private networks Multiple physical VLANs

Single VLAN with MAC prefix-based filtering

VXLAN, encapsulation over IPv6 multicast, with MAC learning

Flexible implementations at backend (SDN?)

Greek Research and Technology Network Africa Arabia ROC All Hands Meeting – Open Day (CSIR Meraka) 19

nkoziris@grnet.gr| 20130226

Virtual Networks

Internet

Private Network 1

Private Network 2

Private Network 3

Greek Research and Technology Network Africa Arabia ROC All Hands Meeting – Open Day (CSIR Meraka) 20

Cyclades

Greek Research and Technology Network Africa Arabia ROC All Hands Meeting – Open Day (CSIR Meraka) 21

Storage:• Every file is a collection of blocks• Content-based addressing for blocks• Partial file transfers, deduplication, efficient syncing• Independent of storage backend (NFS, RADOS, …)• OpenStack Object Storage API plus extensions• An integral part of Synnefo• - Single store for Files, VM Images• - Uses common backend with Archipelago

Greek Research and Technology Network Africa Arabia ROC All Hands Meeting – Open Day (CSIR Meraka) 22

Greek Research and Technology Network Africa Arabia ROC All Hands Meeting – Open Day (CSIR Meraka) 23

Storage: Archipelago

Greek Research and Technology Network Africa Arabia ROC All Hands Meeting – Open Day (CSIR Meraka) 24

Storage: Archipelago

Unified storage for Files, Images Volumes

Thin layer over the actual storage cluster

Storage backend agnostic

Efficient syncing / sharing of Images as files on Pithos

Zero-copy cloning of volumes from Images

Greek Research and Technology Network Africa Arabia ROC All Hands Meeting – Open Day (CSIR Meraka) 25

Spawn

Freeze

Images

Ubuntumy own Ubuntu

Greek Research and Technology Network Africa Arabia ROC All Hands Meeting – Open Day (CSIR Meraka) 26

Clone

Snapshot

Images Storage

Ubuntu rootUbuntu + user data

Greek Research and Technology Network Africa Arabia ROC All Hands Meeting – Open Day (CSIR Meraka) 27

Images – Golden Image

golden Debian

Greek Research and Technology Network Africa Arabia ROC All Hands Meeting – Open Day (CSIR Meraka) 28

See FOSDEM presentation in Brussels, Feb 2013:

INTRODUCING THE SYNNEFO OPEN SOURCE IAAS PLATFORM, by VANGELIS KOUKIS

GRNETs opensource IaaS platform (Python)

http://www.synnefo.org

Greek Research and Technology Network Africa Arabia ROC All Hands Meeting – Open Day (CSIR Meraka) 29

Some Numbers (alpha phase-24.2.2012)

2100 users

2941 VMs

10119 Virtual CPUS

Greek Research and Technology Network Africa Arabia ROC All Hands Meeting – Open Day (CSIR Meraka) 30

5819.76 GB Used Memory

174273.8 GB Used Disk

7 Ganeti clusters currently

>100 ‘fat’ nodes

move to > 10.000 VMs

Greek Research and Technology Network Africa Arabia ROC All Hands Meeting – Open Day (CSIR Meraka) 31

System OS Images• Windows Server 2012• Windows Server 2008R2• CentOS 6.3• Fedora 17• Ubuntu 12.04 LTS• Kubuntu 12.04 LTS• Ubuntu 12.10• Kubuntu 12.10• Debian Desktop Squeeze• Debian Base Squeeze• ….more…

Greek Research and Technology Network Africa Arabia ROC All Hands Meeting – Open Day (CSIR Meraka) 32

6/8/2

011

21/8/2

011

5/9/2

011

20/9/2

011

5/10/2

011

20/10/2

011

4/11/2

011

19/11/2

011

4/12/2

011

19/12/2

011

3/1/2

012

18/1/2

012

2/2/2

012

17/2/2

012

3/3/2

012

18/3/2

012

2/4/2

012

17/4/2

012

2/5/2

012

17/5/2

012

1/6/2

012

16/6/2

012

1/7/2

012

16/7/2

012

31/7/2

012

15/8/2

012

30/8/2

012

14/9/2

012

29/9/2

012

14/10/2

012

29/10/2

012

13/11/2

012

28/11/2

012

13/12/2

012

28/12/2

012

12/1/2

013

27/1/2

0130

500

1000

1500

2000

2500

3000

Cyclades VMs

VMs

Greek Research and Technology Network Africa Arabia ROC All Hands Meeting – Open Day (CSIR Meraka) 33

• main Datacenter (40 racks)– green architecture – PUE <1.6 / 1600KVA– In-row cooling– Fully virtualized

• ‘High’ Density (but not too dense…)~20.000 VMs (20 racks, 1000 VM/rack)

– VMs with average 2GB RAM (flavors up to 8 cores &16GB/VM)

– QoS in disk/core overcommitment

Greek Research and Technology Network Africa Arabia ROC All Hands Meeting – Open Day (CSIR Meraka) 34

Cloud Facilities (cont.)

Disaster Recovery DC (@procurement stage)– Container based solution– ‘Louros’ river hydroelectric plant area– Up to 320KW – Low PUE (<1.3)– Outdoor installation (close to hydroelectric

plant facility)– Water cooling per rack / Freecooling

Greek Research and Technology Network Africa Arabia ROC All Hands Meeting – Open Day (CSIR Meraka) 35

Greek Research and Technology Network Africa Arabia ROC All Hands Meeting – Open Day (CSIR Meraka) 36

Greek Research and Technology Network Africa Arabia ROC All Hands Meeting – Open Day (CSIR Meraka) 37

Design Specs for a Public Cloud Provider

Common denominator:

#VM instances (in various VM ‘flavors’)

Guaranteed ratios:

VMs/Core, RAM/Core, disks(spindle)/core

€/VM?

Greek Research and Technology Network Africa Arabia ROC All Hands Meeting – Open Day (CSIR Meraka) 38

See morw on http://okeanos.grnet.gr

GO http://okeanos.io for a quick tryout!

The project is co-financed by Greece and the European Union

@grnet_gr #okeanos