+ All Categories
Home > Documents > Workshop eNovance/OpenStack 20-12-2012

Workshop eNovance/OpenStack 20-12-2012

Date post: 08-May-2015
Category:
Upload: enovance
View: 737 times
Download: 2 times
Share this document with a friend
22
OpenStack Technical WorkShop Emilien Macchi OpenStack Operator @ eNovance Paris, 20th December 2012
Transcript
Page 1: Workshop eNovance/OpenStack 20-12-2012

OpenStackTechnical WorkShop

Emilien Macchi OpenStack Operator @ eNovance

Paris, 20th December 2012

Page 2: Workshop eNovance/OpenStack 20-12-2012

# whoami

EmilienM on IRC 25 old Student in Master Degree (Part time) OpenStack Operator at eNovance :

Maintain and manage eNoCloud (Public Cloud using OpenStack)

Building CloudWatt Cloud OpenStack contributor (HA stuffs + doc)

Page 3: Workshop eNovance/OpenStack 20-12-2012

OpenStack

Created in 2010 by NASA & RackSpace Licence Apache 2.0 Manage IaaS Open-Source Framework API, Plugins, Drivers Multi-tenancy, Scalable, multi-plateform Developed in Python

Page 4: Workshop eNovance/OpenStack 20-12-2012

* Infrastructure as a Service

OpenStack in the IaaS*

Compute

Storage

Networking

IaaS Components OpenStack Projects

Nova(Virtual Machines)

Swift(Object Storage)

Cinder(Block Storage)

Quantum(Virtual Networking)

Page 5: Workshop eNovance/OpenStack 20-12-2012

Download it : http://goo.gl/01Dr5 Ubuntu 12.04 with Cloud Archives root / password MySQL installed Scripts already in /root Packages downloaded, NOT installed Usable with VMware & Virtual Box

Get the VM

Page 6: Workshop eNovance/OpenStack 20-12-2012

Architecture

Page 7: Workshop eNovance/OpenStack 20-12-2012

1 NIC for Management (192.168.0.0/24) → « NAT »

1 NIC for Data (10.10.10.0/24) → « Internal »

1 NIC for Public (7.7.7.0/24) → « Bridge » with WLAN or Ethernet

Networking

Page 8: Workshop eNovance/OpenStack 20-12-2012

MySQL (Backend Databases) → Used by Keystone, Glance, Nova,

Cinder, and Quantum.

RabbitMQ (Middleware for queuing) → Used by Glance, Nova, Cinder and

Quantum.

Common Services

Page 9: Workshop eNovance/OpenStack 20-12-2012

Identity (Users, tenants, roles, metadata) → Can be backed by LDAP

Token : Authentify requests from user / tenant Service Catalog : Endpoint registry Policy Services : Rule-based authorization engine

Keystone : Identity as a Service 1/2

Page 10: Workshop eNovance/OpenStack 20-12-2012

1) Install packages & Configuration

2) Synchronize the Database

3) Create Users, Tenants, Roles

4) Create Services and Endpoints

5) Test the identity.

Keystone : Identity as a Service 2/2

Page 11: Workshop eNovance/OpenStack 20-12-2012

Discovering, Registring, Retrieving Virtual Machine images. The images can be stored in : regular FS, RBD (Ceph), Amazon S3 or Swift. Disk Formats : raw, vhd, vmdk, vdi, iso, qcow2, aki, ari, ami. Container Formats : bare, ovf, aki, ami, ari.

Glance : Image Delivery 1/2

Page 12: Workshop eNovance/OpenStack 20-12-2012

Glance : Image Delivery 2/2

1) Install packages & Configuration

2) Synchronize the Database

3) Import CirrOS image with CLI

Page 13: Workshop eNovance/OpenStack 20-12-2012

Formerly « nova-volume » Create / Delete / Attach / Detach volumes to a VM Storage backed by : NFS, iSCSI, SolidFire, NetAPP, etc...

Cinder : Block Storage 1/2

Page 14: Workshop eNovance/OpenStack 20-12-2012

Cinder : Block Storage 2/2

1) Prepare the second disk with LVM2) Install packages & Configuration3) Synchronize the Database4) Create a 1GB volume for testing

Page 15: Workshop eNovance/OpenStack 20-12-2012

Provides connectivity to Vms Manage L2 & L3 with an API Networking backed by plugins : Open-vSwitch, Linux Bridge, Cisco, OpenFlow (BigSwitch, Floodlight, NEC, Ryu, etc), Midonet (Midokura) and NVP (Nicira / Vmware).

Quantum : Networking 1/2

Page 16: Workshop eNovance/OpenStack 20-12-2012

Quantum : Networking 2/2

1) Install packages & Configuration2) Create virtual L2 with Open-vSwitch3) Create virtual L3 with the script4) Configure L3 Agent

Page 17: Workshop eNovance/OpenStack 20-12-2012

Manages Virtual Machines Libvirt friendly Hypervisors supported : KVM / qemu, Xen, Hyper-V (all ready for production) Interact with other services (Cinder, Quantum, Glance, Keystone, etc)

Nova : Compute Service 1/2

Page 18: Workshop eNovance/OpenStack 20-12-2012

Nova : Compute Service 2/2

1) Install packages & Configuration2) Synchronize the Database3) Configure the Hypervisor4) Spawn a VM with CLI

Page 19: Workshop eNovance/OpenStack 20-12-2012

Developped with Python / Django Manage VMs, Images, Identity, Volumes Not yet full-integraded with Quantum : only L2 is working. L3 should be managed from CLI.

Horizon : Dashboard 1/2

Page 20: Workshop eNovance/OpenStack 20-12-2012

Horizon : Dashboard 2/2

1) Install the packages

2) Connect to the dashboard : → http://<ip>/horizon

Page 21: Workshop eNovance/OpenStack 20-12-2012

Use demo tenant / user Check networking before Spawn a VM from CirrOS image Attach the virtual port to a floating IP (from Quantum CLI) Ping the VM SSH the VM Play with volumes

Start your first VM !

Page 22: Workshop eNovance/OpenStack 20-12-2012

Questions ?

E-mail : [email protected] : EmilienMtwitter : EmilienMacchi


Recommended