SlideShare a Scribd company logo
Dag Sonstebo
Forseti
Consulting
Ltd
AUTOMATING CLOUDSTACK AND
HYPERVISOR INSTALLATION
AND CONFIGURATION
 Cloud and virtualization technical architect with background in
the banking and service provider industry.
 Specialize and great interest in:
 Virtualisation - VMware vSphere, Citrix XenServer, KVM, Hyper-V.
 Cloud orchestration – vCloud, OpenStack, CloudStack.
 LinkedIn: https://www.linkedin.com/in/dagsonstebo
 Blog: https://dsonstebo.wordpress.com
 Github: https://github.com/dagsonstebo
 Contact: dag@forseticonsulting.co.uk
 The small print…
 Any opinion or view expressed are my own and do not in any way reflect the
opinions or views of my present or previous employers or clients.
ABOUT ME
 Why consider private cloud?
 What are your options?
 CloudStack
 History
 What is it and how does work?
 Automation and builds:
 Zero touch hypervisor builds
 Automated CloudStack builds
 CloudStack demo
 Q&A
OVERVIEW
 Why consider private / hybrid cloud options?
 Choices:
 Do nothing – stick with traditional IT:
 Danger of shadow IT.
 Lack of automation and orchestration means increased turnaround time.
 Going fully public comes at a cost:
 AWS: Windows t2.medum @ 2vCPU + 4GB RAM costs ~£500 / year
 RackSpace: General purpose Windows @ 4GB RAM costs ~£1000 / year
 Azure: A2 Windows @ 2vCPU + 3.5GB RAM costs ~£660 / year
 Building own private clouds gives the benefit of quick self service,
automation and multi-tenancy within your own data centre.
PRIVATE CLOUDS
 What are your choices?
 VMware vCloud
 OpenStack
 CloudStack
 Microsoft
 A long list of others:
 Flexiant
 Eucalyptus
 Joyent
 OpenNebula
 Nimbus
 Abiquo
 Etc….
 Or – build your own……
BUILDING YOUR OWN CLOUD
 Launched in May 2010 as Vmops, rebranded to Cloud.com.
 Acquired by Citrix in July 2011. Donated to the Apache Software
Foundation in April 2012 and continue being developed as an open
source Apache Software Foundation project on the Apache License v2.
 Citrix maintain their own commercial fork from the the open source
project, and have rebranded this Citrix CloudPlatform.
 Citrix also developed the proprietary CloudPortal Business Manager to
provide a commercial front end for automated provisioning, billing,
metering and user management.
 Version at time of writing:
 Apache CloudStack 4.4.2 development version
 Apache CloudStack 4.3.2 production version.
 Citrix CloudPlatform 4.5.
CLOUDSTACK – A BACKGROUND
 The list is long… http://cloudstack.apache.org/users.html
CLOUDSTACK USERS
WHAT ARE OUR BUILDING BLOCKS?
Cloud Components
Self service
front end
Cloud
orchestration:
Resource
management
back end
Hypervisor
backend
Storage:
hypervisor
storage and
object stores
Data center
network
Reporting /
billing /
chargeback
Features:
•User friendly web GUI to manage IaaS resources on demand
•Native API with optional compatibility with Amazon EC2 / S3 API
•Automatic management and orchestration of all hypervisor resources, storage and networking
•Full multi tenancy segregation
•User / domain / project management and accounting / billing
•Single management role (compared to OpenStack which need 8-10 service to deliver the same functionality)
Hypervisors:
•Citrix XenServer 5.x + 6.x as well as Xen Project
•VMware ESXi 5.0, 5.1, 5.5
•KVM
•W2K12 Hyper-V
•LXC (experimental)
•Bare metal
Storage:
•NFS
•iSCSI
•FC
•VMFS (vSphere)
•SMB/CIFS (Hyper-V)
CLOUDSTACK – FEATURES
Network segregation and SDN technologies:
•Basic L3 networks
•VLANs
•VXLANS
•Nicira NVP
•Midonet
•OVS – Open vSwitch
End user network offerings:
•Basic networking with security groups (similar to Amazon EC2), provides
guest isolation on L3 networks hosted on single flat L2 network.
•Advanced networking providing L2 tenant isolation using VLANs and SDN.
•Per client routing, DHCP, DNS, VPN, firewall, NAT, port forwarding, VPC
•Loadbalancer and firewall integration with physical F5 / Netscaler / Juniper
SRX
CLOUDSTACK – FEATURES
 CloudStack management server(s)
 MySQL server(s)
 Hypervisors
 Storage:
 Primary storage for hypervisor clusters
 Secondary storage for ISOs, templates and snapshots.
 Networking:
 Physical data centre networking
 Logical traffic types across physical networks
HIGH LEVEL CLOUDSTACK BUILDING
BLOCKS
Clusters:
•XenServer pools
•ESXi clusters
•Sets of KVM hosts
•Hyper-V clusters
•Primary storage: NFS / iSCSI / FC SAN / SMB-CIFS
(Hyper-V) / VMFS (vSphere)
Pods:
•A rack or row of racks including one or more
clusters
Availability zones:
•Typically single data center or part of DC
•Contains one or more pods and zone wide
secondary storage
Regions:
•Collection of one or more AZ’s in close proximity
managed by one or more management servers
CLOUDSTACK HIERARCHY
Image courtesy of Apache.org
 Virtual routers:
 Handles routing for guest networks, routes between guest isolated
network and public network.
 DHCP and DNS
 VPN, firewall, NATing, and port forwarding
 Secondary storage VM:
 Handles export and import of templates, ISOs and snapshots
 Console proxy VM:
 Provides console access to guest VMs.
CLOUDSTACK SYSTEM VMS
Physical networks:
• Basic zone networking
• Advanced zone networking
Traffic types (tags):
• Guest: isolated VLAN or SDN networks.
• Management traffic
• Public: internet or internal intranet.
• Storage
Connecting to private LAN networks
• Client networks can be connected directly to e.g. enterprise LAN
networks.
CLOUDSTACK NETWORKS
NETWORK OVERVIEW (ADVANCED ZONE)
 What we’ll cover:
 Automating hypervisor builds
 Automating CloudStack build
 Other things to consider:
 Storage
 Data centre networking and associated cost
 Hardware choice – branded vs. white label kit
BUILDING HYPERVISORS AND
APACHE CLOUDSTACK
 Why automate?
 CD install ….
 Fast and consistent builds.
 Quick RTO in DR / BCM scenarios
 Compensates for less technical teams with little time and bandwidth
 Zero touch builds – why?
 Minimal input to build cuts out error prone operations
 Advance preparation
 CMDB / inventory DB / source control CI integration
 Scripting for hypervisors:
 XenServer: relatively easy to create scripted installs due to full bash shell
 ESXi: tricky due to low functionality ash shell
 KVM: Linux build
 Hyper-V: SCCM
AUTOMATING YOUR HYPERVISOR BUILD
 Prerequisites:
 PXE: DHCP + TFTP/FTP/HTTP infrastructure
 Fully dynamic build scripts
 Per host answer files
 How do you detect individual hosts?
 Known MAC addresses supplied by vendor prior to delivery allows for true
zero touch builds.
 PXE menu host selection allows for single touch builds.
 Puppet Razor was developed to do builds based on policies around
hardware detection.
 Some examples:
 https://github.com/dagsonstebo/Citrix-Xenserver-6.2-zero-touch-build-
scripts
 https://github.com/dagsonstebo/VMware-ESXi-5.5-zero-touch-build-
scripts
ZERO TOUCH BUILDS
ZERO TOUCH BUILDS PROCESS
################################
# General settings
CFG_HOSTNAME="xs62cn1.mylab.local";
CFG_IP="192.168.0.30";
CFG_NETMASK="255.255.255.0";
CFG_DG="192.168.0.1";
CFG_DNS1="192.168.0.2";
CFG_DNS2="192.168.0.3";
CFG_SEARCHDOMAIN="mylab.local";
CFG_NTP1="ntp.cis.strath.ac.uk";
CFG_PASSWORD="Password123";
CFG_SERVERROLE="POOLMASTER";
CFG_POOLNAME="XS62Pool1";
CFG_POOLMASTER="192.168.0.30";
CFG_POOLMASTERPWD="Password123";
CFG_DOM0MEM="";
CFG_INITIALNIC="eth0";
CFG_EDITION="free";
CFG_LICENSESRV="";
CFG_LICENSEPORT="";
################################
HOST ANSWER FILE EXAMPLE
# CloudStack example
CFG_NW1_NAME="cloud-private";
CFG_NW1_DESC="Cloud private network";
CFG_NW1_T YPE="bond";
CFG_NW1_NICA="eth0";
CFG_NW1_NICB="eth1";
CFG_NW1_BONDMODE="active-backup";
CFG_NW1_MTU="";
CFG_NW1_VLAN="0";
CFG_NW1_IF="none";
CFG_NW2_NAME="cloud-public";
CFG_NW2_DESC="Cloud public network";
CFG_NW2_T YPE="bond";
CFG_NW2_NICA="eth2";
CFG_NW2_NICB="eth3";
CFG_NW2_BONDMODE="active-backup";
CFG_NW2_MTU="";
CFG_NW2_VLAN="0";
CFG_NW2_IF="none";
CFG_NW2_IFIP="none";
……….
ZERO TOUCH BUILDS
 Hypervisors
 Storage:
 Primary storage for hypervisor clusters
 Secondary storage for ISOs, templates and snapshots.
 Networking:
 Physical data centre networking
 Logical traffic types across physical networks
 CloudStack management server(s)
 MySQL server(s)
CLOUDSTACK BUILD RECAP
 Install documentation:
 Apache documentation
http://docs.cloudstack.apache.org/projects/cloudstack-
installation/en/latest/installation.html
 Citrix documentation
http://support.citrix.com/proddocs/topic/cloudplatform/clst-
wrapper.html
 Manual builds are straight forward - Linux.
 Automated builds ensure quick repeatable install.
INSTALLING CLOUDSTACK
Management / MySQL server prerequisites:
•64-bit CentOS/RHEL 6.3+ or Ubuntu 12.04 preferred, 4 GB of memory, CPU cores
according to load, 250 GB of local disk minimum,500 GB recommended.
Configuration of RPM / DEB repositories.
Installation using yum / apt-get.
MySQL
•Can be installed on the same node as CloudStack management, or running separately.
•Configuration of CloudStack DB
Prepare the system VM template on secondary storage
HIGH LEVEL BUILD STEPS
 Using Ansible:
 https://github.com/dagsonstebo/CloudStack-Ansible-Playbook
 All CloudStack installation steps in one Ansible playbook:
 –tags=base: NTP, Selinux, CloudStack and EPEL yum repos
 –tags=mysql: all MySQL and DB installation and configuration steps
 –tags=csmanagement: installs and configures base CloudStack build
INSTALLING CLOUDSTACK USING
ANSIBLE
 Base install is now complete – but needs configuration:
 Regions, zones, pods and clusters
 Primary and secondary storage
 Network model – including network segregation mechanism
 Public, private and guest network IP ranges, as well as VLAN / SDN
ranges
 How?
 Manually through the CloudStack GUI
 Using CloudMonkey
 Or again using Ansible – the following utilises CloudMonkey under
the bonnet:
https://github.com/dagsonstebo/CloudStack-Ansible-
Playbook/blob/master/cloudmonkey.yml
CLOUDSTACK CONFIGURATION
COMPLETED CLOUDSTACK INSTALL AND
CONFIGURATION
 Expansion to further regions, zones, pods and clusters
 Add portal:
 Commercial offerings, e.g. Citrix CloudPlatform Business manager
 or you write your own…
 Configure reporting and billing
 Increase resilience:
 Add additional management servers
 Configure MySQL master/slave or MySQL / Galera cluster
 Integrate hardware load balancers:
 Netscalers
 Juniper SRX
 F5
CLOUDSTACK – NEXT STEPS
CLOUDSTACK DEMO
Q&A….
QUESTIONS
Apache CloudStack site:
http://docs.cloudstack.apache.org/en/master/
Citrix CloudPlatform:
http://www.citrix.com/products/cloudplatform/tech-info.html
My blog: https://dsonstebo.wordpress.com
My Github repo: https://github.com/dagsonstebo
Contact: dag@forseticonsulting.co.uk
MORE INFORMATION

More Related Content

What's hot

Apache CloudStack from API to UI
Apache CloudStack from API to UIApache CloudStack from API to UI
Apache CloudStack from API to UI
CloudStack - Open Source Cloud Computing Project
 
CloudStack Networking Deepdive CCCEU13
CloudStack Networking Deepdive CCCEU13CloudStack Networking Deepdive CCCEU13
CloudStack Networking Deepdive CCCEU13
Chiradeep Vittal
 
Hacking apache cloud stack
Hacking apache cloud stackHacking apache cloud stack
Hacking apache cloud stackMurali Reddy
 
Decisions behind hypervisor selection in CloudStack 4.3
Decisions behind hypervisor selection in CloudStack 4.3Decisions behind hypervisor selection in CloudStack 4.3
Decisions behind hypervisor selection in CloudStack 4.3
Tim Mackey
 
Cloud stack overview
Cloud stack overviewCloud stack overview
Cloud stack overviewhowie YU
 
Deploying Apache CloudStack from API to UI
Deploying Apache CloudStack from API to UIDeploying Apache CloudStack from API to UI
Deploying Apache CloudStack from API to UI
Joe Brockmeier
 
CloudStack vs Openstack
CloudStack vs OpenstackCloudStack vs Openstack
CloudStack vs Openstack
Madan Ganesh Velayudham
 
CloudStack-Developer-Day
CloudStack-Developer-DayCloudStack-Developer-Day
CloudStack-Developer-Day
Kimihiko Kitase
 
Cloud stack overview
Cloud stack overviewCloud stack overview
Cloud stack overview
gavin_lee
 
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...
CloudStack - Open Source Cloud Computing Project
 
CloudStack technical overview
CloudStack technical overviewCloudStack technical overview
Cloudstack networking2
Cloudstack networking2Cloudstack networking2
Cloudstack networking2Hiroaki Kawai
 
Designing CloudStack Clouds
Designing CloudStack CloudsDesigning CloudStack Clouds
Designing CloudStack Clouds
ShapeBlue
 
Hacking apache cloud stack
Hacking apache cloud stackHacking apache cloud stack
Hacking apache cloud stackNitin Mehta
 
SDN in CloudStack
SDN in CloudStackSDN in CloudStack
SDN in CloudStack
buildacloud
 
Implementing CloudStack's VPC feature
Implementing CloudStack's VPC featureImplementing CloudStack's VPC feature
Implementing CloudStack's VPC feature
Marcus L Sorensen
 
CloudStack vs OpenStack
CloudStack vs OpenStackCloudStack vs OpenStack
CloudStack vs OpenStack
Victor Zhang
 
2 architectural at CloudStack Developer Day
2  architectural at CloudStack Developer Day2  architectural at CloudStack Developer Day
2 architectural at CloudStack Developer Day
Kimihiko Kitase
 
Scalable networking in Apache CloudStack
Scalable networking in Apache CloudStackScalable networking in Apache CloudStack
Scalable networking in Apache CloudStack
Chiradeep Vittal
 
Apache CloudStack Architecture by Alex Huang
Apache CloudStack Architecture by Alex HuangApache CloudStack Architecture by Alex Huang
Apache CloudStack Architecture by Alex Huangbuildacloud
 

What's hot (20)

Apache CloudStack from API to UI
Apache CloudStack from API to UIApache CloudStack from API to UI
Apache CloudStack from API to UI
 
CloudStack Networking Deepdive CCCEU13
CloudStack Networking Deepdive CCCEU13CloudStack Networking Deepdive CCCEU13
CloudStack Networking Deepdive CCCEU13
 
Hacking apache cloud stack
Hacking apache cloud stackHacking apache cloud stack
Hacking apache cloud stack
 
Decisions behind hypervisor selection in CloudStack 4.3
Decisions behind hypervisor selection in CloudStack 4.3Decisions behind hypervisor selection in CloudStack 4.3
Decisions behind hypervisor selection in CloudStack 4.3
 
Cloud stack overview
Cloud stack overviewCloud stack overview
Cloud stack overview
 
Deploying Apache CloudStack from API to UI
Deploying Apache CloudStack from API to UIDeploying Apache CloudStack from API to UI
Deploying Apache CloudStack from API to UI
 
CloudStack vs Openstack
CloudStack vs OpenstackCloudStack vs Openstack
CloudStack vs Openstack
 
CloudStack-Developer-Day
CloudStack-Developer-DayCloudStack-Developer-Day
CloudStack-Developer-Day
 
Cloud stack overview
Cloud stack overviewCloud stack overview
Cloud stack overview
 
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...
 
CloudStack technical overview
CloudStack technical overviewCloudStack technical overview
CloudStack technical overview
 
Cloudstack networking2
Cloudstack networking2Cloudstack networking2
Cloudstack networking2
 
Designing CloudStack Clouds
Designing CloudStack CloudsDesigning CloudStack Clouds
Designing CloudStack Clouds
 
Hacking apache cloud stack
Hacking apache cloud stackHacking apache cloud stack
Hacking apache cloud stack
 
SDN in CloudStack
SDN in CloudStackSDN in CloudStack
SDN in CloudStack
 
Implementing CloudStack's VPC feature
Implementing CloudStack's VPC featureImplementing CloudStack's VPC feature
Implementing CloudStack's VPC feature
 
CloudStack vs OpenStack
CloudStack vs OpenStackCloudStack vs OpenStack
CloudStack vs OpenStack
 
2 architectural at CloudStack Developer Day
2  architectural at CloudStack Developer Day2  architectural at CloudStack Developer Day
2 architectural at CloudStack Developer Day
 
Scalable networking in Apache CloudStack
Scalable networking in Apache CloudStackScalable networking in Apache CloudStack
Scalable networking in Apache CloudStack
 
Apache CloudStack Architecture by Alex Huang
Apache CloudStack Architecture by Alex HuangApache CloudStack Architecture by Alex Huang
Apache CloudStack Architecture by Alex Huang
 

Viewers also liked

Puppet and Apache CloudStack
Puppet and Apache CloudStackPuppet and Apache CloudStack
Puppet and Apache CloudStack
Puppet
 
Integrating cloud stack with puppet
Integrating cloud stack with puppetIntegrating cloud stack with puppet
Integrating cloud stack with puppetPuppet
 
Automating CloudStack with Puppet - David Nalley
Automating CloudStack with Puppet - David NalleyAutomating CloudStack with Puppet - David Nalley
Automating CloudStack with Puppet - David Nalley
Puppet
 
Crash Course in Cloud Computing
Crash Course in Cloud ComputingCrash Course in Cloud Computing
Crash Course in Cloud Computing
All Things Open
 
Running OpenStack on Amazon AWS, Alex Fishman
Running OpenStack on Amazon AWS, Alex FishmanRunning OpenStack on Amazon AWS, Alex Fishman
Running OpenStack on Amazon AWS, Alex Fishman
Cloud Native Day Tel Aviv
 
Cloud Computing Architecture
Cloud Computing Architecture Cloud Computing Architecture
Cloud Computing Architecture
Vasu Jain
 
Computational Advertising
Computational AdvertisingComputational Advertising
Computational Advertising
AhmadShah Sultani
 
RICON 2014 - Build a Cloud Day - Crash Course Open Source Cloud Computing
RICON 2014 - Build a Cloud Day - Crash Course Open Source Cloud ComputingRICON 2014 - Build a Cloud Day - Crash Course Open Source Cloud Computing
RICON 2014 - Build a Cloud Day - Crash Course Open Source Cloud Computing
Mark Hinkle
 
Sukumar Nayak-Detailed-Cloud Risk Management and Audit
Sukumar Nayak-Detailed-Cloud Risk Management and AuditSukumar Nayak-Detailed-Cloud Risk Management and Audit
Sukumar Nayak-Detailed-Cloud Risk Management and AuditSukumar Nayak
 
DevOps for Managers
DevOps for ManagersDevOps for Managers
DevOps for Managers
All Things Open
 
Cloud Computing Architecture
Cloud Computing ArchitectureCloud Computing Architecture
Cloud Computing Architecture
Animesh Chaturvedi
 
Cloud Computing & CloudStack Open Source
Cloud Computing & CloudStack Open SourceCloud Computing & CloudStack Open Source
Cloud Computing & CloudStack Open Source
AhmadShah Sultani
 
Cloud / Build to cloud using Open Source - Jean-Francois Caenen, CapGemini
Cloud / Build to cloud using Open Source - Jean-Francois Caenen, CapGeminiCloud / Build to cloud using Open Source - Jean-Francois Caenen, CapGemini
Cloud / Build to cloud using Open Source - Jean-Francois Caenen, CapGemini
Paris Open Source Summit
 
Cloud computing architecture and vulnerabilies
Cloud computing architecture and vulnerabiliesCloud computing architecture and vulnerabilies
Cloud computing architecture and vulnerabilies
Vinay Dwivedi
 
Introduction of Cloud computing
Introduction of Cloud computingIntroduction of Cloud computing
Introduction of Cloud computing
Rkrishna Mishra
 

Viewers also liked (15)

Puppet and Apache CloudStack
Puppet and Apache CloudStackPuppet and Apache CloudStack
Puppet and Apache CloudStack
 
Integrating cloud stack with puppet
Integrating cloud stack with puppetIntegrating cloud stack with puppet
Integrating cloud stack with puppet
 
Automating CloudStack with Puppet - David Nalley
Automating CloudStack with Puppet - David NalleyAutomating CloudStack with Puppet - David Nalley
Automating CloudStack with Puppet - David Nalley
 
Crash Course in Cloud Computing
Crash Course in Cloud ComputingCrash Course in Cloud Computing
Crash Course in Cloud Computing
 
Running OpenStack on Amazon AWS, Alex Fishman
Running OpenStack on Amazon AWS, Alex FishmanRunning OpenStack on Amazon AWS, Alex Fishman
Running OpenStack on Amazon AWS, Alex Fishman
 
Cloud Computing Architecture
Cloud Computing Architecture Cloud Computing Architecture
Cloud Computing Architecture
 
Computational Advertising
Computational AdvertisingComputational Advertising
Computational Advertising
 
RICON 2014 - Build a Cloud Day - Crash Course Open Source Cloud Computing
RICON 2014 - Build a Cloud Day - Crash Course Open Source Cloud ComputingRICON 2014 - Build a Cloud Day - Crash Course Open Source Cloud Computing
RICON 2014 - Build a Cloud Day - Crash Course Open Source Cloud Computing
 
Sukumar Nayak-Detailed-Cloud Risk Management and Audit
Sukumar Nayak-Detailed-Cloud Risk Management and AuditSukumar Nayak-Detailed-Cloud Risk Management and Audit
Sukumar Nayak-Detailed-Cloud Risk Management and Audit
 
DevOps for Managers
DevOps for ManagersDevOps for Managers
DevOps for Managers
 
Cloud Computing Architecture
Cloud Computing ArchitectureCloud Computing Architecture
Cloud Computing Architecture
 
Cloud Computing & CloudStack Open Source
Cloud Computing & CloudStack Open SourceCloud Computing & CloudStack Open Source
Cloud Computing & CloudStack Open Source
 
Cloud / Build to cloud using Open Source - Jean-Francois Caenen, CapGemini
Cloud / Build to cloud using Open Source - Jean-Francois Caenen, CapGeminiCloud / Build to cloud using Open Source - Jean-Francois Caenen, CapGemini
Cloud / Build to cloud using Open Source - Jean-Francois Caenen, CapGemini
 
Cloud computing architecture and vulnerabilies
Cloud computing architecture and vulnerabiliesCloud computing architecture and vulnerabilies
Cloud computing architecture and vulnerabilies
 
Introduction of Cloud computing
Introduction of Cloud computingIntroduction of Cloud computing
Introduction of Cloud computing
 

Similar to Automating CloudStack and hypervisor installation and configuration

Silicon Valley CloudStack User Group - Introduction to Apache CloudStack
Silicon Valley CloudStack User Group - Introduction to Apache CloudStackSilicon Valley CloudStack User Group - Introduction to Apache CloudStack
Silicon Valley CloudStack User Group - Introduction to Apache CloudStack
ShapeBlue
 
Automating Your CloudStack Cloud with Puppet
Automating Your CloudStack Cloud with PuppetAutomating Your CloudStack Cloud with Puppet
Automating Your CloudStack Cloud with Puppet
buildacloud
 
Tlu introduction-to-cloud
Tlu introduction-to-cloudTlu introduction-to-cloud
Tlu introduction-to-cloud
Van Phuc
 
Lesson learns from Japan cloud trend
Lesson learns from Japan cloud trendLesson learns from Japan cloud trend
Lesson learns from Japan cloud trend
Kimihiko Kitase
 
Connect your datacenter to Microsoft Azure
Connect your datacenter to Microsoft AzureConnect your datacenter to Microsoft Azure
Connect your datacenter to Microsoft Azure
K.Mohamed Faizal
 
OpenNebula Conf 2014 | From private cloud to laaS public services for Catalan...
OpenNebula Conf 2014 | From private cloud to laaS public services for Catalan...OpenNebula Conf 2014 | From private cloud to laaS public services for Catalan...
OpenNebula Conf 2014 | From private cloud to laaS public services for Catalan...
NETWAYS
 
OpenNebulaConf 2014 - From private cloud to laaS public services for Catalan ...
OpenNebulaConf 2014 - From private cloud to laaS public services for Catalan ...OpenNebulaConf 2014 - From private cloud to laaS public services for Catalan ...
OpenNebulaConf 2014 - From private cloud to laaS public services for Catalan ...OpenNebula Project
 
VMworld Europe 204: Technical Deep Dive on EVO: RAIL, the new VMware Hyper-Co...
VMworld Europe 204: Technical Deep Dive on EVO: RAIL, the new VMware Hyper-Co...VMworld Europe 204: Technical Deep Dive on EVO: RAIL, the new VMware Hyper-Co...
VMworld Europe 204: Technical Deep Dive on EVO: RAIL, the new VMware Hyper-Co...
VMworld
 
Debunking VMware NSX
Debunking VMware NSXDebunking VMware NSX
Debunking VMware NSX
Andrea Mauro
 
VMworld 2014: How to Build a Hybrid Cloud
VMworld 2014: How to Build a Hybrid CloudVMworld 2014: How to Build a Hybrid Cloud
VMworld 2014: How to Build a Hybrid Cloud
VMworld
 
Private IaaS Cloud Provider
Private IaaS Cloud ProviderPrivate IaaS Cloud Provider
Private IaaS Cloud Provider
David Pasek
 
Getting Safe Swiss Cloud up and running with CloudStack
Getting Safe Swiss Cloud up and running with CloudStackGetting Safe Swiss Cloud up and running with CloudStack
Getting Safe Swiss Cloud up and running with CloudStack
Prodosh Banerjee
 
The lies we tell our code, LinuxCon/CloudOpen 2015-08-18
The lies we tell our code, LinuxCon/CloudOpen 2015-08-18The lies we tell our code, LinuxCon/CloudOpen 2015-08-18
The lies we tell our code, LinuxCon/CloudOpen 2015-08-18
Casey Bisson
 
Reston Virtualization Group 9-18-2014
Reston Virtualization Group 9-18-2014 Reston Virtualization Group 9-18-2014
Reston Virtualization Group 9-18-2014
VMwareJenn
 
Successfully Deliver and Operate OpenStack in Production with VMware VIO
Successfully Deliver and Operate OpenStack in Production with VMware VIOSuccessfully Deliver and Operate OpenStack in Production with VMware VIO
Successfully Deliver and Operate OpenStack in Production with VMware VIO
Arraya Solutions
 
Webinar: Dealing with automation tool overload!
Webinar: Dealing with automation tool overload!Webinar: Dealing with automation tool overload!
Webinar: Dealing with automation tool overload!
Cloudify Community
 
What is this DevOps thing and why do I need it?
What is this DevOps thing and why do I need it?What is this DevOps thing and why do I need it?
What is this DevOps thing and why do I need it?Safe Swiss Cloud
 
2014-09-15 cloud platform master class
2014-09-15 cloud platform master class2014-09-15 cloud platform master class
2014-09-15 cloud platform master class
Citrix
 
VMworld 2013: vCloud Powered HPC is Better and Outperforming Physical
VMworld 2013: vCloud Powered HPC is Better and Outperforming PhysicalVMworld 2013: vCloud Powered HPC is Better and Outperforming Physical
VMworld 2013: vCloud Powered HPC is Better and Outperforming Physical
VMworld
 
HP: Implementácia cloudu s HP
HP: Implementácia cloudu s HPHP: Implementácia cloudu s HP
HP: Implementácia cloudu s HP
ASBIS SK
 

Similar to Automating CloudStack and hypervisor installation and configuration (20)

Silicon Valley CloudStack User Group - Introduction to Apache CloudStack
Silicon Valley CloudStack User Group - Introduction to Apache CloudStackSilicon Valley CloudStack User Group - Introduction to Apache CloudStack
Silicon Valley CloudStack User Group - Introduction to Apache CloudStack
 
Automating Your CloudStack Cloud with Puppet
Automating Your CloudStack Cloud with PuppetAutomating Your CloudStack Cloud with Puppet
Automating Your CloudStack Cloud with Puppet
 
Tlu introduction-to-cloud
Tlu introduction-to-cloudTlu introduction-to-cloud
Tlu introduction-to-cloud
 
Lesson learns from Japan cloud trend
Lesson learns from Japan cloud trendLesson learns from Japan cloud trend
Lesson learns from Japan cloud trend
 
Connect your datacenter to Microsoft Azure
Connect your datacenter to Microsoft AzureConnect your datacenter to Microsoft Azure
Connect your datacenter to Microsoft Azure
 
OpenNebula Conf 2014 | From private cloud to laaS public services for Catalan...
OpenNebula Conf 2014 | From private cloud to laaS public services for Catalan...OpenNebula Conf 2014 | From private cloud to laaS public services for Catalan...
OpenNebula Conf 2014 | From private cloud to laaS public services for Catalan...
 
OpenNebulaConf 2014 - From private cloud to laaS public services for Catalan ...
OpenNebulaConf 2014 - From private cloud to laaS public services for Catalan ...OpenNebulaConf 2014 - From private cloud to laaS public services for Catalan ...
OpenNebulaConf 2014 - From private cloud to laaS public services for Catalan ...
 
VMworld Europe 204: Technical Deep Dive on EVO: RAIL, the new VMware Hyper-Co...
VMworld Europe 204: Technical Deep Dive on EVO: RAIL, the new VMware Hyper-Co...VMworld Europe 204: Technical Deep Dive on EVO: RAIL, the new VMware Hyper-Co...
VMworld Europe 204: Technical Deep Dive on EVO: RAIL, the new VMware Hyper-Co...
 
Debunking VMware NSX
Debunking VMware NSXDebunking VMware NSX
Debunking VMware NSX
 
VMworld 2014: How to Build a Hybrid Cloud
VMworld 2014: How to Build a Hybrid CloudVMworld 2014: How to Build a Hybrid Cloud
VMworld 2014: How to Build a Hybrid Cloud
 
Private IaaS Cloud Provider
Private IaaS Cloud ProviderPrivate IaaS Cloud Provider
Private IaaS Cloud Provider
 
Getting Safe Swiss Cloud up and running with CloudStack
Getting Safe Swiss Cloud up and running with CloudStackGetting Safe Swiss Cloud up and running with CloudStack
Getting Safe Swiss Cloud up and running with CloudStack
 
The lies we tell our code, LinuxCon/CloudOpen 2015-08-18
The lies we tell our code, LinuxCon/CloudOpen 2015-08-18The lies we tell our code, LinuxCon/CloudOpen 2015-08-18
The lies we tell our code, LinuxCon/CloudOpen 2015-08-18
 
Reston Virtualization Group 9-18-2014
Reston Virtualization Group 9-18-2014 Reston Virtualization Group 9-18-2014
Reston Virtualization Group 9-18-2014
 
Successfully Deliver and Operate OpenStack in Production with VMware VIO
Successfully Deliver and Operate OpenStack in Production with VMware VIOSuccessfully Deliver and Operate OpenStack in Production with VMware VIO
Successfully Deliver and Operate OpenStack in Production with VMware VIO
 
Webinar: Dealing with automation tool overload!
Webinar: Dealing with automation tool overload!Webinar: Dealing with automation tool overload!
Webinar: Dealing with automation tool overload!
 
What is this DevOps thing and why do I need it?
What is this DevOps thing and why do I need it?What is this DevOps thing and why do I need it?
What is this DevOps thing and why do I need it?
 
2014-09-15 cloud platform master class
2014-09-15 cloud platform master class2014-09-15 cloud platform master class
2014-09-15 cloud platform master class
 
VMworld 2013: vCloud Powered HPC is Better and Outperforming Physical
VMworld 2013: vCloud Powered HPC is Better and Outperforming PhysicalVMworld 2013: vCloud Powered HPC is Better and Outperforming Physical
VMworld 2013: vCloud Powered HPC is Better and Outperforming Physical
 
HP: Implementácia cloudu s HP
HP: Implementácia cloudu s HPHP: Implementácia cloudu s HP
HP: Implementácia cloudu s HP
 

Recently uploaded

The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
Welocme to ViralQR, your best QR code generator.
Welocme to ViralQR, your best QR code generator.Welocme to ViralQR, your best QR code generator.
Welocme to ViralQR, your best QR code generator.
ViralQR
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
Vlad Stirbu
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
Peter Spielvogel
 
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
UiPathCommunity
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
nkrafacyberclub
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 

Recently uploaded (20)

The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
Welocme to ViralQR, your best QR code generator.
Welocme to ViralQR, your best QR code generator.Welocme to ViralQR, your best QR code generator.
Welocme to ViralQR, your best QR code generator.
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
 
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 

Automating CloudStack and hypervisor installation and configuration

  • 1. Dag Sonstebo Forseti Consulting Ltd AUTOMATING CLOUDSTACK AND HYPERVISOR INSTALLATION AND CONFIGURATION
  • 2.  Cloud and virtualization technical architect with background in the banking and service provider industry.  Specialize and great interest in:  Virtualisation - VMware vSphere, Citrix XenServer, KVM, Hyper-V.  Cloud orchestration – vCloud, OpenStack, CloudStack.  LinkedIn: https://www.linkedin.com/in/dagsonstebo  Blog: https://dsonstebo.wordpress.com  Github: https://github.com/dagsonstebo  Contact: dag@forseticonsulting.co.uk  The small print…  Any opinion or view expressed are my own and do not in any way reflect the opinions or views of my present or previous employers or clients. ABOUT ME
  • 3.  Why consider private cloud?  What are your options?  CloudStack  History  What is it and how does work?  Automation and builds:  Zero touch hypervisor builds  Automated CloudStack builds  CloudStack demo  Q&A OVERVIEW
  • 4.  Why consider private / hybrid cloud options?  Choices:  Do nothing – stick with traditional IT:  Danger of shadow IT.  Lack of automation and orchestration means increased turnaround time.  Going fully public comes at a cost:  AWS: Windows t2.medum @ 2vCPU + 4GB RAM costs ~£500 / year  RackSpace: General purpose Windows @ 4GB RAM costs ~£1000 / year  Azure: A2 Windows @ 2vCPU + 3.5GB RAM costs ~£660 / year  Building own private clouds gives the benefit of quick self service, automation and multi-tenancy within your own data centre. PRIVATE CLOUDS
  • 5.  What are your choices?  VMware vCloud  OpenStack  CloudStack  Microsoft  A long list of others:  Flexiant  Eucalyptus  Joyent  OpenNebula  Nimbus  Abiquo  Etc….  Or – build your own…… BUILDING YOUR OWN CLOUD
  • 6.  Launched in May 2010 as Vmops, rebranded to Cloud.com.  Acquired by Citrix in July 2011. Donated to the Apache Software Foundation in April 2012 and continue being developed as an open source Apache Software Foundation project on the Apache License v2.  Citrix maintain their own commercial fork from the the open source project, and have rebranded this Citrix CloudPlatform.  Citrix also developed the proprietary CloudPortal Business Manager to provide a commercial front end for automated provisioning, billing, metering and user management.  Version at time of writing:  Apache CloudStack 4.4.2 development version  Apache CloudStack 4.3.2 production version.  Citrix CloudPlatform 4.5. CLOUDSTACK – A BACKGROUND
  • 7.  The list is long… http://cloudstack.apache.org/users.html CLOUDSTACK USERS
  • 8. WHAT ARE OUR BUILDING BLOCKS? Cloud Components Self service front end Cloud orchestration: Resource management back end Hypervisor backend Storage: hypervisor storage and object stores Data center network Reporting / billing / chargeback
  • 9. Features: •User friendly web GUI to manage IaaS resources on demand •Native API with optional compatibility with Amazon EC2 / S3 API •Automatic management and orchestration of all hypervisor resources, storage and networking •Full multi tenancy segregation •User / domain / project management and accounting / billing •Single management role (compared to OpenStack which need 8-10 service to deliver the same functionality) Hypervisors: •Citrix XenServer 5.x + 6.x as well as Xen Project •VMware ESXi 5.0, 5.1, 5.5 •KVM •W2K12 Hyper-V •LXC (experimental) •Bare metal Storage: •NFS •iSCSI •FC •VMFS (vSphere) •SMB/CIFS (Hyper-V) CLOUDSTACK – FEATURES
  • 10. Network segregation and SDN technologies: •Basic L3 networks •VLANs •VXLANS •Nicira NVP •Midonet •OVS – Open vSwitch End user network offerings: •Basic networking with security groups (similar to Amazon EC2), provides guest isolation on L3 networks hosted on single flat L2 network. •Advanced networking providing L2 tenant isolation using VLANs and SDN. •Per client routing, DHCP, DNS, VPN, firewall, NAT, port forwarding, VPC •Loadbalancer and firewall integration with physical F5 / Netscaler / Juniper SRX CLOUDSTACK – FEATURES
  • 11.  CloudStack management server(s)  MySQL server(s)  Hypervisors  Storage:  Primary storage for hypervisor clusters  Secondary storage for ISOs, templates and snapshots.  Networking:  Physical data centre networking  Logical traffic types across physical networks HIGH LEVEL CLOUDSTACK BUILDING BLOCKS
  • 12. Clusters: •XenServer pools •ESXi clusters •Sets of KVM hosts •Hyper-V clusters •Primary storage: NFS / iSCSI / FC SAN / SMB-CIFS (Hyper-V) / VMFS (vSphere) Pods: •A rack or row of racks including one or more clusters Availability zones: •Typically single data center or part of DC •Contains one or more pods and zone wide secondary storage Regions: •Collection of one or more AZ’s in close proximity managed by one or more management servers CLOUDSTACK HIERARCHY Image courtesy of Apache.org
  • 13.  Virtual routers:  Handles routing for guest networks, routes between guest isolated network and public network.  DHCP and DNS  VPN, firewall, NATing, and port forwarding  Secondary storage VM:  Handles export and import of templates, ISOs and snapshots  Console proxy VM:  Provides console access to guest VMs. CLOUDSTACK SYSTEM VMS
  • 14. Physical networks: • Basic zone networking • Advanced zone networking Traffic types (tags): • Guest: isolated VLAN or SDN networks. • Management traffic • Public: internet or internal intranet. • Storage Connecting to private LAN networks • Client networks can be connected directly to e.g. enterprise LAN networks. CLOUDSTACK NETWORKS
  • 16.  What we’ll cover:  Automating hypervisor builds  Automating CloudStack build  Other things to consider:  Storage  Data centre networking and associated cost  Hardware choice – branded vs. white label kit BUILDING HYPERVISORS AND APACHE CLOUDSTACK
  • 17.  Why automate?  CD install ….  Fast and consistent builds.  Quick RTO in DR / BCM scenarios  Compensates for less technical teams with little time and bandwidth  Zero touch builds – why?  Minimal input to build cuts out error prone operations  Advance preparation  CMDB / inventory DB / source control CI integration  Scripting for hypervisors:  XenServer: relatively easy to create scripted installs due to full bash shell  ESXi: tricky due to low functionality ash shell  KVM: Linux build  Hyper-V: SCCM AUTOMATING YOUR HYPERVISOR BUILD
  • 18.  Prerequisites:  PXE: DHCP + TFTP/FTP/HTTP infrastructure  Fully dynamic build scripts  Per host answer files  How do you detect individual hosts?  Known MAC addresses supplied by vendor prior to delivery allows for true zero touch builds.  PXE menu host selection allows for single touch builds.  Puppet Razor was developed to do builds based on policies around hardware detection.  Some examples:  https://github.com/dagsonstebo/Citrix-Xenserver-6.2-zero-touch-build- scripts  https://github.com/dagsonstebo/VMware-ESXi-5.5-zero-touch-build- scripts ZERO TOUCH BUILDS
  • 19. ZERO TOUCH BUILDS PROCESS
  • 20. ################################ # General settings CFG_HOSTNAME="xs62cn1.mylab.local"; CFG_IP="192.168.0.30"; CFG_NETMASK="255.255.255.0"; CFG_DG="192.168.0.1"; CFG_DNS1="192.168.0.2"; CFG_DNS2="192.168.0.3"; CFG_SEARCHDOMAIN="mylab.local"; CFG_NTP1="ntp.cis.strath.ac.uk"; CFG_PASSWORD="Password123"; CFG_SERVERROLE="POOLMASTER"; CFG_POOLNAME="XS62Pool1"; CFG_POOLMASTER="192.168.0.30"; CFG_POOLMASTERPWD="Password123"; CFG_DOM0MEM=""; CFG_INITIALNIC="eth0"; CFG_EDITION="free"; CFG_LICENSESRV=""; CFG_LICENSEPORT=""; ################################ HOST ANSWER FILE EXAMPLE # CloudStack example CFG_NW1_NAME="cloud-private"; CFG_NW1_DESC="Cloud private network"; CFG_NW1_T YPE="bond"; CFG_NW1_NICA="eth0"; CFG_NW1_NICB="eth1"; CFG_NW1_BONDMODE="active-backup"; CFG_NW1_MTU=""; CFG_NW1_VLAN="0"; CFG_NW1_IF="none"; CFG_NW2_NAME="cloud-public"; CFG_NW2_DESC="Cloud public network"; CFG_NW2_T YPE="bond"; CFG_NW2_NICA="eth2"; CFG_NW2_NICB="eth3"; CFG_NW2_BONDMODE="active-backup"; CFG_NW2_MTU=""; CFG_NW2_VLAN="0"; CFG_NW2_IF="none"; CFG_NW2_IFIP="none"; ……….
  • 22.  Hypervisors  Storage:  Primary storage for hypervisor clusters  Secondary storage for ISOs, templates and snapshots.  Networking:  Physical data centre networking  Logical traffic types across physical networks  CloudStack management server(s)  MySQL server(s) CLOUDSTACK BUILD RECAP
  • 23.  Install documentation:  Apache documentation http://docs.cloudstack.apache.org/projects/cloudstack- installation/en/latest/installation.html  Citrix documentation http://support.citrix.com/proddocs/topic/cloudplatform/clst- wrapper.html  Manual builds are straight forward - Linux.  Automated builds ensure quick repeatable install. INSTALLING CLOUDSTACK
  • 24. Management / MySQL server prerequisites: •64-bit CentOS/RHEL 6.3+ or Ubuntu 12.04 preferred, 4 GB of memory, CPU cores according to load, 250 GB of local disk minimum,500 GB recommended. Configuration of RPM / DEB repositories. Installation using yum / apt-get. MySQL •Can be installed on the same node as CloudStack management, or running separately. •Configuration of CloudStack DB Prepare the system VM template on secondary storage HIGH LEVEL BUILD STEPS
  • 25.  Using Ansible:  https://github.com/dagsonstebo/CloudStack-Ansible-Playbook  All CloudStack installation steps in one Ansible playbook:  –tags=base: NTP, Selinux, CloudStack and EPEL yum repos  –tags=mysql: all MySQL and DB installation and configuration steps  –tags=csmanagement: installs and configures base CloudStack build INSTALLING CLOUDSTACK USING ANSIBLE
  • 26.  Base install is now complete – but needs configuration:  Regions, zones, pods and clusters  Primary and secondary storage  Network model – including network segregation mechanism  Public, private and guest network IP ranges, as well as VLAN / SDN ranges  How?  Manually through the CloudStack GUI  Using CloudMonkey  Or again using Ansible – the following utilises CloudMonkey under the bonnet: https://github.com/dagsonstebo/CloudStack-Ansible- Playbook/blob/master/cloudmonkey.yml CLOUDSTACK CONFIGURATION
  • 27. COMPLETED CLOUDSTACK INSTALL AND CONFIGURATION
  • 28.  Expansion to further regions, zones, pods and clusters  Add portal:  Commercial offerings, e.g. Citrix CloudPlatform Business manager  or you write your own…  Configure reporting and billing  Increase resilience:  Add additional management servers  Configure MySQL master/slave or MySQL / Galera cluster  Integrate hardware load balancers:  Netscalers  Juniper SRX  F5 CLOUDSTACK – NEXT STEPS
  • 31. Apache CloudStack site: http://docs.cloudstack.apache.org/en/master/ Citrix CloudPlatform: http://www.citrix.com/products/cloudplatform/tech-info.html My blog: https://dsonstebo.wordpress.com My Github repo: https://github.com/dagsonstebo Contact: dag@forseticonsulting.co.uk MORE INFORMATION