Baremetal with Apache CloudStack

Similar documents
Citrix CloudPlatform (powered by Apache CloudStack) Version 4.5 Concepts Guide

Building a Big IaaS Cloud. David /

Xen and CloudStack. Ewan Mellor. Director, Engineering, Open-source Cloud Platforms Citrix Systems

ElasterStack 3.2 User Administration Guide - Advanced Zone

CloudStack Administration Guide

Distributed Systems. 31. The Cloud: Infrastructure as a Service Paul Krzyzanowski. Rutgers University. Fall 2013

Apache CloudStack CloudStack Administrator's Guide

MaaS Integration for Baremetal Provisioning in Cloudstack

Build Cloud like Rackspace with OpenStack Ansible

CloudPlatform (powered by Apache CloudStack) Version Installation Guide

Citrix CloudPlatform (powered by Apache CloudStack) Version 4.5 Getting Started Guide


Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

Securing Containers Using a PNSC and a Cisco VSG

Getting to Know Apache CloudStack

Securing Containers Using a PNSC and a Cisco VSG

Orchestration Workflow Tasks for PXE Boot

Citrix XenServer 7.1 Feature Matrix

Apache CloudStack. Sebastien Goasguen Open Source Office,

VIRTUAL CENTRAL LOCK

VMware vcloud Director Evaluator s Guide TECHNICAL WHITE PAPER

Dell EMC Ready Architectures for VDI

Dell EMC Ready System for VDI on VxRail

Data Center and Cloud Automation

Dell EMC Ready System for VDI on XC Series

Windows Azure Services - At Different Levels

UCS-E160DP Double-wide E-Series Server, 6 core CPU, with PCIe

Creating Application Containers


HySecure Quick Start Guide. HySecure 5.0

Table of Contents DevOps Administrators

"Charting the Course... H8Q14S HPE Helion OpenStack. Course Summary

Install Virtual Guest Services Greyed Out Vmm 2012

Redhat OpenStack 5.0 and PLUMgrid OpenStack Networking Suite 2.0 Installation Hands-on lab guide

Edge Device Manager R15 Release Notes

70-745: Implementing a Software-Defined Datacenter

70-414: Implementing an Advanced Server Infrastructure Course 01 - Creating the Virtualization Infrastructure

Resiliency Replication Appliance Installation Guide Version 7.2

Introducing VMware Validated Designs for Software-Defined Data Center

CloudPlatform (powered by Apache CloudStack) Version Installation Guide

CONTAINERS AND MICROSERVICES WITH CONTRAIL

Improving Blade Economics with Virtualization

CloudStack Tech Talks - Design. Chinzan-so Hotel & Conference Center Tokyo, Japan June 2, 2015

Creating Application Containers

Introducing VMware Validated Designs for Software-Defined Data Center

Ensure that the server where you install the Primary Server software meets the following requirements: Item Requirements Additional Details

Edge Device Manager Quick Start Guide. Version R15

Red Hat OpenStack Platform 10 Product Guide

Introducing VMware Validated Designs for Software-Defined Data Center

Case Study on Enterprise Private Cloud

Installing and Configuring Oracle VM on Oracle Cloud Infrastructure ORACLE WHITE PAPER NOVEMBER 2017

Active System Manager Version 8.0 User s Guide

ISO Installation Guide. Version 1.2 December 2015

Automated Deployment of Private Cloud (EasyCloud)

ZeroStack Quick Start Guide

Installing Cisco MSE in a VMware Virtual Machine

Cisco Solution for Private Cloud

Statement of Compliance Cloud Platform

Virtual Appliance User s Guide

Cisco Enterprise Cloud Suite Overview Cisco and/or its affiliates. All rights reserved.

Building physical clouds

Citrix CloudPlatform (powered by Apache CloudStack) Version Patch D Release Notes. Revised July 02, :15 pm Pacific

Er XenApp død og begravet? Allan Bak, edgemo A/S

[MS10992]: Integrating On-Premises Core Infrastructure with Microsoft Azure

openqrm Enterprise Administrator Guide Enterprise System Adminstration and IaaS Datacenter Automation with openqrm 5.2

How Parallels RAS Enhances Microsoft RDS. White Paper Parallels Remote Application Server

Empowering SDN SOFTWARE-BASED NETWORKING & SECURITY FROM VYATTA. Bruno Barba Systems Engineer Mexico & CACE

Installing and Configuring Oracle VM on Oracle Cloud Infrastructure O R A C L E W H I T E P A P E R D E C E M B E R

Cisco Modeling Labs OVA Installation

OpenNebula on VMware: Cloud Reference Architecture

Open Cloud Reference Architecture

Citrix Workspace Cloud

Dell Wyse Management Suite. Version 1.0 Quick Start Guide

Citrix XenDesktop 5 Administration

LiveNX 7.4 QUICK START GUIDE (QSG) LiveAction, Inc WEST BAYSHORE ROAD PALO ALTO, CA LIVEACTION, INC.

CLOUD PROVIDER POD RELEASE NOTES

Dell EMC Ready Architectures for VDI

Cisco Prime Service Catalog Virtual Appliance Quick Start Guide 2

NetScaler Analysis and Reporting. Goliath for NetScaler Installation Guide v4.0 For Deployment on VMware ESX/ESXi

EMC Smarts SAM, IP, ESM, MPLS, NPM, OTM, and VoIP Managers Support Matrix

VPN Solutions for Zerto Virtual Replication to Azure. IPSec Configuration Guide

SUSE OpenStack Cloud Production Deployment Architecture. Guide. Solution Guide Cloud Computing.

DEPLOYING A VMWARE VCLOUD DIRECTOR INFRASTRUCTURE-AS-A-SERVICE (IAAS) SOLUTION WITH VMWARE CLOUD FOUNDATION : ARCHITECTURAL GUIDELINES

IBM Single Sign On for Bluemix Version December Identity Bridge Configuration topics

CloudBridge and Get Ready for Desktops and Apps as a Service. Henrik Poulsen

Windows Server 2012 Hands- On Camp. Learn What s Hot and New in Windows Server 2012!

to know how and when to apply which Microsoft technology. In many cases, you can combine multiple

Oracle 1Z Oracle Cloud Solutions Infrastructure Architect Associate.

EMC Smarts SAM, IP, ESM, MPLS, NPM, OTM, and VoIP Managers 9.5 Support Matrix

Installation runbook for

Transparent Service Migration to the Cloud Clone existing VMs to CloudStack/OpenStack templates without user downtime. CloudOpen Seattle 2015

Introducing VMware Validated Design Use Cases. Modified on 21 DEC 2017 VMware Validated Design 4.1

Quick Start Guide v3. Nuage Networks 755 Ravendale Drive Mountain View, CA 94043

Course CXS-203 Citrix XenServer 6.0 Administration

Installation Prerequisites

Goliath Performance Monitor v11.7 POC Install Guide

ARCSERVE UDP CLOUD DIRECT DISASTER RECOVERY APPLIANCE VMWARE

Citrix XenServer 5.6 Administration

Silver Peak EC-V and Microsoft Azure Deployment Guide

Release Notes for Cisco Application Policy Infrastructure Controller Enterprise Module, Release x

Transcription:

Baremetal with Apache CloudStack ApacheCon Europe 2016 Jaydeep Marfatia Cloud, IOT and Analytics

Me Director of Product Management Cloud Products Accelerite Background Project lead for open source project XenMan/ConVirt Co-Founder Convirture Corp. Architect for Oracle 10g Enterprise Manager 2

Apache CloudStack Highly available, highly scalable Infrastructure as a Service (IaaS) cloud computing platform Easy to deploy, turnkey solution that includes the entire "stack" of features most organizations want with an IaaS cloud Used by many enterprises for their private cloud, as well as for running large public clouds! CloudStack currently supports the most popular hypervisors: VMware, KVM, Citrix XenServer, Hyper-V and more 3

Accelerite Enterprise Infrastructure software company Acquired CloudPlatform from Citrix early this year Commercial product based on CloudStack 50+ engineers and adding more 4

Recent contributions by Accelerite Template upload from browser DHCP/DNS Offload LDAP integration CoreOS/Docker on CloudStack VPN enhancements VMWare Networking improvements Baremetal enhancements 200+ Bug fixes in the product 5

CloudStack User Interface

User Console 7

Admin Console 8

Self-service VM Provisioning Zone Template Compute Disk Affinity Network Launch 9

Monitoring Cloud Infrastructure 10 2016 Accelerite. All rights reserved.

Baremetal Team

Team Harikrishna Patnala Apache Committer, working on CloudStack 4+ years Expertise : Baremetal and Virtual Router Jayapal Uradi Apache Committer, 4+ years Expertise : CloudStack Networking Suresh Sadhu Quality Assurance of CloudStack, 5+ years Expertise : All rounder 12

Motivation for Baremetal

Why Baremetal? Meet high performance computing requirements Hadoop, Spark, HPC Take advantage of specialized hardware GPUs, Blade Micro-servers Databases Virtual Desktop Infrastructure management Desired for Docker Containers 14

Requirements

Data Center 16

Data Center Switch Rack Servers Secondary Storage 17

Workload Partitioning Switch Hadoop Rack Kubernetes Secondary Storage 18

Multi-Tenancy Switch Tenant 1 Rack Tenant 2 Secondary Storage 19

Multi-Tenancy and Workload partitioning Switch Tenant 1 Rack Tenant 1 - DB Tenant 2 Secondary Storage 20

Data Center VMs and Baremetal Rack Tenant 1 Network Tenant 2 Network 21

Baremetal in CloudStack Ability to deploy Baremetal servers as easy as spinning up a VM Multi-tenant Baremetal orchestration with network isolation Flexibility of using mixed environments of VM and Baremetal DB tier on Baremetal and other tiers on VMs for a multi-tier application Extensible architecture for different flavors of hardware and network elements 22

What all do we need?

PXE server Basic Networking Flat network External PXE/DHCP/DNS Servers Advanced Networking Isolation using VLANs Additionally VR acts as PXE 24 All VM networking services mapped to Baremetal

Advanced Networking Network isolation with VLAN Hypervisor 2 Hypervisor 1 Hypervisor 2 Guest1 VR Guest1 VM1 Guest1 VM2 Guest1 VM3 Public VLAN99 VLAN2000 Switch Management Storage Public VLAN99 Console, Storage VMs Hypervisor 2

Advanced Networking Network isolation with VLAN Hypervisor 2 Hypervisor 1 Hypervisor 2 Guest1 VR Guest2 VR Guest1 VM1 Guest2 VM1 Guest2 VM2 Guest1 VM2 Guest1 VM3 Guest2 VM3 Public VLAN99 VLAN2000 VLAN2001 Switch Management Storage Public VLAN99 Console, Storage VMs Hypervisor 2

Advanced Networking VLAN based isolation Networking services: DHCP DNS Source NAT Static NAT Port Forwarding Load Balancing Firewall VPN PXE

Templates PXE Server hosts the Installer Kernels and Kickstart files Template Registration is done by giving the URL from where OS Packages can be retrieved PXE Server/VR T F T P Baremetal Host NFS HTTP Kickstart, Installer Kernels OS Package Repository 28

Example Template URL ks=http_link_to_kickstartfile;kernel=nfs_path_to_pxe_kernel;initrd=nfs_pa th_to_pxe_initrd ks=http://10.147.28.7/export/home/hari/rhel65/ks1.ks;kernel=10.147.2 8.7:/export/home/hari/rhel65/RHEL65/images/pxeboot/vmlinuz;initrd=1 0.147.28.7:/export/home/hari/rhel65/RHEL65/images/pxeboot/initrd.im g 29

Service Offering Service offering allows administrator to determine size of the VM in terms of CPU and memory e.g. small vm 2 cpu, 512 MB ram For baremetal, CPU and memory information is specified while adding the host along with a tag and IPMI details e.g. host-44, 8 cpu, 32 GB ram tag ssd_bm, ipmi info : ip, user, password Tagging scheme is used to map service offerings and baremetal host 30 e.g. SSD baremetal medium 8 cpu, 32 GB ram tag ssd_bm

Switch Configuration Switch credentials Switch topology information host switch port mapping Switch { "racks": [ { "l2switch": { "ip": "10.147.28.11", "username": "admin", "password": "password", "type": "Force10 }, "hosts": [ { "mac": "d4:ae:52:7a:a5:9c", "port": "tengigabitethernet:0/30" }, { "mac": "d4:ae:52:7a:a5:9d", "port": "tengigabitethernet:0/31" } ] } ] } 31 Baremetal Nodes MS Node VR on Hypervisor Template Storage

Provisioning Flow

Baremetal Provisioning Flow Advanced Zone 1. User Requests Baremetal Instance 2. Management Server configures PXE DHCP on VR and physical switch with VLANS 3. Baremetal host started with IPMI command to PXE boot 4. Host gets DHCP 5. Host pulls PXE image 6. Image is pulled and installed 7. Host pulls user data from VR Physical Switch Management Server VR (w/ PXE & DHCP/DNS) Management Management Server Baremetal Server Hosts 33

Windows Baremetal Provisioning (Approach) Windows Deployment server needs to be programmed Need to invoke powershell commands from Linux Agent to be present in WDS Server Using RPC/or Event Queue mechanism, send Powershell commands to WDS AD / DHCP is used for authentication and PXE booting 34

Windows Baremetal Provisioning Flow 1. User Requests Baremetal Instance 2. Management Server configures WDS Server with PXE, switch configured 3. Baremetal host started with IPMI command to PXE boot 4. Host gets DHCP 5. Host pulls PXE image 6. Image is pulled and installed 7. Host pulls user data from VR DHCP/DNS Active Directory Management Server Switch WDS (w/ PXE) Management Management Server Baremetal Server Hosts 35

Baremetal Use Case for Container Deployment 1. Install CoreOS on Baremetal hosts 2. Setup networking Basic or Isolated (program the switch) 3. Create k8s cluster using cloudconfig sent via userdata service on VR 4. Use Kubernetes dashboard within CloudStack UI to deploy and manage containers 5. All CloudStack tenanting and isolation features apply CoreOS Images cloud-config Node1 Node2 Kubernetes Cluster Mgmt Server Virtual Router Master Dashboard 36

Extensibility

Network Switch Plugin <<interface>> BaremetalSwitchBackend getswitchbackendtype() preparevlan() removeportfromvlan() Force10BaremetalSwitchBackend public static final String TYPE = "Force10" getswitchbackendtype() { return TYPE } preparevlan() removeportfromvlan() 38

Network Switch Plugin Currently, a Dell Force10 switch is implemented To Extend to other types, implement following two methods as a plugin Arista plugin Implementation Details: 1.Implement AristaBaremetalSwitchBackend.java and implement the interface BaremetalSwitchBackend. For example interface refer to https://github.com/apache/cloudstack/blob/master/plugins/hypervisors/baremetal/src/com/cloud/baremetal/networ kservice/force10baremetalswitchbackend.java. 2. Need to implement the following three functions with appropriate actions for Arista switches in the above file. (definition of interface is in https://github.com/apache/cloudstack/blob/master/plugins/hypervisors/baremetal/src/com/cloud/baremetal/networ kservice/baremetalswitchbackend.java): public interface BaremetalSwitchBackend { String getswitchbackendtype(); void preparevlan(baremetalvlanstruct struct); void removeportfromvlan(baremetalvlanstruct struct); } 3. Add AristaBaremetalSwitchBackend bean configuration into https://github.com/apache/cloudstack/blob/master/plugins/hypervisors/baremetal/resources/meta- INF/CloudStack/core/spring-baremetal-core-context.xml. 39

Looking forward

Baremetal Projects : Contributions welcome WDS integration (WIP) Baremetal in VPC Network Add switch integration from different vendors NIC Bonding RAID UEFI Boot Redfish integration Auto-discovery of hosts and NIC details 41

Q&A