dev cloud

13
Do you want to play with Apache CloudStack? Rajesh Battala Apache CloudStack Committer

Upload: rajesh-battala

Post on 28-Nov-2014

741 views

Category:

Technology


4 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Dev cloud

Do you want to play with Apache CloudStack?

Rajesh BattalaApache CloudStack Committer

Page 2: Dev cloud

2

Playing with CloudStack

• Servers• Hypervisor• Storage• Network

But to build my IaaS don’t I

need?

• We have DevCloudYes you do for

real life deployment but not to play or develop for CloudStack

2

Page 3: Dev cloud

3

What is DevCloud?

• A virtual box appliance packaged to provide a working CloudStack Environment`

3

Page 4: Dev cloud

DevCloud

•Several use caseso Try CloudStack in an isolated sandbox. Runs

within the applianceo Develop CloudStack on own machine, build

locally and deploy new version in DevCloud (Build and test)

o Develop and Run locally, use DevCloud as Xen hosts

Page 5: Dev cloud

5

DevCloud Steps

1. Install VirtualBox 4.2 or latest.2. Configure VirtualBox

Create a "host-only" network in VirtualBox, if you don't have one.

To config the network, right click and select "Edit host-only network", then uncheck "Enable server" in the "DHCP server" tab

If you are using Windows ensure that Windows Firewall does not block communications on “host-only” network.

3. Download DevCloud 2.0 virtual appliance. Import the DevCloud ova image into

VirtualBox.

4. Start the DevCloud VM. After VM boots up, login into VM with username: root, password: password

5

Page 6: Dev cloud

6

DevCloud Steps

5. Checkout the latest master code, then start management server on your machine and run following commands

6. Deploy DevCloud (make sure mysql-connector-python is installed and that the management server is running)mvn -P developer,deploysvr -pl tools/devcloud -Ddeploysvr

6

Page 7: Dev cloud

7

How to contribute

• Its not just about code! As community member you can engage inoDiscussions: Design, Use Case, deployment

issueso Bug reporting, feature requestsoCode reviewso Build, tools, infrastructureoHelping out on the IRCoDocumentationo Submit bug fixes, features

Page 8: Dev cloud

8

How to contribute (contd..)

• Git repo, bug tracker, wiki are on ASF infra

• Project websiteo http://cloudstack.apache.org/o http://buildacloud.org/o http://git-wip-us.apache.org/repos/asf/cloudstack.git

• IRCo #cloudstack on irc.freenode.neto Wednesday - 10:30 PM IST, 5:00 UTC

• Mailing lists (cloudstack.org/discuss/mailing-lists.html)o [email protected] o [email protected]

• http://www.slideshare.net/cloudstack

Page 9: Dev cloud

9

9

Page 10: Dev cloud

10

Management Server

Kernel- Drives long running VM

operations- Syncs between resources

managed and DB- Generates events

Resource Manageme

nt

Cluster Manageme

nt

JobManagemen

tDB

UICloud Portal

CLIOther Clients

Job Queu

e

Deployment Planning

Network Configurations

Network Elements

Hypervisor Gurus

DatabaseAccess

Alert & Event

Management

Plu

gin

API

Hypervisor Resources

Network Resources

Storage Resources

ImageResources

SnapshotResources

REST API

OAM&P APIEnd User

APIEC2 API

Pluggable Service API Engine

Other APIs

Security Adapters

Account Management Connectors

ACL & Authentication- Accounts, Domains, and

Projects- ACL, limits checking

Services API

Serv

ices

API

Console Proxy

Management

Template Access

HA

Usage Calculations

Additional Services

Event BusMessage Bus

Page 11: Dev cloud

11Interactions

CloudStack

Cloud user{API client (Fog/etc)}

End User UI

Admin UI

MySQL

CloudStackClustered

CloudStackManagement

Server

Domain

Admin UI

CS Admin & End-user API

Cloud user{ec2 API client }

ec2 API

Monitoring CS API vSphere Cluster

PrimaryStorage

vcenter

Cluster Mgmt

XS ClusterPrimaryStorage

vCenter API

XAPI

KVM ClusterPrimaryStorageJSON

OVM Cluster PrimaryStorage

XenApi

NetConf

Nitro API

Juniper SRX

Netscaler

Console Proxy VMConsole

Proxy VM

JSON

Cloud user

HTTPSAjax Console

VNC

Sec. Storage

VM

NFS Server

NFSSec. Storage

VM

HTTP (Template Download)

HTTP (Template Copy)

HTTP (Swift)

NFS

Router VMRouter VM

Router VM

JSON

{Proxied} SSH

Page 12: Dev cloud

12

Sequence Flow for VM Creation

Job Threads

Network Element

User VM Mgr

Network Mgr

Storage Mgr

VirtualMachine Mgr

Network Guru

Start VM

Start VM

Prepare Nics

Notify that Nic is about to be started in network

Reserve resources for Nic

Services API

ServerResourc

es

Start User VM

Agent Calls

Prepare Volumes

Template Mgr

Deployment

Planner

Get a Deployment Plan (Host and StoragePool)

Prepare template on Primary Storage

Agent Calls

Agent Start VM Call

Stores job result

Page 13: Dev cloud

13

Thanks You

13