View
345
Download
0
Category
Preview:
DESCRIPTION
This talk shows how to setup a virtual infrastructure using OpenNebula as cloud management platform, SaltStack for configuration management and Foreman for bare-metal/ virtual host provisioning. You will see how to combine OpenNebula with bare-metal deployment on standard server hardware using non-shared storage in an environment without physical access to the hardware and no existing base infrastructure like DNS, NTP, DHCP, VPN or other. The infrastructure installation has been done automatically using public code and free Open Source software.
Citation preview
OpenNebula Conference 2014
Bootstrapping a virtual infrastructure using OpenNebula from scratch
Arnold Bechtoldt
Karlsruhe, 04.12.14
github.com/bechtoldt � arnold.bechtoldt@inovex.de 2
‣ IT Systems Engineer at inovex GmbH (Germany)
‣ Small to large Open Source datacenter management solutions
‣ High available web-based applications
‣ Contributing to various Open Source projects
About Arnold Bechtoldt
3
Goal:
‣ Setup a lightweight hosting platform to run web applications
‣ Virtual machines (VMs) instead of plain bare-metal
‣ Infrastructure should be easy to maintain
Outlines:
‣ Create a new infrastructure from scratch ‣ Individual VM deployment (Preseed/ Kickstart)
‣ No shared storage available (yet)
‣ Small network bandwidth (2 x 1 GigE per node)
Concept Requirements
4
Concept Network Topology
5
Concept VM Deployment
Foreman (Provisioning + ENC)
OpenNebula (VM Management)
SaltStack (Cfg Mgmt + Orchestration)
1. VM Creation 2. „Host“ Creation
3. DHCP/ Preseed
4. VM Netinstall 5. Software Install
6. Orchestration
(7. Scaling)
6
Storage:
‣ HW-RAID 10
‣ QCOW2 VM disk images
‣ Creation of disk during VM deployment (custom TM driver)
Networking:
‣ „Ethernet“ address range in ONE, IPAM by Foreman/ SaltStack
‣ Open vSwitch (custom VNM driver) ‣ STP management via VNM driver
‣ IPSec/ GRE tunneling between compute nodes (MTU 9000)
Concept Challenges
7
Pros: + Low (cloud) infrastructure requirements
+ High degree of automation (Automate everything!)
+ „Cloud“-like feature set
Cons:
- No VM live migration due to non-shared storage
- No experiences in Open vSwitch (GRE) scaling
- VM deployment takes ~ 10 minutes (deployment + software install)
‣ VM Images vs. individual deployment/ netinstall
‣ DHCP vs. OpenNebula contextualization
‣ IPAM in OpenNebula vs. Foreman vs. Salt
‣ Pets vs. cattles
Conclusions Pros & Cons
8
We are hiring! inovex.de
exciting projects � great technologies � nice colleagues � cool offices
We have excellent job offers in Karlsruhe, Cologne, Munich and Pforzheim!
9
Contact Arnold Bechtoldt IT Engineering & Operations inovex GmbH Office Karlsruhe Ludwig-Erhard-Allee 6 D-76139 Karlsruhe arnold.bechtoldt@inovex.de
Thank You! Questions?
Recommended