London Ceph Day: Deploying Ceph and OpenStack with Juju

Post on 08-Sep-2014

1,404 views 3 download

Tags:

description

James Page, Technical Lead, Canonical

transcript

Deploying Ceph and OpenStack using Juju

James Page

Technical Lead, Ubuntu Server Team

Page 2

Agenda

● Ceph, Ubuntu and OpenStack

● Juju

● Demo

● Q&A

Page 3

Ceph, Ubuntu and OpenStack

Page 4

Ceph and Ubuntu OpenStack

Page 5

Enterprise Class Support from Canonical

Ubuntu Advantage

– 24 x 7 Support for Ubuntu OpenStack

● OpenStack, Ubuntu Server, Juju,

MAAS & Landscape

● Ceph (64TB) Storage

Options

– Technical Account Manager

– Dedicated Service Engineer

Page 6

OpenStack 101

Page 7

Ceph support in OpenStack

Page 8

Juju

Page 9

Juju – Orchestration for Ubuntu

● High Level Orchestration

● Service Coordination

● Scale up; and down

● Provider Abstraction...

Page 10

Juju – Providers

● Public and Private Cloud

● Bare Metal

● Local

Public Cloud

Bare metal

Private Cloud

Page 11

Juju - Charms

● DevOps Knowledge Distilled

● Any language

● Metadata

● Configuration

● Hooks.├── config.yaml├── copyright├── hooks│ ├── install│ ├── mongodb-relation-changed│ ├── mongodb-relation-departed│ ├── start│ ├── stop│ ├── upgrade-charm -> install│ └── website-relation-changed├── metadata.yaml├── README.markdown└── revision

Page 12

Ceph OSD

● Juju maintains relations

between Ceph services

● Orchestrates complex

configuration management

in reaction to service

lifecycle events

Ceph

Ceph RADOS

Gateway

Juju – Orchestrating Ceph Deployment

Page 13

Deployment Demo

Page 14

Deploying Ceph with Juju

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

juju deploy -n 1000 --config config.yaml ceph-osd

juju deploy ceph-radosgw

juju add-relation ceph ceph-osd

juju add-relation ceph ceph-radosgw

Page 15

...and linking with OpenStack

juju add-relation ceph glance

juju add-relation ceph cinder

juju add-relation ceph nova-compute

Questions?Thank you...

Page 17

Give it a try....

1. Download Ubuntu OpenStack:

http://www.ubuntu.com/download/cloud

2. Create a bootable disk

3. Boot from disk and select 'MAAS' when asked which workload to

deploy

4. Add nodes to MAAS (6)

5. Deploy Juju to MAAS

6. Deploy OpenStack and Ceph using Juju

7. Buy Ubuntu Advantage

8. Enjoy your amazing new cloud!