Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
A One stop solution for Puppet and Openstack -...
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Daniel Lobato García
August 23, 2013
Programming
2
190
A One stop solution for Puppet and Openstack - PuppetConf 13'
Daniel Lobato García
August 23, 2013
Tweet
Share
More Decks by Daniel Lobato García
See All by Daniel Lobato García
Computational Photography portfolio
elobato
1
3.3k
Intro to Foreman 2017 (cfgmgmtcamp Gent)
elobato
0
150
20 tips to secure your Rails application
elobato
0
120
20 actionable tips to secure your Rails application - Rails Israel '15
elobato
3
380
Foreman in the last year - Puppet NYC at Spotify
elobato
0
150
Foreman - from git init to official plugin
elobato
0
230
Provision and manage Docker containers with Foreman
elobato
0
700
Contributing to Foreman: where and how
elobato
0
88
Provision and manage Docker containers with Foreman
elobato
3
3.9k
Other Decks in Programming
See All in Programming
高速開発のためのコード整理術
sutetotanuki
1
400
疑似コードによるプロンプト記述、どのくらい正確に実行される?
kokuyouwind
0
390
プロダクトオーナーから見たSOC2 _SOC2ゆるミートアップ#2
kekekenta
0
220
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
580
CSC307 Lecture 02
javiergs
PRO
1
780
Claude Codeと2つの巻き戻し戦略 / Two Rewind Strategies with Claude Code
fruitriin
0
110
CSC307 Lecture 07
javiergs
PRO
0
550
Unicodeどうしてる? PHPから見たUnicode対応と他言語での対応についてのお伺い
youkidearitai
PRO
1
2.5k
Apache Iceberg V3 and migration to V3
tomtanaka
0
160
フロントエンド開発の勘所 -複数事業を経験して見えた判断軸の違い-
heimusu
7
2.8k
Oxlintはいいぞ
yug1224
5
1.3k
MUSUBIXとは
nahisaho
0
130
Featured
See All Featured
First, design no harm
axbom
PRO
2
1.1k
Git: the NoSQL Database
bkeepers
PRO
432
66k
A Soul's Torment
seathinner
5
2.3k
The Language of Interfaces
destraynor
162
26k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
140
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
50
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
220
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
1
53
The Cost Of JavaScript in 2023
addyosmani
55
9.5k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
How GitHub (no longer) Works
holman
316
140k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.3k
Transcript
A one stop solution for Puppet and Openstack Daniel Lobato
Garcia daniel.lobato.garcia@cern,ch @eLobatoss
None
What is CERN Between Geneva and the Jura mountains, straddling
the Swiss- French border Mission: learn what is the universe made of and how does it work? 3
Fundamental questions in physics Why do particles have mass? What
is 96% of the universe made of? Why isn’t there anti-matter in the universe? What was the state of matter after the Big Bang? 4
8/12/2013 Document reference 5
8/12/2013 Document reference 6
8/12/2013 Document reference 7
8/12/2013 Document reference 8
Current status • 270 Openstack hypervisors • 2900 virtual machines
• 300 users • 14 Puppet masters • 6 Foreman backend nodes • Some production services migrating to our cloud – early birds 9
Goals • Ramp up to 15K hypervisors – 150-200K vms
in 2015 • Multi-site (Hungary) 10
8/12/2013 Document reference 11
8/12/2013 Document reference 12
Why? • Unnecessary homebrew stack of tools • Shift to
cloud standards with minimal customizations • High turnover – can’t teach new tools 13
Why? • Symbiotic relationship with the community 14
Openstack? • Modular IaaS free open source project • APIs
~compatible with those of Amazon 15
Openstack Nova (compute) Cloud fabric controller 16
Openstack Keystone (Identity) RBAC Integrated with LDAP Multiple auth* methods
17
Openstack Glance (Images) Discovery, registration, delivery of images 18
Openstack Horizon (Dashboard) 19
Modules • Puppet definitions for every use case you can
imagine. • Dynamic environments • Hadoop node • Openstack hypervisor • … you name it 20
21 Workflow..?
Modules and Git • Manifests and hieradata are version controlled
22
23 Git workflow Puppet masters
24 Easy cherry pick
25 Git workflow
26 Git workflow Jens ‘Puppetfiles’ Separate repositories Makes environments from
YAML config files Puppet master rsync
27 upstream.yaml --- default: production notifications:
[email protected]
overrides: modules: foreman:
upstream puppet: upstream ‘Puppetfiles’
Foreman • Lifecycle management tool for VMs and physical servers
• External Node Classifier – tells the puppet master what a node should look like 28
29
30
Power operations & Foreman 8/12/2013 Document reference 31 Foreman Proxy
Physical box IPMI Physical box IPMI Physical box IPMI VM VM VM Openstack Nova API
Openstack VM creation 8/12/2013 Document reference 32
Openstack VM creation 8/12/2013 Document reference 33
Openstack VM creation 8/12/2013 Document reference 34
Scalability experiences • Split up services • Puppet – critical
vs non critical 35 12 backend nodes Batch 4 backend nodes Interactive
Scalability experiences • Foreman – split into different services 36
ENC Reports processing UI/API Load balancer 9443 – UI/API 9444 – Reports 9445 – ENC …
Scalability experiences • Autoscale via alarms (Heat) • Define situations
(i.e: load threshold..) • Spin up VMs as needed 37
Scalability guidelines 38
github.com / cernops 39
40
None