19
Uan Ayuba [email protected] Integrang openSUSE Ceph Block Device & OpenStack

Integrating openSUSE Ceph Block Device & OpenStack

Embed Size (px)

Citation preview

Utian Ayuba [email protected]

Integrating openSUSECeph Block Device & OpenStack

2

About Me

● Executive Director of Btech

● Consultant for Networking and Security for SIKD Development – KOMPAK

● Consultant for System and Network of GAMBUT project – CCROM-SEAP IPB

● Member of Indonesia openSUSE Community

3

OpenStack

● Infrastructure as a Service (IaaS) Cloud Software

● Private Cloud Deployment

4

OpenStack Core Services

5

OpenStack Optional Services

6

Unified object, block and file storage cluster system

7

Ceph Arhcitecture

8

Ceph Nodes

● OSD: Stores data, replicate data, recovery, backfilling, rebalancing, check other OSD & info to Monitor. Make 3 copies of data by default.

● Monitor: maintains maps of the cluster state (monitor map, OSD map, PG map, CRUSH map)

● Metadata Server: store metadata on behalf of the CephFS. Make POSIX file system to execute basic commands like ls, find, etc.

9

Placement Group (PG)

10

Ceph Clients● Ceph Block Device (RBD)● Ceph Object Storage (RGW)● Ceph Filesystem (CephFS)

11

Ceph and OpenStackCeph Block Device (RBD):● Glance images● Cinder volumes● Instance disks

Lab IInstall OpenStack Mitakaon openSUSE Leap 42.1 using DevStackGuide: http://utian.azoebs.com/2016/09/latihan-pasang-single-node-openstack.html

13

Lab I Topology

INTERNET

management (host-only)10.10.10.0/24

vboxnet010.10.10.1/24

Gw: 10.10.10.110.10.10.10/24

eth0

• external (host-only): 172.16.10.0/24(simulation of public net in prod env)

• IP range of instances/virt routerexternal subnet: .100 to .199/24gw: .254

vboxnet1172.16.10.1

• IPv4 forward• NAT masquerade

(management → internet)

br-ex (eth1)172.16.10.10

Lab II

Deploy Ceph Cluster on openSUSE Leap 42Guide: http://utian.azoebs.com/2016/09/membuat-ceph-cluster-di-opensuse-leap-42.html

15

Lab II Topology

INTERNET

management10.10.10.0/24

vnet0.1

• IPv4 forward• NAT masquerade

(management → internet)

gw: .1.30eth0

ceph-mon ceph-osd0

gw: .1.32eth0

gw: .1.31eth0

ceph-osd1

Lab IIIIntegrating openSUSE Leap 42Ceph Block Device & OpenStackGuide: http://utian.azoebs.com/2016/09/integrasi-ceph-block-device-dan.html

17

Lab III Topology

INTERNET

management10.10.10.0/24

vnet0.1

gw: .1.10eth0

• external: 172.16.10.0/24• IP address range of

external subnet: .100 to .199/24gw: .1

vnet1.1

• IPv4 forward• NAT masquerade

(management → internet)

eth1.10

gw: .1.30eth0

ceph-mon ceph-osd0

gw: .1.32eth0

gw: .1.31eth0

openstack

ceph-osd1

Discussion

19

Have a Lot of Fun, and Join Us At:www.opensuse.org