• No results found

Open Cloud Day.

N/A
N/A
Protected

Academic year: 2021

Share "Open Cloud Day."

Copied!
50
0
0

Loading.... (view fulltext now)

Full text

(1)

OpenNebula @ Open Cloud Day

2015

(2)

Introduction

Nico Schottelius

President of ungleich GmbH

– Linux/Unix Infrastructure Services

– Application Hosting (RubyOnRails, Django, Nodejs)

Hosting based on OpenNebula and cdist

FOSS Hacker

(3)

I talk for you

Ask Questions

Any Time

I answers in <30s

(4)

Overview

Introduction

OpenNebula Basics

How to Setup

How to Use

Advanced topics

– High Availability

– Clusters & Federation

(5)

What is OpenNebula?

(6)

What is OpenNebula?

OpenNebula is a powerful, proven, adaptable and

interoperable open-source platform for data center

virtualization and enterprise cloud management, which

is certified and commercially supported on the most

common infrastructure platforms. OpenNebula provides

the rapid innovation of open-source, with stability

and long-term production support of commercial

software.

(7)

What is OpenNebula?

Open Source Software

Virtualisation Plattform

Public and private Cloud

Very easy

(8)

OpenNebula Architecture

Monolithic

– Compared to other Software

– However subsystems are modular

One Frontend

VM-Hosts (“Nodes”)

(9)

History

(10)

OpenNebula Users

(11)

How to talk OpenNebula

(12)

OpenNebula Entities

Users, Groups, ACLs

Virtual Machines, Templates, Images

Hosts, Datastores, Virtual Networks

Clusters, Zones

Marketplace

(13)

User, Groups, ACLs

(14)

Virtual Machines

Based on Template

– Some parameters can be changed, but not all (!)

Template

– Network

– Image (s)

– CPU/RAM

– Constraints

(15)

Infrastructure

Hosts

Datastores

– Shared/Local

– NFS/GlusterFS/Ceph/Sheepdog/ssh

Virtual Networks

– Bridging

– VLAN

– VXLAN

(16)

Marketplace

(17)

Technology Overview

-

What is the heart of OpenNebula?

(18)

Frontend

Ruby On Rails

Various (shell) Scripts

Database

– sqlite

– MySQL

– ...

(19)

Frontend / User Authentication

Native (Database based)

SSH

x509 (Certificates)

LDAP

Active Directory

(20)

Hosts / Nodes

Virtualisation

– KVM

– Xen

– VMWare

– Hyper-V

Authentication / Authorization

– SSH

(21)

Storage

Non-Shared

SSH

GlusterFS (*)

Ceph

Sheepdog (master branch/addon)

(22)

Networking

Bridging

Firewalling

Openvswitch

VXLAN

(23)

How to Setup

(24)

OS

CentOS/RHEL and Ubuntu (recommended)

Archlinux / Debian working

Probably (!) runs on any Linux

Requirements

– Ruby, libstdc++, Shell (Frontend)

– kvm + ssh (Node)

(25)

How to Setup

Add OpenNebula Repository

Install Software (apt-get, yum, …)

– Package for frontend

– (Ruby Gems for frontend)

– Package for nodes

(26)

OpenNebula Frontend

Webfrontend (“sunstone”)

– Ruby On Rails

– Database: Sqlite / MySQL

– Optional: Webserver (f.i. nginx) for SSL

Scheduler (“oned”)

– Monitoring

– Management

(27)

Frontend Requirements

(28)

OpenNebula Node

oneadmin user

– No root access required after installation

SSH keys of frontend oneadmin user

– Management

– Monitoring

KVM / Xen / VMWare

(29)

Minimal Configuration

Add

– (Datastore)

– Network

– Host

– Image

– Template

(30)

Experiences: Setup

Installation mostly straight forward

Documentation for advanced methods (Ceph,

GlusterFS) can be improved

VERY easy to extend

– Especially for storage / virtualisation

– ~4 scripts for Sheepdog support

(31)

How to use

(32)

How to use

Sunstone (WebUI)

– https with f.i. nginx

– wss for VNC

API (XMC-RPC)

Command Line Interface

(33)

WebUI / Sunstone

(34)

Command Line Interface

one*

User: oneadmin

Mostly: onevm & onetemplate

[21:19:06] entrance:~$ one

one onedatastore onehost onevcenter oneacct onedb oneimage onevm

oneacl oneflow onemarket onevnet onecluster oneflow-template onetemplate onezone oned onegroup oneuser

(35)

Experiences: Using

CLI is mostly consistent

– Error messages could be better

– Check /var/log/one/*.log (!)

WebUI works rather smooth

– Some operations easier than in CLI

(36)

Demo

(37)

Advanced Topics

(38)

Clusters

Mapping of Resources to “groups”

Hosts

Networks

Datastores

Templates

– Selecting clusters

(39)

Virtual Data Centers

Mapping of groups to resources

Can be used with clusters

Or parts of clusters

(40)

Cloud Bursting / Hybrid Cloud

Public Cloud treated as a host

Azure

Amazon

Softlayer

(41)

High Availability: Frontend

HA Cluster with

– Corosync / CCS / Ricci

– Anything that detects/ensure other node is down

MySQL Multi Master for data redundancy

(42)

High Availability: Virtual Machines

Host down detection (standard)

Hooks

– STONITH

– Re-Deploy

(43)

Federation

Combine Multiple OpenNebula Instances

– Users, Groups, Networks, VDC, ACLs, Zones

MySQL Replication

Zones

(44)

Hooks

Virtual Machines

– Create, Running, Shutdown, ...

Hosts

– Create, Error, Disable

Other

– Users, Groups, Networks, ...

(45)

Conclusion?

(46)

Conclusion

OpenNebula is easy to setup and maintain

Simple, but flexible

Solves real world problems

Small, but active community

(47)

Follow Up

(48)

OpenNebulaConf 2015

(49)

OpenNebula Hackday

(50)

Want to know more?

[email protected]

Twitter: @ungleich

http://www.ungleich.ch / http://blog.ungleich.ch

DIGITAL GLARUS

References

Related documents

Secondary organic aerosol production from local emissions dominates the organic aerosol budget over Seoul, South Korea, during KORUS-AQ..

• In this talk we will focus on IaaS and private cloud, mainly in an Open Source Cloud Platform called OpenStack...

Experiments are conducted to benchmark to indentify the load balancing performance of the OpenNebula cloud management platform with four test cases in two groups with other one test

This enlightens somehow the nature of the quality choice of the low-quality newspaper’s editor who chooses, when s reaches its critical value, to select the minimum quality level

Findings – This proposal improves the establishment of inter-organizational relationships into networks to exchange knowledge among the companies along the supply chain and to create

Events like those held by The Floating Cinema extend the spectacular elements of film exhibition beyond the screen and in doing so bring cinema’s ways of seeing to bear on

Uzziah, Menahem began to reign over Israel, and he reigned ten years ; 2 Kings xv.. Perhaps

OpenNebula – Architecture for Cloud Data Centers?. I’m using virtualization/cloud, and plan a private