SlideShare a Scribd company logo
Cloud, IOT and Analytics
Baremetal with Apache CloudStack
ApacheCon Europe 2016
Jaydeep Marfatia
© 2016 Accelerite. All Rights Reserved.
2
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
© 2016 Accelerite. All Rights Reserved.
3
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
© 2016 Accelerite. All Rights Reserved.
4
Accelerite
• Enterprise Infrastructure software company
• Acquired CloudPlatform from Citrix early this year
• Commercial product based on CloudStack
• 50+ engineers and adding more
© 2016 Accelerite. All Rights Reserved.
5
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
CloudStack
User Interface
© 2016 Accelerite. All Rights Reserved.
7
User Console
© 2016 Accelerite. All Rights Reserved.
8
Admin Console
© 2016 Accelerite. All Rights Reserved.
9
Self-service VM Provisioning
Zone Template Compute Disk Affinity Network Launch
© 2016 Accelerite. All Rights Reserved.
10
Monitoring Cloud Infrastructure
© 2016 Accelerite. All rights reserved.
Baremetal Team
© 2016 Accelerite. All Rights Reserved.
12
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
Motivation for Baremetal
© 2016 Accelerite. All Rights Reserved.
14
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
Requirements
© 2016 Accelerite. All Rights Reserved.
16
Data Center
© 2016 Accelerite. All Rights Reserved.
17
Data Center
Servers
Switch
Rack
Secondary Storage
© 2016 Accelerite. All Rights Reserved.
18
Workload Partitioning
Hadoop
Switch
Secondary Storage
Kubernetes
Rack
© 2016 Accelerite. All Rights Reserved.
19
Multi-Tenancy
Tenant 1
Switch
Secondary Storage
Tenant 2
Rack
© 2016 Accelerite. All Rights Reserved.
20
Multi-Tenancy and Workload partitioning
Tenant 1
Switch
Secondary Storage
Tenant 2
Tenant 1 - DB
Rack
© 2016 Accelerite. All Rights Reserved.
21
Data Center – VMs and Baremetal
Tenant 1 Network
Rack
Tenant 2 Network
© 2016 Accelerite. All Rights Reserved.
22
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
What all do we need ?
© 2016 Accelerite. All Rights Reserved.
24
PXE server
• Basic Networking
• Flat network
• External PXE/DHCP/DNS Servers
• Advanced Networking
• Isolation using VLANs
• Additionally VR acts as PXE
• All VM networking services mapped to Baremetal
© 2016 Accelerite. All Rights Reserved.
Advanced Networking
Network isolation with VLAN
Guest1
VM1
Guest1
VM2
Guest1
VM3
Guest1
VR
VLAN2000
Management
Storage
Public VLAN99
Hypervisor 1 Hypervisor 2
Switch
Console, Storage VMs
Hypervisor 2
Hypervisor 2
Public
VLAN99
© 2016 Accelerite. All Rights Reserved.
Advanced Networking
Network isolation with VLAN
Guest1
VM1
Guest1
VM2
Guest1
VM3
Guest2
VM1
Guest2
VM2
Guest2
VM3
Guest2
VR
Guest1
VR
VLAN2000
VLAN2001
Management
Storage
Public VLAN99
Hypervisor 1 Hypervisor 2
Switch
Console, Storage VMs
Hypervisor 2
Hypervisor 2
Public
VLAN99
© 2016 Accelerite. All Rights Reserved.
Advanced Networking
VLAN based isolation
Networking services:
• DHCP
• DNS
• Source NAT
• Static NAT
• Port Forwarding
• Load Balancing
• Firewall
• VPN
• PXE
© 2016 Accelerite. All Rights Reserved.
28
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
Kickstart,
Installer
Kernels
NFS
OS Package
Repository
Baremetal
Host
HTTP
T
F
T
P
© 2016 Accelerite. All Rights Reserved.
29
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
© 2016 Accelerite. All Rights Reserved.
30
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
• e.g. SSD baremetal medium – 8 cpu, 32 GB ram – tag ssd_bm
© 2016 Accelerite. All Rights Reserved.
31
Switch Configuration
• Switch credentials
• Switch topology information
• host – switch port mapping Switch
Baremetal
Nodes
MS Node
VR on Hypervisor
Template
Storage
{
"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"
}
]
}
]
}
Provisioning Flow
© 2016 Accelerite. All Rights Reserved.
33
Management
Server
Baremetal Provisioning Flow – Advanced Zone
Management
Server
Physical
Switch
Management
Server
Baremetal
Hosts
VR
(w/ PXE &
DHCP/DNS)
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
© 2016 Accelerite. All Rights Reserved.
34
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
© 2016 Accelerite. All Rights Reserved.
35
Management
Server
Windows Baremetal Provisioning Flow
Management
Server
DHCP/DNS
Active
Directory
Management
Server
Baremetal
Hosts
WDS (w/ PXE)
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
Switch
© 2016 Accelerite. All Rights Reserved.
36
Kubernetes
Cluster
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 cloud-
config 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
Mgmt
Server
Virtual
Router
Node1
Node2
Master
Dashboard
cloud-config
CoreOS
Images
Extensibility
© 2016 Accelerite. All Rights Reserved.
38
Network Switch Plugin
<<interface>>
BaremetalSwitchBackend
• getSwitchBackendType()
• prepareVlan()
• removePortFromVlan()
Force10BaremetalSwitchBackend
• getSwitchBackendType() { return TYPE }
• prepareVlan()
• removePortFromVlan()
public static final String TYPE = "Force10"
© 2016 Accelerite. All Rights Reserved.
39
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.
Looking forward
© 2016 Accelerite. All Rights Reserved.
41
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
Q&A

More Related Content

PDF
Cloud Bursting 101: What to do When Cloud Computing Demand Exceeds Capacity
PDF
The Kubernetes WebLogic revival (part 1)
PDF
Sven Vogel: Running CloudStack and OpenShift with NetApp on KVM
PPTX
20191201 kubernetes managed weblogic revival - part 1
PDF
Building a PaaS Platform like Bluemix on OpenStack
PPTX
Platform as a Service with Kubernetes and Mesos
PDF
Beyond x86: Managing Multi-platform Environments with OpenStack
PDF
Kubernetes deployment on bare metal with container linux
Cloud Bursting 101: What to do When Cloud Computing Demand Exceeds Capacity
The Kubernetes WebLogic revival (part 1)
Sven Vogel: Running CloudStack and OpenShift with NetApp on KVM
20191201 kubernetes managed weblogic revival - part 1
Building a PaaS Platform like Bluemix on OpenStack
Platform as a Service with Kubernetes and Mesos
Beyond x86: Managing Multi-platform Environments with OpenStack
Kubernetes deployment on bare metal with container linux

Similar to Cloud Stack with Bare Metal, presented in Apache Con Europe 2016 (20)

PPTX
Optimizing Cloud Foundry and OpenStack for large scale deployments
PDF
Best Practices for Virtualizing Apache Hadoop
PDF
What's new in open stack juno (pnw os meetup)
PDF
DevOps Supercharged with Docker on Exadata
PDF
Architecture of Cisco Container Platform: A new Enterprise Multi-Cloud Kubern...
PDF
Cloud Migration Paths: Kubernetes, IaaS, or DBaaS
 
PPTX
20150425 experimenting with openstack sahara on docker
PPTX
Case Study: Developing a Vblock System-based Private Cloud Platform with Pupp...
 
PPTX
Introduction to openshift
PDF
Boyan Krosnov - Building a software-defined cloud - our experience
PDF
The Kubernetes WebLogic revival (part 2)
PPTX
App Deployment on Cloud
PDF
As a Service: Cloud Foundry on OpenStack - Lessons Learnt
PPTX
Oracle virtual appliance
PPTX
Apache Apex & Bigtop
PPTX
CloudStackFinalProject
PDF
QNAP NAS打造私有雲平台
PPTX
20191201 kubernetes managed weblogic revival - part 2
PPTX
Open stackbrief happylearning
PPTX
DR_PRESENT 1
Optimizing Cloud Foundry and OpenStack for large scale deployments
Best Practices for Virtualizing Apache Hadoop
What's new in open stack juno (pnw os meetup)
DevOps Supercharged with Docker on Exadata
Architecture of Cisco Container Platform: A new Enterprise Multi-Cloud Kubern...
Cloud Migration Paths: Kubernetes, IaaS, or DBaaS
 
20150425 experimenting with openstack sahara on docker
Case Study: Developing a Vblock System-based Private Cloud Platform with Pupp...
 
Introduction to openshift
Boyan Krosnov - Building a software-defined cloud - our experience
The Kubernetes WebLogic revival (part 2)
App Deployment on Cloud
As a Service: Cloud Foundry on OpenStack - Lessons Learnt
Oracle virtual appliance
Apache Apex & Bigtop
CloudStackFinalProject
QNAP NAS打造私有雲平台
20191201 kubernetes managed weblogic revival - part 2
Open stackbrief happylearning
DR_PRESENT 1
Ad

Recently uploaded (20)

PPTX
Chapter 5: Probability Theory and Statistics
PDF
Hindi spoken digit analysis for native and non-native speakers
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
WOOl fibre morphology and structure.pdf for textiles
PDF
Getting Started with Data Integration: FME Form 101
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Web App vs Mobile App What Should You Build First.pdf
PDF
project resource management chapter-09.pdf
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Approach and Philosophy of On baking technology
PPTX
OMC Textile Division Presentation 2021.pptx
PDF
DP Operators-handbook-extract for the Mautical Institute
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PDF
Encapsulation theory and applications.pdf
PPTX
1. Introduction to Computer Programming.pptx
PPTX
Tartificialntelligence_presentation.pptx
PPTX
cloud_computing_Infrastucture_as_cloud_p
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Zenith AI: Advanced Artificial Intelligence
Chapter 5: Probability Theory and Statistics
Hindi spoken digit analysis for native and non-native speakers
SOPHOS-XG Firewall Administrator PPT.pptx
WOOl fibre morphology and structure.pdf for textiles
Getting Started with Data Integration: FME Form 101
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Web App vs Mobile App What Should You Build First.pdf
project resource management chapter-09.pdf
NewMind AI Weekly Chronicles - August'25-Week II
Approach and Philosophy of On baking technology
OMC Textile Division Presentation 2021.pptx
DP Operators-handbook-extract for the Mautical Institute
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
Encapsulation theory and applications.pdf
1. Introduction to Computer Programming.pptx
Tartificialntelligence_presentation.pptx
cloud_computing_Infrastucture_as_cloud_p
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Zenith AI: Advanced Artificial Intelligence
Ad

Cloud Stack with Bare Metal, presented in Apache Con Europe 2016

  • 1. Cloud, IOT and Analytics Baremetal with Apache CloudStack ApacheCon Europe 2016 Jaydeep Marfatia
  • 2. © 2016 Accelerite. All Rights Reserved. 2 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
  • 3. © 2016 Accelerite. All Rights Reserved. 3 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
  • 4. © 2016 Accelerite. All Rights Reserved. 4 Accelerite • Enterprise Infrastructure software company • Acquired CloudPlatform from Citrix early this year • Commercial product based on CloudStack • 50+ engineers and adding more
  • 5. © 2016 Accelerite. All Rights Reserved. 5 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
  • 7. © 2016 Accelerite. All Rights Reserved. 7 User Console
  • 8. © 2016 Accelerite. All Rights Reserved. 8 Admin Console
  • 9. © 2016 Accelerite. All Rights Reserved. 9 Self-service VM Provisioning Zone Template Compute Disk Affinity Network Launch
  • 10. © 2016 Accelerite. All Rights Reserved. 10 Monitoring Cloud Infrastructure © 2016 Accelerite. All rights reserved.
  • 12. © 2016 Accelerite. All Rights Reserved. 12 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
  • 14. © 2016 Accelerite. All Rights Reserved. 14 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
  • 16. © 2016 Accelerite. All Rights Reserved. 16 Data Center
  • 17. © 2016 Accelerite. All Rights Reserved. 17 Data Center Servers Switch Rack Secondary Storage
  • 18. © 2016 Accelerite. All Rights Reserved. 18 Workload Partitioning Hadoop Switch Secondary Storage Kubernetes Rack
  • 19. © 2016 Accelerite. All Rights Reserved. 19 Multi-Tenancy Tenant 1 Switch Secondary Storage Tenant 2 Rack
  • 20. © 2016 Accelerite. All Rights Reserved. 20 Multi-Tenancy and Workload partitioning Tenant 1 Switch Secondary Storage Tenant 2 Tenant 1 - DB Rack
  • 21. © 2016 Accelerite. All Rights Reserved. 21 Data Center – VMs and Baremetal Tenant 1 Network Rack Tenant 2 Network
  • 22. © 2016 Accelerite. All Rights Reserved. 22 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
  • 23. What all do we need ?
  • 24. © 2016 Accelerite. All Rights Reserved. 24 PXE server • Basic Networking • Flat network • External PXE/DHCP/DNS Servers • Advanced Networking • Isolation using VLANs • Additionally VR acts as PXE • All VM networking services mapped to Baremetal
  • 25. © 2016 Accelerite. All Rights Reserved. Advanced Networking Network isolation with VLAN Guest1 VM1 Guest1 VM2 Guest1 VM3 Guest1 VR VLAN2000 Management Storage Public VLAN99 Hypervisor 1 Hypervisor 2 Switch Console, Storage VMs Hypervisor 2 Hypervisor 2 Public VLAN99
  • 26. © 2016 Accelerite. All Rights Reserved. Advanced Networking Network isolation with VLAN Guest1 VM1 Guest1 VM2 Guest1 VM3 Guest2 VM1 Guest2 VM2 Guest2 VM3 Guest2 VR Guest1 VR VLAN2000 VLAN2001 Management Storage Public VLAN99 Hypervisor 1 Hypervisor 2 Switch Console, Storage VMs Hypervisor 2 Hypervisor 2 Public VLAN99
  • 27. © 2016 Accelerite. All Rights Reserved. Advanced Networking VLAN based isolation Networking services: • DHCP • DNS • Source NAT • Static NAT • Port Forwarding • Load Balancing • Firewall • VPN • PXE
  • 28. © 2016 Accelerite. All Rights Reserved. 28 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 Kickstart, Installer Kernels NFS OS Package Repository Baremetal Host HTTP T F T P
  • 29. © 2016 Accelerite. All Rights Reserved. 29 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
  • 30. © 2016 Accelerite. All Rights Reserved. 30 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 • e.g. SSD baremetal medium – 8 cpu, 32 GB ram – tag ssd_bm
  • 31. © 2016 Accelerite. All Rights Reserved. 31 Switch Configuration • Switch credentials • Switch topology information • host – switch port mapping Switch Baremetal Nodes MS Node VR on Hypervisor Template Storage { "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" } ] } ] }
  • 33. © 2016 Accelerite. All Rights Reserved. 33 Management Server Baremetal Provisioning Flow – Advanced Zone Management Server Physical Switch Management Server Baremetal Hosts VR (w/ PXE & DHCP/DNS) 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
  • 34. © 2016 Accelerite. All Rights Reserved. 34 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
  • 35. © 2016 Accelerite. All Rights Reserved. 35 Management Server Windows Baremetal Provisioning Flow Management Server DHCP/DNS Active Directory Management Server Baremetal Hosts WDS (w/ PXE) 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 Switch
  • 36. © 2016 Accelerite. All Rights Reserved. 36 Kubernetes Cluster 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 cloud- config 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 Mgmt Server Virtual Router Node1 Node2 Master Dashboard cloud-config CoreOS Images
  • 38. © 2016 Accelerite. All Rights Reserved. 38 Network Switch Plugin <<interface>> BaremetalSwitchBackend • getSwitchBackendType() • prepareVlan() • removePortFromVlan() Force10BaremetalSwitchBackend • getSwitchBackendType() { return TYPE } • prepareVlan() • removePortFromVlan() public static final String TYPE = "Force10"
  • 39. © 2016 Accelerite. All Rights Reserved. 39 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.
  • 41. © 2016 Accelerite. All Rights Reserved. 41 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
  • 42. Q&A