devops platform for agile cloud application - wakame-vdc overview

64
Wakame-VDC Wakame Software Foundation Axsh Co. Yasuhiro Yamazaki 20121117日土曜日

Upload: axsh-co-ltd

Post on 20-Aug-2015

1.050 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Wakame-VDC

Wakame Software FoundationAxsh Co.

Yasuhiro Yamazaki

2012年11月17日土曜日

Page 2: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Agenda•The Goal of Wakame-VDC

•Demo

• Installing

•Virtual Network

•Other Features

•Source Code Overview

2012年11月17日土曜日

Page 3: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Q. How to Install?

2012年11月17日土曜日

Page 4: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Everything ongithub

https://github.com/axsh/wakame-vdc/

Easy to Install.

2012年11月17日土曜日

Page 5: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Try 1-2-3

•Prepare the VirtualBox

•Create CentOS 6.3 Image

•Use RPM on it

> Demo2012年11月17日土曜日

Page 6: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Q. I Have No Time to Try

2012年11月17日土曜日

Page 7: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Download VM Version Let me know if you want.

2012年11月17日土曜日

Page 8: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Automation ProcessPush to github

Generate RPM

Create VM Image

Install

Test> Demo

2012年11月17日土曜日

Page 9: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Q. Where Is AWS Compatible WebAPI?

2012年11月17日土曜日

Page 10: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Please Use “THAT” If You Need AWS Compatible WebAPI

THAT

2012年11月17日土曜日

Page 11: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

• It is easy to reproduce a compatible interface only.Anyone can do it.

•The issue is compatible behavior.It would affect grand design and core implementation.

2012年11月17日土曜日

Page 12: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Q. What is Our Goal?

2012年11月17日土曜日

Page 13: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Virtual Data Center

2012年11月17日土曜日

Page 14: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

2009Wakame-VDC Project Began.

2012年11月17日土曜日

Page 15: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Cloud“Computing”

2012年11月17日土曜日

Page 16: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Virtualization MadeHigh Portability

2012年11月17日土曜日

Page 17: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Virtual Machine

Copy / Move

2012年11月17日土曜日

Page 18: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Virtual Data Center

http://www.flickr.com/photos/traftery/5596941479/ CC BY-SA 2.0

Copy / Move

2012年11月17日土曜日

Page 19: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

2012年11月17日土曜日

Page 20: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Backup &Deployment

2012年11月17日土曜日

Page 21: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

What’s Missing?

2012年11月17日土曜日

Page 22: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Everything Inside of Data Center Should Be Virtualized.

2012年11月17日土曜日

Page 23: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Virtual ! Server! Network! Storage

2012年11月17日土曜日

Page 24: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

VirtualNetwork

> Demo2012年11月17日土曜日

Page 25: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

GUI Server(Web UI)

Browser

html/JSON

User

Wakame-VDC System Overview

2012年11月17日土曜日

Page 26: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Data Center Manager(DCMGR)

DCMGRWeb API

GUI Server(Web UI)

Browser

html/JSON

User

Wakame-VDC System Overview

2012年11月17日土曜日

Page 27: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Data Center Manager(DCMGR)

Queue(AMQP)

DCMGRWeb API

GUI Server(Web UI)

Browser

html/JSON

User

Wakame-VDC System Overview

2012年11月17日土曜日

Page 28: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Data Center Manager(DCMGR)

Queue(AMQP)

DCMGRWeb API

GUI Server(Web UI)

Browser

html/JSON

User

DCMGRCollector

Wakame-VDC System Overview

2012年11月17日土曜日

Page 29: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Physical Machine

Data Center Manager(DCMGR)

Queue(AMQP)

Hyper Visor Agent(HVA)

DCMGRWeb API

GUI Server(Web UI)

Browser

html/JSON

User

DCMGRCollector

Wakame-VDC System Overview

2012年11月17日土曜日

Page 30: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Physical Machine

Data Center Manager(DCMGR)

Queue(AMQP)

Hyper Visor Agent(HVA)

VMDCMGRWeb API

GUI Server(Web UI)

Browser

html/JSON

User

DCMGRCollector

Wakame-VDC System Overview

Instance

2012年11月17日土曜日

Page 31: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Physical Machine

Data Center Manager(DCMGR)

Queue(AMQP)

Hyper Visor Agent(HVA)

Storage Target Agent(STA)

VM

Indelible FS

DCMGRWeb API

GUI Server(Web UI)

Browser

html/JSON

User

DCMGRCollector

Block Device

Wakame-VDC System Overview

Instance

2012年11月17日土曜日

Page 32: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Physical Machine

Data Center Manager(DCMGR)

Queue(AMQP)

Hyper Visor Agent(HVA)

Storage Target Agent(STA)

VM

iSCSI

Indelible FS

DCMGRWeb API

GUI Server(Web UI)

Browser

html/JSON

User

DCMGRCollector

Block Device

Wakame-VDC System Overview

Instance

2012年11月17日土曜日

Page 33: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Physical Machine

Data Center Manager(DCMGR)

Queue(AMQP)

Hyper Visor Agent(HVA)

Storage Target Agent(STA)

VM

iSCSI

Indelible FS

DCMGRWeb API

GUI Server(Web UI)

Browser

html/JSON

User

DCMGRCollector

Block Device

Wakame-VDC System Overview

Instance

2012年11月17日土曜日

Page 34: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Physical Machine

Data Center Manager(DCMGR)

Queue(AMQP)

Hyper Visor Agent(HVA)

Storage Target Agent(STA)

Naming Service Agent(NSA)

DHCP

DNS

VM

iSCSI

Indelible FS

DCMGRWeb API

GUI Server(Web UI)

Browser

html/JSON

User

DCMGRCollector

IPhostname

Block Device

Wakame-VDC System Overview

Instance

2012年11月17日土曜日

Page 35: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Physical Machine

Data Center Manager(DCMGR)

Queue(AMQP)

Hyper Visor Agent(HVA)

Storage Target Agent(STA)

Naming Service Agent(NSA)

DHCP

DNS

VM

iSCSI

Indelible FS

DCMGRWeb API

GUI Server(Web UI)

Browser

html/JSON

User

DCMGRCollector

sshIP

hostname

Block Device

Wakame-VDC System Overview

Instance

2012年11月17日土曜日

Page 36: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Physical Machine

Hyper Visor Agent(HVA)

Storage Target Agent(STA)

VM

iSCSI

Indelible FS

Block Device

Wakame-VDC System Overview

Instance

2012年11月17日土曜日

Page 37: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Networking StructurePhysical Machine

Hyper Visor Agent

2012年11月17日土曜日

Page 38: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Networking StructurePhysical Machine

Hyper Visor Agent

NIC

2012年11月17日土曜日

Page 39: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Networking StructurePhysical Machine

Hyper Visor Agent

NIC NIC

2012年11月17日土曜日

Page 40: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Networking StructurePhysical Machine

Hyper Visor Agent

NIC NIC

VM

NIC NIC

2012年11月17日土曜日

Page 41: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Networking StructurePhysical Machine

Hyper Visor Agent

NIC NIC

VM

NIC NIC

2012年11月17日土曜日

Page 42: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Networking StructurePhysical Machine

Hyper Visor Agent

NIC NIC

VM

NIC NIC

OpenFlow Switch

2012年11月17日土曜日

Page 43: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Networking StructurePhysical Machine

Hyper Visor Agent

NIC NIC

VM

NIC NIC

OpenFlow Switch

Trema

2012年11月17日土曜日

Page 44: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Networking StructurePhysical Machine

Hyper Visor Agent

NIC NIC

VM VM

NIC NIC NIC NIC

OpenFlow Switch

Trema

2012年11月17日土曜日

Page 45: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Networking StructurePhysical Machine

Hyper Visor Agent

NIC NIC

VM VM

NIC NIC NIC NIC

OpenFlow Switch

Trema Virtual Network Layer

Physical Network Layer

2012年11月17日土曜日

Page 46: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Basic Idea of Virtual Network

NIC NIC

VM VM

NIC NIC NIC NIC

OpenFlow Switch

Virtual Network Layer

Physical Network Layer

2012年11月17日土曜日

Page 47: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Basic Idea of Virtual Network

NIC NIC

VM VM

NIC NIC NIC NIC

OpenFlow Switch

Virtual Network Layer

Physical Network Layer

2012年11月17日土曜日

Page 48: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Basic Idea of Virtual Network

NIC NIC

VM VM

NIC NIC NIC NIC

OpenFlow Switch

Virtual Network Layer

Physical Network Layer

Packet

VM generates a packet for our virtual network.

2012年11月17日土曜日

Page 49: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Basic Idea of Virtual Network

NIC NIC

VM VM

NIC NIC NIC NIC

OpenFlow Switch

Virtual Network Layer

Physical Network Layer

Packet

VM generates a packet for our virtual network.

The OpenFlow Switch loads a packet for transportation through physical networks.

2012年11月17日土曜日

Page 50: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Basic Idea of Virtual Network

NIC NIC

VM VM

NIC NIC NIC NIC

OpenFlow Switch

Virtual Network Layer

Physical Network Layer

Packet

VM generates a packet for our virtual network.

The OpenFlow Switch loads a packet for transportation through physical networks.

The packet is sent to the target NIC via the physical network.

2012年11月17日土曜日

Page 51: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Basic Idea of Virtual Network

NIC NIC

VM VM

NIC NIC NIC NIC

OpenFlow Switch

Virtual Network Layer

Physical Network Layer

PacketVM generates a packet for our virtual network.

The OpenFlow Switch loads a packet for transportation through physical networks.

The packet is sent to the target NIC via the physical network.

The packet is finally unloaded to finish its journey to the target VM on the virtual network.

2012年11月17日土曜日

Page 52: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Other Features

2012年11月17日土曜日

Page 53: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

AdvancedSecurity Groups

> Demo2012年11月17日土曜日

Page 54: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Alive Monitor

> Demo2012年11月17日土曜日

Page 55: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Instance Backup

> Demo2012年11月17日土曜日

Page 56: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Future Work

2012年11月17日土曜日

Page 57: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Log Collector

2012年11月17日土曜日

Page 58: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Scheduled Features

•DC Level Snapshot (Virtual Storage)

•VDC Deployment Engine

•Windows Instance Support (Coming Soon)

•Abuse Patrol

2012年11月17日土曜日

Page 59: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Development &Operation

DevO

ps P

latform

Wakame-VDC Supports

2012年11月17日土曜日

Page 60: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Source Code Overview

•Related Projects

•Directory Structure

•Modules

2012年11月17日土曜日

Page 61: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Related Projects on github

• axsh/isono (Fundamental Framework)

• axsh/trema (OpenFlow Controller Framework)

• axsh/eventmachine (Event Driven Engine)

2012年11月17日土曜日

Page 62: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Services / Daemons

• frontend (GUI)• vdc-webui (User’s Interface)• vdc-admin (Operator’s Interface)

• dcmgr (Core)• vdc-dcmgr / vdc-collector / vdc-hva / vdc-sta / vdc-nsa• vdc-metadata (Metadata Server)• vdc-nwmongw (Alive Monitoring)• vdc-manage (Command Line Interface)

2012年11月17日土曜日

Page 63: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Directory Structure

• dcmgr/lib/dcmgr (Core Source Code)

• dcmgr/bin (Startup Scripts)

• frontend/dcmgr_gui (User’s Interface)

• frontend/admin (Operator’s Interface)

• rpmbuild (RPM Specs)

> Exploring...2012年11月17日土曜日

Page 64: DevOps Platform for Agile Cloud Application - Wakame-VDC Overview

Let’s Change Our World Together

https://github.com/axsh/wakame-vdc

Wakame Software Foundation

2012年11月17日土曜日