59
COMPLETE YOUR MOVE TO CLOUD | ROGAN 1 Rogan Kyuseok Lee Senior Technical Account Manager, Red Hat OpenStack Korea, oVirt Korea User Group 2014.02.18 서버 가상화에서 클라우드로 서버 가상화에서 클라우드로 oVirt and OpenStack Integration oVirt and OpenStack Integration

2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

Embed Size (px)

DESCRIPTION

"oVirt and OpenStack Integration and more" had presented in 2014 OpenStack Day in Korea

Citation preview

Page 1: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN1

Rogan Kyuseok LeeSenior Technical Account Manager, Red HatOpenStack Korea, oVirt Korea User Group2014.02.18

서버 가상화에서 클라우드로서버 가상화에서 클라우드로

oVirt and OpenStack IntegrationoVirt and OpenStack Integration

Page 2: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN2

AgendaAgenda

● 성공적 OpenStack Cloud 로의 이행을 위한 oVirt 활용

● oVirt 소개

● oVirt 와 OpenStack 의 기능적 통합

● Glance● Neutron● Cinder● Keystone

Page 3: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN3

성공적 OpenStack Cloud 로의 이행을 위한 oVirt 활용

Page 4: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN4

The move to Cloud ComputingThe move to Cloud Computing

IT 환경 변화

● 초연결 사회

● Wireless, Mobile

● Big Data

● 예측 불가능한 컴퓨팅 수요 증가

미래 IT 인프라 요구조건

● Immediate

● Elastic

● Scalable

● Open

‘Cloud Computing’ will become the dominant infrastructure model

Page 5: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN5

그 중심에 오픈스택이 있음

Page 6: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN6

● 클라우드 인프라스크럭처 구현에 필요한 매우 효율적인 컴포넌트들의 집합체

● OpenStack 자체로 완전한 클라우드 솔루션

Page 7: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN7

클라우드가 모든 종류의 워크로드를 수용할수 있는가 ?

Question 1Question 1

Q

클라우드에서 전통적인 워크로드도 수용할 수 있으나 클라우드 워크로드에 최적화A

Page 8: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN8

우리가 원하지 않는 클라우드 우리가 원하지 않는 클라우드 #1#1

Traditional services

Cloud services

클라우드를 구축하고 Workload 고민없이 모두 이행 , 클라우드에 대한 잘못된 기대

Page 9: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN9

TRADITIONAL WORKLOADS

● Stateful virtual machines

● Big VMs: vCPU, vRAM, local storage inside VM

● Application SLA aligned to VM itself

● Relies on underlying HA technology to meet SLA goals

● VMs scale up: add vCPU, vRAM, etc.

● Applications not designed to tolerate failure of VMs

CLOUD WORKLOADS

● Stateless VMs, application distributed

● Small VMs: vCPU, vRAM, storage separate

● Application SLA not dependent on any one VM

● Many instances can provide application availability

● Applications scale out: add more VMs

● Applications designed to tolerate failure of VMs

Scale-up vs Scale-out architectureScale-up vs Scale-out architecture

Page 10: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN10

그렇다면 전통적인 워크로드는 클라우드 등장과 함께 사라질 것인가 ?

Question 2Question 2

Q

특히 기업환경에서는 매우 중요한 질문

기존 전통적인 워크로드와 클라우드 워크로드는 계속해서 공존할 것이라는 것이 공통된 의견

A

Page 11: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN11

“ Future application architectures should use Cattle but Pets with strong configuration management are viable and still needed

- Tim Bell, CERN

Page 12: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN12

우리가 원하지 않는 클라우드 우리가 원하지 않는 클라우드 #2#2

Cloud servicesTraditional services

클라우드와 기존 인프라의 단절

Page 13: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN13

Question 3Question 3

만약 대부분의 나의 워크로드가 전통적이라면 ?

어디서부터 , 무엇으로부터 시작할 것인가 ?Q

유연한 오픈소스 데이터센터 가상화 플랫폼인 oVirt 를 통해 시작하고 , 준비가 되었을 때 자연스럽게 OpenStack 클라우드 환경과 통합

A

Page 14: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN14

우리가 원하지 않는 클라우드 우리가 원하지 않는 클라우드 #3#3

Cloud servicesTraditional services

클라우드는 구축하였으나 대부분의 서비스는 기존 인프라에 의존

Page 15: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN16

oVirt oVirt 소개소개

Page 16: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN17

oVirtoVirt 란 무엇인가란 무엇인가 ??

oVirt is a virtualization management application.. That means that you can use the oVirt management interface to manage hardware nodes, storage and network resources, and to deploy and monitor virtual machines running in your data center -- ovirt.org

Page 17: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN19

oVirtoVirt 란 무엇인가란 무엇인가 ??

● Apache License 기반의

오픈소스 소프트웨어

● 대규모 서버 및 데스크톱

가상화를 위한 중앙화된

통합 관리 플랫폼

● KVM 가상화 기술이 포커스

KVM 에 최적화

Page 18: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN20

oVirt Virtualization ArchitectureoVirt Virtualization Architecture

● Linux Kernel

● KVM

● Qemu

● Libvirt

● SPICE (VDI)

● VDSM

● Wildfly (Jboss) middleware

● PostgreSQL

oVirt-Engine

oVirt-Nodes

Compute agent

Page 19: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN21

Who is behind it?Who is behind it?

Page 20: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN22

oVirt FeaturesoVirt Features

Single Management Console Hundreds Of hosts

Thousands ofVirtual machinesBrowser-based

Graphical management console

Admin Portal

Page 21: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN24

oVirt FeaturesoVirt Features

Protection &

Workload isolation

Built with SELinux & sVirt

oVirt-nodebased on RHEL/Fedora

Page 22: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN25

Internal HA,Live migration

oVirt FeaturesoVirt Features

High Availability

Page 23: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN26

oVirt FeaturesoVirt Features

Statelsss Hosts,Maintenance Mode

Serviceability

Page 24: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN27

Load Balancing

oVirt FeaturesoVirt Features

Advanced scheduling

Page 25: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN28

Power Saver

oVirt FeaturesoVirt Features

Advanced scheduling

Page 26: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN30

oVirt FeaturesoVirt Features

Restful API,CLI, Python SDK

API Infrastructure

REST interface exposed for all API functions,Scripting, automation, Python SDK for developers

Page 27: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN31

oVirtoVirt 와와 OpenStackOpenStack 의 의 기능적 통합기능적 통합

Page 28: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN32

oVirt and OpenStack integrationoVirt and OpenStack integration

oVirt-Engine Dashboard

Glance Cinder Neutron Keystone

Page 29: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN33

Interface - OpenStack Java SDKInterface - OpenStack Java SDK

● 일부 작업을 위해서는 oVirt Engine 이 직접 OpenStack 서비스에 연결될 필요가 있음

● Java 기반의 oVirt Engine 을 위해 Third-party OpenStack API Java 라이브러리가 개발

● 2013 년 2 월부터 oVirt 엔지니어들의 기여를 통해 현재 , 안정적인 Keystone, Glance, Neutron API 를 제공

1

Page 30: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN34

Interface - External Providers Interface - External Providers

● oVirt 3.3 부터는 External Provider 인터페이스를 지원하여 , OpenStack Glance, Neutron, Cinder 뿐만 아니라 Foreman 과 같은 외부 서비스들을 손쉽게 추가할 수 있게 됨

● Admin Portal 의 External Providers 탭에서 새로운 Provider 를추가 하거나 편집 , 삭제할 수 있음

2

Page 31: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN35

Glance IntegrationGlance Integration

Page 32: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN36

통합의 장점 및 효과통합의 장점 및 효과

● OpenStack Glance 와 oVirt 의 상호 운영성 확보

● 싱글 디스크 이미지 , 전체 가상머신 및 템플릿의 Importing, Exporting

● 템플릿 제작이 손쉬운 oVirt 에서 제작 후 OpenStack 으로 Export

● 기존 서비스의 OpenStack 전환 용이

● 상호 디스크 이미지 또는 가상머신의 백업

● Glance 에 저장된 ISO 이미지를 oVirt 가상머신에서 직접 사용

Page 33: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN37

Glance as oVirt External ProviderGlance as oVirt External Provider

● Glance 는 External Provider Type 에 “ OpenStack Image” 선택

Page 34: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN38

Glance as oVirt External ProviderGlance as oVirt External Provider

● 추가된 Glance Storage Domain 은 oVirt 의 Storage 탭에서 확인

● 특정 Data Center 에 포함되지 않고 사용

Page 35: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN39

Importing Glance ImagesImporting Glance Images

● Glance 로부터 이미지를 Import 하기 위해서는 Storage 탭 하단의“ Images” 서브 탭에서 원하는 이미지를 선택한 후 , “Import” 클릭

● 팝업창에서 Import 대상 Data Center 와 Storage Domain 등을 설정

Page 36: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN40

Exporting Disks to GlanceExporting Disks to Glance

● oVirt 에서 Glance 로 이미지를 Export 하기 위해서는 Disk 탭에서 원하는 이미지를 선택한 후 , 'Export' 버튼을 클릭

● 팝업창에서 대상 Glance Domain 선택

Page 37: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN41

Exported oVirt Disk in GlanceExported oVirt Disk in Glance

Page 38: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN42

Neutron IntegrationNeutron Integration

Page 39: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN43

oVirt NetworkoVirt Network

● oVirt 의 네트워크는 Data Center 수준에서 정의

● 논리적인 L2 네트워크 사용

Page 40: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN44

통합의 장점 및 효과통합의 장점 및 효과

● Neutron 의 많은 플러그인 (Linux Bridge, OVS, ML2, Cisco Nexus, NVP, NEC, etc 등 ) 을 통해 제공되는 다양한 네트워크 기술들을 oVirt 에서 그대로 사용 가능

● oVirt 의 L2 네트워크를 넘어 Neutron 에서 정의된 L3 서비스 이용

● 2 가지 네트워크 서비스를 혼용

● 가상머신을 위한 네트워크를 위해 Neutron 사용

● oVirt 인프라를 위한 네트워크 설정은 oVirt 사용

● OpenStack 내 Cloud 서비스와 oVirt 내 Traditional 서비스 연계 가능

● OpenStack 서비스 중 Long-Life 서비스 필요시 oVirt 로의 이전 용이

Page 41: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN45

How to Use Neutron in oVirt?How to Use Neutron in oVirt?

● Neutron 서비스 설치

● Keystone 인증관련 설정

● QPID 메시징 서비스 설정

● 선택된 플러그인 설정

● Linux Bridge, OpenVSwitch

● oVirt 에서 Neutron 서비스를 External Provider 로 추가

● Neutron Provider 에 네트워크 추가 , Import

● Neutron Provider 를 위한 Agent 가 포함된 하이퍼바이저 설치

● New Host 에서 Network Provider 탭의 Networking Plugin 설정

● 가상머신의 NIC 에 Neutron Provider 의 네트워크 할당

● 가상머신 실행

Page 42: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN46

Adding a Neutron ProviderAdding a Neutron Provider

Page 43: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN47

Neutron as oVirt External ProviderNeutron as oVirt External Provider

Page 44: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN48

Importing NetworksImporting Networks

Page 45: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN49

Adding a New NetworkAdding a New Network

Page 46: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN50

Use casesUse cases

oVirt centric

Neutron 은 네트워크의 상세 설정을 위해서만 사용 , 실제 네트워크 설정 및 관리는 oVirt 가 처리

Neutron centric

기존 Neutron 구성하에서 oVirt 는 별도로 관리하지 않고 , 단순히 이미 정의된 네트워크 서비스를 이용

Page 47: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN51

Cinder IntegrationCinder Integration

Page 48: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN52

통합의 장점 및 효과통합의 장점 및 효과

● 현재 개발 진행중

● OpenStack Cinder 와 oVirt 와의 Cinder Volume 공유

● Block 서비스의 일원화

● oVirt 이미지를 Cinder 에 Export 하거나 Cinder 로부터 Import

● Cinder Volume 드라이버가 지원하는 스토리지 어플라이언스 (IBM, NetApp, Dell, EMC) 의 기능 활용

● Ovirt/OpenStack 데이터 센터간 통합된 Snapshot/Backup 정책 사용

Page 49: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN53

Managing Cinder VolumesManaging Cinder Volumes

(1) Authentication

Token

(2) List, Create, Delete

oVirt-Engine

Cinder

Keystone

Page 50: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN54

Using Cinder VolumesUsing Cinder Volumes

VDSM

(1) Authentication

Token

(2) Volume Information

oVirt-Engine

Cinder

Keystone

(3) Create VM

Storage

Page 51: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN55

Keystone IntegrationKeystone Integration

Page 52: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN56

통합의 장점 및 효과

● 현재 설계 진행중

● OpenStack 과 oVirt 데이터 센터간 인증을 Keystone 으로 통합

● 일원화된 인증 서비스로 관리 및 유지 비용 절감

● Traditional 서비스의 OpenStack 이행 용이

● Keystone 의 User 와 Tenant 를 oVirt 의 엔티티로서 특정 Permission 과 Role 에 지정 가능

● Glance, Neutron, Cinder 와 같은 다른 OpenStack 서비스와의 통합에서 Keystone 인증 정보의 재사용

Page 53: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN57

oVirt Authentication using KeystoneoVirt Authentication using Keystone

(1) Authentication

Token

(3)

oVirt-Engine

Services

Keystone

(2)

Page 54: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN59

CONCLUSIONCONCLUSIONCOMPLETE YOUR MOVE TO CLOUDCOMPLETE YOUR MOVE TO CLOUD

Page 55: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN60

기업의 기대와 클라우드의 간극기업의 기대와 클라우드의 간극

?

Cloud transition with existing IT investments

Coverage about traditional workloads

Interfacing between two type of services

Small business

Page 56: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN61

!

COMPLETE YOUR MOVE TO CLOUDCOMPLETE YOUR MOVE TO CLOUD

Page 57: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN62

Beyond...Beyond...

and more...

Page 58: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN63

THANK YOU !

Special thanks : Doron Fediuck, and oVirt.org contributors

Page 59: 2014 OpenStack Day in Korea - oVirt and OpenStack Integration and more

COMPLETE YOUR MOVE TO CLOUD | ROGAN64

Community

● http://www.facebook.com/group/ovirt.korea

● http://www.ovirt.org

Reference

● http://www.ovirt.org/Features/OSN_Integration

● http://www.ovirt.org/Features/Glance_Integration

● http://www.ovirt.org/FOSDEM_2014● The most of screenshot in this slide have been originated from slides

presented in FOSDEM 2014.