wug #006 wakame-vdc installation and usage workshop

15

Upload: axsh-co-ltd

Post on 02-Jul-2015

225 views

Category:

Software


0 download

DESCRIPTION

This meeting will be a workshop where attendees use the guides available on the Wakame-vdc wiki to install and use Wakame-vdc on Centos 6.4. The materials required for installation can be found on the wiki but here's a quick summary. A machine running Centos 6.4. Can be a virtual machine. at least 350MB of free space in the /opt directory. at least 1 gigabyte of RAM. Some free disk space in the /var/lib directory. Machine images and started instances will go here. 1 gigabyte will be enough for a few instances.

TRANSCRIPT

Page 1: WUG #006 Wakame-vdc installation and usage workshop
Page 2: WUG #006 Wakame-vdc installation and usage workshop

Todays topics

● Brief explanation of what Wakame­vdc is

● Wakame­vdc installation workshop

● Future workshop/documentation requests

Page 3: WUG #006 Wakame-vdc installation and usage workshop

Axsh has two main projects

● Wakame­vdc (today's subject)

A virtual data center capable of providing infrastructure as a service (iaas)

● OpenVNet

A virtual networking solution using OpenFlow

Page 4: WUG #006 Wakame-vdc installation and usage workshop

Wakame­vdc From the user's perspective

Instance Instance

Instance

WebAPI

* Instance = Virtual Server

User

Http

SSH

Page 5: WUG #006 Wakame-vdc installation and usage workshop

Wakame­vdc four basic components

● WebAPICalling this API makes Wakame­vdc do stuff

● CollectorWakame­vdc's decision making organ

● HVAManages instances

● Web GUI (optional)

Makes the WebAPI look pretty

Page 6: WUG #006 Wakame-vdc installation and usage workshop

Wakame­vdc is 100% open source software

● OS: Centos 6.5● Networking: Linux Bridge● Firewall: Linux Netfilter (iptables)● VM Hypervisor: OpenVZ (KVM and LXC also supported)

● AMQP Exchange: RabbitMQ● GUI: Ruby on Rails● Wakame­vdc components: Ruby

Page 7: WUG #006 Wakame-vdc installation and usage workshop

GUI node

A typical Wakame­vdc Environment

HVA node(HyperVisor Agent)

Instance

Instance

Instance

Dcmgr node(Data Center Manager)

AMQP

WebAPI

HVA

Collector

HVA node(HyperVisor Agent)

Instance

Instance

Instance

HVA Legend(Physical) ServerRuby processVirtual machine

Web GUI

http

Http(browser)

User

Page 8: WUG #006 Wakame-vdc installation and usage workshop

What we will construct today

Laptop

Wakame­vdc host (virtual machine)

GUI

WebAPI

Collector

HVA

AMQP

Instance Instance

Instance Instance

Instance Instance

HttpBrowser

Page 9: WUG #006 Wakame-vdc installation and usage workshop

VirtualBox image network layout

Laptop

NIC

Internet

NIC

Wakame­vdc host

NIC

InstanceNIC

InstanceNIC

10.0.10.1

10.0.10.2 10.0.10.15

10.0.10.100

10.0.10.101

Page 10: WUG #006 Wakame-vdc installation and usage workshop

VirtualBox image network layout

LaptopPhysical NIC

Wakame­vdc host (virtual machine) Gateway (virtual machine)

VM NIC(10.0.10.15)

VM NIC(NAT)

VM NIC(10.0.10.1)

Host virtual NIC(10.0.10.2)

Linux Bridge

Instance Instance

VirtualBox “Host Only” network

IP forwardingNIC NIC

10.0.10.100 10.0.10.101

Page 11: WUG #006 Wakame-vdc installation and usage workshop

Let's get to it

The installation guide is here:

https://github.com/axsh/wakame­vdc/wiki/install­guide

OR:

Go to http://wakame.jp and click on “installation guide” on the right side of the page.

Page 12: WUG #006 Wakame-vdc installation and usage workshop

What is working now?

● Instances● Security Groups● SSH Keypair management

Page 13: WUG #006 Wakame-vdc installation and usage workshop

What is not working yet?

● Volumes (detachable virtual hard drives)

● Load balancers● Network Address Translation● Log management (using Fluentd)

● High Availability● Migration● Monitoring (using Zabbix)

Page 14: WUG #006 Wakame-vdc installation and usage workshop

Want to hack around?

● The source is here: https://github.com/axsh/wakame­vdc

● The main project is in the dcmgr directory.● Feel free to send your code back to us in Github 

pull requests

Page 15: WUG #006 Wakame-vdc installation and usage workshop

What's next?

Want a workshop or documentation on a specific topic?

Please let us know!

Surf to http://wakameusersgroup.org and click on Google Group