ceph day santa clara: deploying ceph and openstack with juju

Post on 08-Sep-2014

1.696 Views

Category:

Technology

3 Downloads

Preview:

Click to see full reader

DESCRIPTION

 

TRANSCRIPT

+

Deploying Openstack and Ceph with Juju

Akash ChandrashekarSolutions Engineer

UK HQ

Beijing, London,Boston

Integrated Solutions

Professional Services

IHV and ISV Certification

Canonical

0%

5%

10%

15%

20%

25%

2009 2010 2011 2012

● Desktop, Server and Mobile OS on x86 and ARM

● Fastest-growing server OS, #1 on Public Cloud

● Only commercially-available solution for Hyperscale

Ubuntu is the leading Server OS deployed in public cloud computing services, with sustained yearly growth of over 7% – Source: W3Techs 2013

Ubuntu & Canonical : Focused on Scale Out

Ubuntu

Evolution of Computing

dpkgapt

Clone1

Clone2

Clone3

PackageManagement

ConfigurationManagement

Service Orchestration

Deployment Costs Dominate Cloud

Deployment Cost

Development Cost

Era ofDevops

Ubuntu +OpenStack + Ceph

➔Velocity - Deliver Applications, Platform, and Infrastructure Faster

➔Flexibility - Deploy Applications, and Services with Ease Anywhere

➔Agility - Dynamically Provision Compute, Storage and Networking

➔Scalability - Handle growing workloads

➔Economics - Reduce Capital and Operational Expenditures

OpenStack Focus on Service based Architecture

IaaS

● Openstack

→ Swift → Nova → Quantum → Horizon → Glance

Core areas for scale out with Ubuntu

SDN

● Nicera ● BigSwitch● NEC● MidoNet

PaaS ● Cloud Foundry ● Engine Yard

Storage● Block| Object● Ceph

Ubuntu 14.04 LTS

Ubuntu 12.10

Ubuntu 13.04

Ubuntu 13.10

Ubuntu 11.10

Ubuntu 11.04C

D

E

F

G

“Cactus”

H

“Diablo”

“Essex”

“Folsom”

“Grizzly”

Regular Ubuntu Release Ubuntu LTS Release

Ubuntu 12.04 LTS

OpenStack Release

I

October 2012

April 2013

October 2013

April 2014

Ubuntu | OpenStack release cadence

Ceph + Ubuntu OpenStack Strategy

Ceph is a fully supported option as part of Ubuntu OpenStackCinderSwift replacement

Support is backed by Inktank

The Best of Both Worlds

Fully Supported Openstack Packages

Continuous integration with Trunk

Tight Alignment with Openstack

Release Cycle

Deep Engineering Expertise

Development and reference platform

Devops preferred option for OpenStack

Fully supported by Canonical for and on OpenStack

Support for key

Virtualization

Technologies

KVM and LXC

Openstack and the service delivery challenge

Openstack offers an infrastructure to deploy and scale virtual servers instantly...

...but complexity in configuring, integrating and scaling services makes deployments harder.

.

Openstack typically requires deep knowledge of components that comprise it such as glance,

rabbit-mq, cinder, etc. and configuring the inter-relationships between them. In addition, you have to

deal with the workloads/applications you will deliver and their inter-relationships which further

increases complexity and time in deployment.

Page 12

The solution:

The next generation service orchestration framework

Juju and Charms

●Juju utilizes service formulas called Charms”

● Charms are building blocks

●Charms contain instructions :

Deploy, Install, and Configure

●Charms can be instantiated one or many times

DatabaseCeph

Juju environment

●Juju maintains the relations between the services

●Eliminates complex configuration management

Ceph

Ceph-Radosgw

Juju relation

Juju relation

Ceph-OSD

● Multiple charms can provide the same service and can be easily switched

Cloud app

HAProxy

Depends Provides

Depends Provides

Ceph

●Juju maintains the relations between the services

●Eliminates complex configuration management

Ceph

Ceph-Radosgw

Juju relation

Juju relation

Ceph-OSD

Page 18

juju deploy -n 3 --config ceph.yaml ceph

Deploying Ceph Monitors

juju deploy -n 3 --config ceph.yaml cs:~pmcgarry/quantal/ceph-osd Deploying Ceph- OSDS

juju set ceph-osd "osd-devices=/dev/xvdf"Set Ceph to use Volumes

juju add-relation ceph-osd cephBuild the relationships between Ceph Monitor and OSDS

http://ceph.com/dev-notes/deploying-ceph-with-juju/

The solution:

Juju-gui

top related