17
Deploying Ceph and OpenStack using Juju James Page Technical Lead, Ubuntu Server Team

London Ceph Day: Deploying Ceph and OpenStack with Juju

  • Upload
    inktank

  • View
    1.425

  • Download
    3

Embed Size (px)

DESCRIPTION

James Page, Technical Lead, Canonical

Citation preview

Page 1: London Ceph Day: Deploying Ceph and OpenStack with Juju

Deploying Ceph and OpenStack using Juju

James Page

Technical Lead, Ubuntu Server Team

Page 2: London Ceph Day: Deploying Ceph and OpenStack with Juju

Page 2

Agenda

● Ceph, Ubuntu and OpenStack

● Juju

● Demo

● Q&A

Page 3: London Ceph Day: Deploying Ceph and OpenStack with Juju

Page 3

Ceph, Ubuntu and OpenStack

Page 4: London Ceph Day: Deploying Ceph and OpenStack with Juju

Page 4

Ceph and Ubuntu OpenStack

Page 5: London Ceph Day: Deploying Ceph and OpenStack with Juju

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: London Ceph Day: Deploying Ceph and OpenStack with Juju

Page 6

OpenStack 101

Page 7: London Ceph Day: Deploying Ceph and OpenStack with Juju

Page 7

Ceph support in OpenStack

Page 8: London Ceph Day: Deploying Ceph and OpenStack with Juju

Page 8

Juju

Page 9: London Ceph Day: Deploying Ceph and OpenStack with Juju

Page 9

Juju – Orchestration for Ubuntu

● High Level Orchestration

● Service Coordination

● Scale up; and down

● Provider Abstraction...

Page 10: London Ceph Day: Deploying Ceph and OpenStack with Juju

Page 10

Juju – Providers

● Public and Private Cloud

● Bare Metal

● Local

Public Cloud

Bare metal

Private Cloud

Page 11: London Ceph Day: Deploying Ceph and OpenStack with Juju

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: London Ceph Day: Deploying Ceph and OpenStack with Juju

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: London Ceph Day: Deploying Ceph and OpenStack with Juju

Page 13

Deployment Demo

Page 14: London Ceph Day: Deploying Ceph and OpenStack with Juju

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: London Ceph Day: Deploying Ceph and OpenStack with Juju

Page 15

...and linking with OpenStack

juju add-relation ceph glance

juju add-relation ceph cinder

juju add-relation ceph nova-compute

Page 16: London Ceph Day: Deploying Ceph and OpenStack with Juju

Questions?Thank you...

Page 17: London Ceph Day: Deploying Ceph and OpenStack with Juju

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!