SlideShare ist ein Scribd-Unternehmen logo
1 von 43
Downloaden Sie, um offline zu lesen
Lifecycle Management mit Puppet und
Foreman
Continuous Lifecycle 2016 16. November 2016
Mattias Giese
System Management & Monitoring Architect
B1 Systems GmbH
giese@b1-systems.de
B1 Systems GmbH - Linux/Open Source Consulting,Training, Support & Development
Vorstellung B1 Systems
gegründet 2004
primär Linux/Open Source-Themen
national & international tätig
fast 100 Mitarbeiter
unabhängig von Soft- und Hardware-Herstellern
Leistungsangebot:
Beratung & Consulting
Support
Entwicklung
Training
Betrieb
Lösungen
dezentrale Strukturen
B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 2/43
Schwerpunkte
B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 3/43
Puppet Kurzvorstellung
B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 4/43
Puppet 1/2
Konfigurationsverwaltungssystem
Entwicklung seit 2005 durch Puppet Labs
eine der drei „Großen“ neben cfengine/Chef
unterstützt verschiedene Unixe/Linux, Windows
Community und Enterprise Variante
B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 5/43
Puppet 2/2
implementiert eine Modellsprache auf Ruby
wir beschreiben, was getan werden soll, nicht wie
führt nur benötigte Änderungen am System durch
abstrahiert Unterschiede zwischen
Distributionen/Betriebssystemen
dynamische Konfiguration basierend auf Hardware/Softwareinfo
(facter)
B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 6/43
Einfaches Manifest
Einfaches Manifest
file{’/etc/myservice.conf’:
ensure => present,
content => "Hallo Weltn",
owner => ’root’,
group => ’root’,
mode => ’644’,
}
package{’firefox’:
ensure => present,
}
B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 7/43
Abstraktion des Codes
Ressource: Datei, Paket, Dienst, Benutzer, Gruppe, usw.
Manifest: Datei mit Endung .pp
enthält ein oder mehrere Ressourcen
Anwendung: puppet apply myconfig.pp
Klassen bündeln Ressourcen, z.B.: Paket, Datei und Dienst
Module bündeln Klassen und weitere Dateien
B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 8/43
Einfache Klasse
Einfache Klasse
class sshserver() {
package{’openssh’:
ensure => present,
}
file{’/etc/ssh/sshd_config’:
ensure => present,
source => puppet:///sshd_config,
[...]
notify => Service[’sshd’],
require => Package[’openssh’],
}
service{’sshd’,
ensure => running,
enable => true,
}
}
B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 9/43
Deployment-Szenarios
Puppet benötigt keinen zentralen Server (apply)
Puppet Master als zentrale Einheit erleichtert Datenhaltung
zentrale Dienste können genutzt werden um Konfiguration für
Systeme vorzugeben (Foreman)
B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 10/43
Foreman Vorstellung
B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 11/43
Foreman
System Lifecycle Management Software
Benutzung via Web-UI/CLI/Restful API
Verwaltung von DHCP/DNS/TFTP/Puppet und mehr
modular aufgebaut, erweiterbar durch Plugins
Rollenbasiertes Zugriffskonzept macht Self-Service Portal
möglich
B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 12/43
Foreman Architektur
B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 13/43
Foreman Architektur
Provisionierung
Bare-Metal via PXE/Bootmedium
VM Deployment auf vSphere, libvirt, ovirt (RHEV)
Cloud: GCE, EC2, Rackspace, OpenStack, DigitalOcean
Infrastruktur
DHCP: ISC DHCPD, Microsoft DHCP Server
DNS: Bind, PowerDNS, Microsoft DNS
TFTP (verschiedene)
verschiedene Konfigurationsverwaltungen
B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 14/43
Foreman GUI: Dashboard
B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 15/43
Foreman GUI: Hosts Overview
B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 16/43
Foreman GUI: Hosts Detail
B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 17/43
Foreman GUI: Puppet Overview
B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 18/43
Foreman GUI: Puppet Reports Overview
B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 19/43
Foreman GUI: Puppet Report Detail
B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 20/43
Foreman GUI: Puppet Classes Overview
B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 21/43
Foreman – Plugins
erweiterbar durch Plugins
Foreman Discovery: Metal as a Service
Remote Execution: Tasks auf verwalteten Maschinen ausführen
Docker: Verwaltung von Containern auf Docker-Hosts
Hooks: Beliebigen Code in verschiedenen Phasen ausführen
Chef, Ansible, Salt: Anbindung von Konfigurationsverwaltung
neben Puppet
Katello: Software-/Patchmanagent (Basis für Satellite 6)
u.v.m., siehe http://theforeman.org/plugins/
B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 22/43
Foreman Discovery 1/4
besteht aus zwei Teilen
Plugin für Foreman Web-Applikation
Livesystem basierend auf oVirt-Node
B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 23/43
Foreman Discovery 2/4
B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 24/43
Foreman Discovery 3/4
B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 25/43
Foreman Discovery 4/4
B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 26/43
Foreman Remote Execution 1/9
Foreman
Scheduler (Foreman Tasks/Dynflow)
Frontend für Templatedefinition
Frontend zur Taskplanung
Foreman Proxy
Executor Plugin (aktuell nur SSH)
B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 27/43
Foreman Remote Execution 2/9
B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 28/43
Foreman Remote Execution 3/9
B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 29/43
Foreman Remote Execution 4/9
B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 30/43
Foreman Remote Execution 5/9
B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 31/43
Foreman Remote Execution 6/9
B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 32/43
Foreman Remote Execution 7/9
B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 33/43
Foreman Remote Execution 8/9
B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 34/43
Foreman Remote Execution 9/9
B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 35/43
Foreman Docker Plugin 1/7
Docker wird zur Compute Resource in Foreman
Erstellung, Anzeige und Verwaltung von Containern auf
verschiedenen Docker-Hosts
B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 36/43
Foreman Docker Plugin 2/7
B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 37/43
Foreman Docker Plugin 3/7
B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 38/43
Foreman Docker Plugin 4/7
B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 39/43
Foreman Docker Plugin 5/7
B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 40/43
Foreman Docker Plugin 6/7
B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 41/43
Foreman Docker Plugin 7/7
B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 42/43
Vielen Dank für Ihre Aufmerksamkeit!
Bei weiteren Fragen wenden Sie sich bitte an info@b1-systems.de
oder +49 (0)8457 - 931096
B1 Systems GmbH - Linux/Open Source Consulting,Training, Support & Development

Weitere ähnliche Inhalte

Andere mochten auch

Lifecycle Management with Foreman
Lifecycle Management with ForemanLifecycle Management with Foreman
Lifecycle Management with ForemanJulien Pivotto
 
Managing your SaltStack Minions with Foreman
Managing your SaltStack Minions with ForemanManaging your SaltStack Minions with Foreman
Managing your SaltStack Minions with ForemanStephen Benjamin
 
Improving Operations Efficiency with Puppet
Improving Operations Efficiency with PuppetImproving Operations Efficiency with Puppet
Improving Operations Efficiency with PuppetNicolas Brousse
 
How I hack on puppet modules
How I hack on puppet modulesHow I hack on puppet modules
How I hack on puppet modulesKris Buytaert
 
Extending Foreman the easy way with foreman_hooks
Extending Foreman the easy way with foreman_hooksExtending Foreman the easy way with foreman_hooks
Extending Foreman the easy way with foreman_hooksDominic Cleal
 
OpenNebula, the foreman and CentOS play nice, too
OpenNebula, the foreman and CentOS play nice, tooOpenNebula, the foreman and CentOS play nice, too
OpenNebula, the foreman and CentOS play nice, tooinovex GmbH
 
A Presentation about Puppet that I've made at the OSSPAC conference
A Presentation about Puppet that I've made at the OSSPAC conferenceA Presentation about Puppet that I've made at the OSSPAC conference
A Presentation about Puppet that I've made at the OSSPAC conferenceohadlevy
 
KubeCon EU 2016: Heroku to Kubernetes
KubeCon EU 2016: Heroku to KubernetesKubeCon EU 2016: Heroku to Kubernetes
KubeCon EU 2016: Heroku to KubernetesKubeAcademy
 
Foreman and Chef integration at ChefConf 2014
Foreman and Chef integration at ChefConf 2014Foreman and Chef integration at ChefConf 2014
Foreman and Chef integration at ChefConf 2014Dominic Cleal
 
Foreman - Process manager for applications with multiple components
Foreman - Process manager for applications with multiple componentsForeman - Process manager for applications with multiple components
Foreman - Process manager for applications with multiple componentsStoyan Zhekov
 
Demystifying the Foreman
Demystifying the ForemanDemystifying the Foreman
Demystifying the ForemanJulien Pivotto
 
SaltStack Integration with Foreman (2016)
SaltStack Integration with Foreman (2016)SaltStack Integration with Foreman (2016)
SaltStack Integration with Foreman (2016)Stephen Benjamin
 
Auto infra with_foreman_katello
Auto infra with_foreman_katelloAuto infra with_foreman_katello
Auto infra with_foreman_katelloSachin Ghai
 
Foreman presentation
Foreman presentationForeman presentation
Foreman presentationGlen Ogilvie
 
Docker Puppet Automatisation on Hidora
Docker Puppet Automatisation on HidoraDocker Puppet Automatisation on Hidora
Docker Puppet Automatisation on HidoraOpen-IT
 
Ovirt and gluster_hyperconvergence_devconf-2016
Ovirt and gluster_hyperconvergence_devconf-2016Ovirt and gluster_hyperconvergence_devconf-2016
Ovirt and gluster_hyperconvergence_devconf-2016Ramesh Nachimuthu
 
Full Stack Automation with Katello & The Foreman
Full Stack Automation with Katello & The ForemanFull Stack Automation with Katello & The Foreman
Full Stack Automation with Katello & The ForemanWeston Bassler
 
Fossasia 16 Integrating oVirt, Foreman and Katello to empower your data-center
Fossasia 16 Integrating oVirt, Foreman and Katello to empower your data-centerFossasia 16 Integrating oVirt, Foreman and Katello to empower your data-center
Fossasia 16 Integrating oVirt, Foreman and Katello to empower your data-centerYaniv Bronhaim
 
What does "monitoring" mean? (FOSDEM 2017)
What does "monitoring" mean? (FOSDEM 2017)What does "monitoring" mean? (FOSDEM 2017)
What does "monitoring" mean? (FOSDEM 2017)Brian Brazil
 

Andere mochten auch (20)

Lifecycle Management with Foreman
Lifecycle Management with ForemanLifecycle Management with Foreman
Lifecycle Management with Foreman
 
Managing your SaltStack Minions with Foreman
Managing your SaltStack Minions with ForemanManaging your SaltStack Minions with Foreman
Managing your SaltStack Minions with Foreman
 
Improving Operations Efficiency with Puppet
Improving Operations Efficiency with PuppetImproving Operations Efficiency with Puppet
Improving Operations Efficiency with Puppet
 
How I hack on puppet modules
How I hack on puppet modulesHow I hack on puppet modules
How I hack on puppet modules
 
Extending Foreman the easy way with foreman_hooks
Extending Foreman the easy way with foreman_hooksExtending Foreman the easy way with foreman_hooks
Extending Foreman the easy way with foreman_hooks
 
OpenNebula, the foreman and CentOS play nice, too
OpenNebula, the foreman and CentOS play nice, tooOpenNebula, the foreman and CentOS play nice, too
OpenNebula, the foreman and CentOS play nice, too
 
A Presentation about Puppet that I've made at the OSSPAC conference
A Presentation about Puppet that I've made at the OSSPAC conferenceA Presentation about Puppet that I've made at the OSSPAC conference
A Presentation about Puppet that I've made at the OSSPAC conference
 
KubeCon EU 2016: Heroku to Kubernetes
KubeCon EU 2016: Heroku to KubernetesKubeCon EU 2016: Heroku to Kubernetes
KubeCon EU 2016: Heroku to Kubernetes
 
Foreman and Chef integration at ChefConf 2014
Foreman and Chef integration at ChefConf 2014Foreman and Chef integration at ChefConf 2014
Foreman and Chef integration at ChefConf 2014
 
Foreman - Process manager for applications with multiple components
Foreman - Process manager for applications with multiple componentsForeman - Process manager for applications with multiple components
Foreman - Process manager for applications with multiple components
 
Foreman como provisionador
Foreman como provisionadorForeman como provisionador
Foreman como provisionador
 
Demystifying the Foreman
Demystifying the ForemanDemystifying the Foreman
Demystifying the Foreman
 
SaltStack Integration with Foreman (2016)
SaltStack Integration with Foreman (2016)SaltStack Integration with Foreman (2016)
SaltStack Integration with Foreman (2016)
 
Auto infra with_foreman_katello
Auto infra with_foreman_katelloAuto infra with_foreman_katello
Auto infra with_foreman_katello
 
Foreman presentation
Foreman presentationForeman presentation
Foreman presentation
 
Docker Puppet Automatisation on Hidora
Docker Puppet Automatisation on HidoraDocker Puppet Automatisation on Hidora
Docker Puppet Automatisation on Hidora
 
Ovirt and gluster_hyperconvergence_devconf-2016
Ovirt and gluster_hyperconvergence_devconf-2016Ovirt and gluster_hyperconvergence_devconf-2016
Ovirt and gluster_hyperconvergence_devconf-2016
 
Full Stack Automation with Katello & The Foreman
Full Stack Automation with Katello & The ForemanFull Stack Automation with Katello & The Foreman
Full Stack Automation with Katello & The Foreman
 
Fossasia 16 Integrating oVirt, Foreman and Katello to empower your data-center
Fossasia 16 Integrating oVirt, Foreman and Katello to empower your data-centerFossasia 16 Integrating oVirt, Foreman and Katello to empower your data-center
Fossasia 16 Integrating oVirt, Foreman and Katello to empower your data-center
 
What does "monitoring" mean? (FOSDEM 2017)
What does "monitoring" mean? (FOSDEM 2017)What does "monitoring" mean? (FOSDEM 2017)
What does "monitoring" mean? (FOSDEM 2017)
 

Ähnlich wie Lifecycle Management mit Puppet und Foreman

Systemmanagement mit Puppet und Foreman
Systemmanagement mit Puppet und ForemanSystemmanagement mit Puppet und Foreman
Systemmanagement mit Puppet und ForemanB1 Systems GmbH
 
Ubuntu-Server als Backup- und Fileserver betreiben
Ubuntu-Server als Backup- und Fileserver betreibenUbuntu-Server als Backup- und Fileserver betreiben
Ubuntu-Server als Backup- und Fileserver betreibenB1 Systems GmbH
 
Btrfs - das Dateisystem der Zukunft?
Btrfs - das Dateisystem der Zukunft?Btrfs - das Dateisystem der Zukunft?
Btrfs - das Dateisystem der Zukunft?B1 Systems GmbH
 
Ubuntu-/Debian-Packaging
Ubuntu-/Debian-PackagingUbuntu-/Debian-Packaging
Ubuntu-/Debian-PackagingB1 Systems GmbH
 
B1 Thin Client Management bei der Fraport AG
B1 Thin Client Management bei der Fraport AGB1 Thin Client Management bei der Fraport AG
B1 Thin Client Management bei der Fraport AGB1 Systems GmbH
 
OpenStack Betrieb & Support - 5 Jahre OpenStack Managed Service bei der SAP SE
OpenStack Betrieb & Support - 5 Jahre OpenStack Managed Service bei der SAP SEOpenStack Betrieb & Support - 5 Jahre OpenStack Managed Service bei der SAP SE
OpenStack Betrieb & Support - 5 Jahre OpenStack Managed Service bei der SAP SEB1 Systems GmbH
 
Openstack im unternehmerischen Einsatz
Openstack im unternehmerischen EinsatzOpenstack im unternehmerischen Einsatz
Openstack im unternehmerischen EinsatzB1 Systems GmbH
 
OSMC 2010 | Verwendung von Puppet in verteilten Monitoring Umgebungen by Birg...
OSMC 2010 | Verwendung von Puppet in verteilten Monitoring Umgebungen by Birg...OSMC 2010 | Verwendung von Puppet in verteilten Monitoring Umgebungen by Birg...
OSMC 2010 | Verwendung von Puppet in verteilten Monitoring Umgebungen by Birg...NETWAYS
 
Azure Notebooks
Azure NotebooksAzure Notebooks
Azure NotebooksTEitelberg
 
Deployment von Entwicklungsumgebungen eines TYPO3-Intranets mit Vagrant
Deployment von Entwicklungsumgebungen eines TYPO3-Intranets mit VagrantDeployment von Entwicklungsumgebungen eines TYPO3-Intranets mit Vagrant
Deployment von Entwicklungsumgebungen eines TYPO3-Intranets mit VagrantChristoph Möller
 
Ambilight, Raspberry Pi, Ubuntu & Hyperion
Ambilight, Raspberry Pi, Ubuntu & HyperionAmbilight, Raspberry Pi, Ubuntu & Hyperion
Ambilight, Raspberry Pi, Ubuntu & HyperionB1 Systems GmbH
 
Bits and Bytes im Flow - Netzwerk im Wandel der Zeit
Bits and Bytes im Flow - Netzwerk im Wandel der ZeitBits and Bytes im Flow - Netzwerk im Wandel der Zeit
Bits and Bytes im Flow - Netzwerk im Wandel der ZeitB1 Systems GmbH
 
OSDC 2010 | FAI - ein Projekt wird 10 Jahre alt by Thomas Lange
OSDC 2010 | FAI - ein Projekt wird 10 Jahre alt by Thomas LangeOSDC 2010 | FAI - ein Projekt wird 10 Jahre alt by Thomas Lange
OSDC 2010 | FAI - ein Projekt wird 10 Jahre alt by Thomas LangeNETWAYS
 
Opensource Tools für das Data Center Management
Opensource Tools für das Data Center ManagementOpensource Tools für das Data Center Management
Opensource Tools für das Data Center Managementinovex GmbH
 
Docker und Virtualisierung - Container Use Cases für eine isolierte, performa...
Docker und Virtualisierung - Container Use Cases für eine isolierte, performa...Docker und Virtualisierung - Container Use Cases für eine isolierte, performa...
Docker und Virtualisierung - Container Use Cases für eine isolierte, performa...B1 Systems GmbH
 
Sichere und unabhängige Datenverwaltung mit ownCloud
Sichere und unabhängige Datenverwaltung mit ownCloud Sichere und unabhängige Datenverwaltung mit ownCloud
Sichere und unabhängige Datenverwaltung mit ownCloud B1 Systems GmbH
 
Klein, aber oho - Continuous Delivery von Micro Applications mit Jenkins, Doc...
Klein, aber oho - Continuous Delivery von Micro Applications mit Jenkins, Doc...Klein, aber oho - Continuous Delivery von Micro Applications mit Jenkins, Doc...
Klein, aber oho - Continuous Delivery von Micro Applications mit Jenkins, Doc...B1 Systems GmbH
 
Froxlor
FroxlorFroxlor
FroxlorDerChb
 
Roadshow: Windows Server 2016 «vNext»
Roadshow: Windows Server 2016 «vNext»Roadshow: Windows Server 2016 «vNext»
Roadshow: Windows Server 2016 «vNext»Digicomp Academy AG
 

Ähnlich wie Lifecycle Management mit Puppet und Foreman (20)

Systemmanagement mit Puppet und Foreman
Systemmanagement mit Puppet und ForemanSystemmanagement mit Puppet und Foreman
Systemmanagement mit Puppet und Foreman
 
Ubuntu-Server als Backup- und Fileserver betreiben
Ubuntu-Server als Backup- und Fileserver betreibenUbuntu-Server als Backup- und Fileserver betreiben
Ubuntu-Server als Backup- und Fileserver betreiben
 
Btrfs - das Dateisystem der Zukunft?
Btrfs - das Dateisystem der Zukunft?Btrfs - das Dateisystem der Zukunft?
Btrfs - das Dateisystem der Zukunft?
 
Ubuntu-/Debian-Packaging
Ubuntu-/Debian-PackagingUbuntu-/Debian-Packaging
Ubuntu-/Debian-Packaging
 
B1 Thin Client Management bei der Fraport AG
B1 Thin Client Management bei der Fraport AGB1 Thin Client Management bei der Fraport AG
B1 Thin Client Management bei der Fraport AG
 
OpenStack Betrieb & Support - 5 Jahre OpenStack Managed Service bei der SAP SE
OpenStack Betrieb & Support - 5 Jahre OpenStack Managed Service bei der SAP SEOpenStack Betrieb & Support - 5 Jahre OpenStack Managed Service bei der SAP SE
OpenStack Betrieb & Support - 5 Jahre OpenStack Managed Service bei der SAP SE
 
Openstack im unternehmerischen Einsatz
Openstack im unternehmerischen EinsatzOpenstack im unternehmerischen Einsatz
Openstack im unternehmerischen Einsatz
 
OSMC 2010 | Verwendung von Puppet in verteilten Monitoring Umgebungen by Birg...
OSMC 2010 | Verwendung von Puppet in verteilten Monitoring Umgebungen by Birg...OSMC 2010 | Verwendung von Puppet in verteilten Monitoring Umgebungen by Birg...
OSMC 2010 | Verwendung von Puppet in verteilten Monitoring Umgebungen by Birg...
 
Azure Notebooks
Azure NotebooksAzure Notebooks
Azure Notebooks
 
Deployment von Entwicklungsumgebungen eines TYPO3-Intranets mit Vagrant
Deployment von Entwicklungsumgebungen eines TYPO3-Intranets mit VagrantDeployment von Entwicklungsumgebungen eines TYPO3-Intranets mit Vagrant
Deployment von Entwicklungsumgebungen eines TYPO3-Intranets mit Vagrant
 
Ambilight, Raspberry Pi, Ubuntu & Hyperion
Ambilight, Raspberry Pi, Ubuntu & HyperionAmbilight, Raspberry Pi, Ubuntu & Hyperion
Ambilight, Raspberry Pi, Ubuntu & Hyperion
 
Bits and Bytes im Flow - Netzwerk im Wandel der Zeit
Bits and Bytes im Flow - Netzwerk im Wandel der ZeitBits and Bytes im Flow - Netzwerk im Wandel der Zeit
Bits and Bytes im Flow - Netzwerk im Wandel der Zeit
 
OSDC 2010 | FAI - ein Projekt wird 10 Jahre alt by Thomas Lange
OSDC 2010 | FAI - ein Projekt wird 10 Jahre alt by Thomas LangeOSDC 2010 | FAI - ein Projekt wird 10 Jahre alt by Thomas Lange
OSDC 2010 | FAI - ein Projekt wird 10 Jahre alt by Thomas Lange
 
Opensource Tools für das Data Center Management
Opensource Tools für das Data Center ManagementOpensource Tools für das Data Center Management
Opensource Tools für das Data Center Management
 
Docker und Virtualisierung - Container Use Cases für eine isolierte, performa...
Docker und Virtualisierung - Container Use Cases für eine isolierte, performa...Docker und Virtualisierung - Container Use Cases für eine isolierte, performa...
Docker und Virtualisierung - Container Use Cases für eine isolierte, performa...
 
Sichere und unabhängige Datenverwaltung mit ownCloud
Sichere und unabhängige Datenverwaltung mit ownCloud Sichere und unabhängige Datenverwaltung mit ownCloud
Sichere und unabhängige Datenverwaltung mit ownCloud
 
Klein, aber oho - Continuous Delivery von Micro Applications mit Jenkins, Doc...
Klein, aber oho - Continuous Delivery von Micro Applications mit Jenkins, Doc...Klein, aber oho - Continuous Delivery von Micro Applications mit Jenkins, Doc...
Klein, aber oho - Continuous Delivery von Micro Applications mit Jenkins, Doc...
 
Froxlor
FroxlorFroxlor
Froxlor
 
Roadshow: Windows Server 2016 «vNext»
Roadshow: Windows Server 2016 «vNext»Roadshow: Windows Server 2016 «vNext»
Roadshow: Windows Server 2016 «vNext»
 
DEPAROM 1. User Group Treffen (2008)
DEPAROM 1. User Group Treffen (2008)DEPAROM 1. User Group Treffen (2008)
DEPAROM 1. User Group Treffen (2008)
 

Mehr von B1 Systems GmbH

Android mit Google Befreiung, PlayStore Apps im eigenen Repo
Android mit Google Befreiung, PlayStore Apps im eigenen RepoAndroid mit Google Befreiung, PlayStore Apps im eigenen Repo
Android mit Google Befreiung, PlayStore Apps im eigenen RepoB1 Systems GmbH
 
Salt - A Scalable Systems Management Solution for Datacenters
Salt - A Scalable Systems Management Solution for DatacentersSalt - A Scalable Systems Management Solution for Datacenters
Salt - A Scalable Systems Management Solution for DatacentersB1 Systems GmbH
 
Ausrollen von Multi-Tier-Applikationen mit Docker
Ausrollen von Multi-Tier-Applikationen mit DockerAusrollen von Multi-Tier-Applikationen mit Docker
Ausrollen von Multi-Tier-Applikationen mit DockerB1 Systems GmbH
 
Simplify and run your development environments with Vagrant on OpenStack
Simplify and run your development environments with Vagrant on OpenStackSimplify and run your development environments with Vagrant on OpenStack
Simplify and run your development environments with Vagrant on OpenStackB1 Systems GmbH
 
Simplify and run your development environments with Vagrant on OpenStack
Simplify and run your development environments with Vagrant on OpenStackSimplify and run your development environments with Vagrant on OpenStack
Simplify and run your development environments with Vagrant on OpenStackB1 Systems GmbH
 
End of the Road - Facing Current Scaling Limits within OpenStack
End of the Road - Facing Current Scaling Limits within OpenStackEnd of the Road - Facing Current Scaling Limits within OpenStack
End of the Road - Facing Current Scaling Limits within OpenStackB1 Systems GmbH
 
OpenStack und Heat - Standardisierte Test- und Entwicklungsumgebungen
OpenStack und Heat - Standardisierte Test- und EntwicklungsumgebungenOpenStack und Heat - Standardisierte Test- und Entwicklungsumgebungen
OpenStack und Heat - Standardisierte Test- und EntwicklungsumgebungenB1 Systems GmbH
 
E-Mail-Verschlüsselung mit GnuPG
E-Mail-Verschlüsselung mit GnuPGE-Mail-Verschlüsselung mit GnuPG
E-Mail-Verschlüsselung mit GnuPGB1 Systems GmbH
 
Some Bashing II - Mit der Kommandozeile Abläufe automatisieren
Some Bashing II - Mit der Kommandozeile Abläufe automatisierenSome Bashing II - Mit der Kommandozeile Abläufe automatisieren
Some Bashing II - Mit der Kommandozeile Abläufe automatisierenB1 Systems GmbH
 
Ceph - Software Defined Storage für die Cloud
Ceph - Software Defined Storage für die CloudCeph - Software Defined Storage für die Cloud
Ceph - Software Defined Storage für die CloudB1 Systems GmbH
 
Migrating deployment processes and Continuous Integration at SAP SE
Migrating deployment processes and Continuous Integration at SAP SEMigrating deployment processes and Continuous Integration at SAP SE
Migrating deployment processes and Continuous Integration at SAP SEB1 Systems GmbH
 
Salt - A Scalable Systems Management Solution for Datacenters
Salt - A Scalable Systems Management Solution for DatacentersSalt - A Scalable Systems Management Solution for Datacenters
Salt - A Scalable Systems Management Solution for DatacentersB1 Systems GmbH
 
DevOps environment with OpenStack and NetApp
DevOps environment with OpenStack and NetAppDevOps environment with OpenStack and NetApp
DevOps environment with OpenStack and NetAppB1 Systems GmbH
 
Images for the Clouds with KIWI & OBS
Images for the Clouds with KIWI & OBSImages for the Clouds with KIWI & OBS
Images for the Clouds with KIWI & OBSB1 Systems GmbH
 
OpenStack und Heat - Standardisierte Test- und Entwicklungsumgebungen
OpenStack und Heat - Standardisierte Test- und EntwicklungsumgebungenOpenStack und Heat - Standardisierte Test- und Entwicklungsumgebungen
OpenStack und Heat - Standardisierte Test- und EntwicklungsumgebungenB1 Systems GmbH
 

Mehr von B1 Systems GmbH (15)

Android mit Google Befreiung, PlayStore Apps im eigenen Repo
Android mit Google Befreiung, PlayStore Apps im eigenen RepoAndroid mit Google Befreiung, PlayStore Apps im eigenen Repo
Android mit Google Befreiung, PlayStore Apps im eigenen Repo
 
Salt - A Scalable Systems Management Solution for Datacenters
Salt - A Scalable Systems Management Solution for DatacentersSalt - A Scalable Systems Management Solution for Datacenters
Salt - A Scalable Systems Management Solution for Datacenters
 
Ausrollen von Multi-Tier-Applikationen mit Docker
Ausrollen von Multi-Tier-Applikationen mit DockerAusrollen von Multi-Tier-Applikationen mit Docker
Ausrollen von Multi-Tier-Applikationen mit Docker
 
Simplify and run your development environments with Vagrant on OpenStack
Simplify and run your development environments with Vagrant on OpenStackSimplify and run your development environments with Vagrant on OpenStack
Simplify and run your development environments with Vagrant on OpenStack
 
Simplify and run your development environments with Vagrant on OpenStack
Simplify and run your development environments with Vagrant on OpenStackSimplify and run your development environments with Vagrant on OpenStack
Simplify and run your development environments with Vagrant on OpenStack
 
End of the Road - Facing Current Scaling Limits within OpenStack
End of the Road - Facing Current Scaling Limits within OpenStackEnd of the Road - Facing Current Scaling Limits within OpenStack
End of the Road - Facing Current Scaling Limits within OpenStack
 
OpenStack und Heat - Standardisierte Test- und Entwicklungsumgebungen
OpenStack und Heat - Standardisierte Test- und EntwicklungsumgebungenOpenStack und Heat - Standardisierte Test- und Entwicklungsumgebungen
OpenStack und Heat - Standardisierte Test- und Entwicklungsumgebungen
 
E-Mail-Verschlüsselung mit GnuPG
E-Mail-Verschlüsselung mit GnuPGE-Mail-Verschlüsselung mit GnuPG
E-Mail-Verschlüsselung mit GnuPG
 
Some Bashing II - Mit der Kommandozeile Abläufe automatisieren
Some Bashing II - Mit der Kommandozeile Abläufe automatisierenSome Bashing II - Mit der Kommandozeile Abläufe automatisieren
Some Bashing II - Mit der Kommandozeile Abläufe automatisieren
 
Ceph - Software Defined Storage für die Cloud
Ceph - Software Defined Storage für die CloudCeph - Software Defined Storage für die Cloud
Ceph - Software Defined Storage für die Cloud
 
Migrating deployment processes and Continuous Integration at SAP SE
Migrating deployment processes and Continuous Integration at SAP SEMigrating deployment processes and Continuous Integration at SAP SE
Migrating deployment processes and Continuous Integration at SAP SE
 
Salt - A Scalable Systems Management Solution for Datacenters
Salt - A Scalable Systems Management Solution for DatacentersSalt - A Scalable Systems Management Solution for Datacenters
Salt - A Scalable Systems Management Solution for Datacenters
 
DevOps environment with OpenStack and NetApp
DevOps environment with OpenStack and NetAppDevOps environment with OpenStack and NetApp
DevOps environment with OpenStack and NetApp
 
Images for the Clouds with KIWI & OBS
Images for the Clouds with KIWI & OBSImages for the Clouds with KIWI & OBS
Images for the Clouds with KIWI & OBS
 
OpenStack und Heat - Standardisierte Test- und Entwicklungsumgebungen
OpenStack und Heat - Standardisierte Test- und EntwicklungsumgebungenOpenStack und Heat - Standardisierte Test- und Entwicklungsumgebungen
OpenStack und Heat - Standardisierte Test- und Entwicklungsumgebungen
 

Lifecycle Management mit Puppet und Foreman

  • 1. Lifecycle Management mit Puppet und Foreman Continuous Lifecycle 2016 16. November 2016 Mattias Giese System Management & Monitoring Architect B1 Systems GmbH giese@b1-systems.de B1 Systems GmbH - Linux/Open Source Consulting,Training, Support & Development
  • 2. Vorstellung B1 Systems gegründet 2004 primär Linux/Open Source-Themen national & international tätig fast 100 Mitarbeiter unabhängig von Soft- und Hardware-Herstellern Leistungsangebot: Beratung & Consulting Support Entwicklung Training Betrieb Lösungen dezentrale Strukturen B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 2/43
  • 3. Schwerpunkte B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 3/43
  • 4. Puppet Kurzvorstellung B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 4/43
  • 5. Puppet 1/2 Konfigurationsverwaltungssystem Entwicklung seit 2005 durch Puppet Labs eine der drei „Großen“ neben cfengine/Chef unterstützt verschiedene Unixe/Linux, Windows Community und Enterprise Variante B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 5/43
  • 6. Puppet 2/2 implementiert eine Modellsprache auf Ruby wir beschreiben, was getan werden soll, nicht wie führt nur benötigte Änderungen am System durch abstrahiert Unterschiede zwischen Distributionen/Betriebssystemen dynamische Konfiguration basierend auf Hardware/Softwareinfo (facter) B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 6/43
  • 7. Einfaches Manifest Einfaches Manifest file{’/etc/myservice.conf’: ensure => present, content => "Hallo Weltn", owner => ’root’, group => ’root’, mode => ’644’, } package{’firefox’: ensure => present, } B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 7/43
  • 8. Abstraktion des Codes Ressource: Datei, Paket, Dienst, Benutzer, Gruppe, usw. Manifest: Datei mit Endung .pp enthält ein oder mehrere Ressourcen Anwendung: puppet apply myconfig.pp Klassen bündeln Ressourcen, z.B.: Paket, Datei und Dienst Module bündeln Klassen und weitere Dateien B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 8/43
  • 9. Einfache Klasse Einfache Klasse class sshserver() { package{’openssh’: ensure => present, } file{’/etc/ssh/sshd_config’: ensure => present, source => puppet:///sshd_config, [...] notify => Service[’sshd’], require => Package[’openssh’], } service{’sshd’, ensure => running, enable => true, } } B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 9/43
  • 10. Deployment-Szenarios Puppet benötigt keinen zentralen Server (apply) Puppet Master als zentrale Einheit erleichtert Datenhaltung zentrale Dienste können genutzt werden um Konfiguration für Systeme vorzugeben (Foreman) B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 10/43
  • 11. Foreman Vorstellung B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 11/43
  • 12. Foreman System Lifecycle Management Software Benutzung via Web-UI/CLI/Restful API Verwaltung von DHCP/DNS/TFTP/Puppet und mehr modular aufgebaut, erweiterbar durch Plugins Rollenbasiertes Zugriffskonzept macht Self-Service Portal möglich B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 12/43
  • 13. Foreman Architektur B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 13/43
  • 14. Foreman Architektur Provisionierung Bare-Metal via PXE/Bootmedium VM Deployment auf vSphere, libvirt, ovirt (RHEV) Cloud: GCE, EC2, Rackspace, OpenStack, DigitalOcean Infrastruktur DHCP: ISC DHCPD, Microsoft DHCP Server DNS: Bind, PowerDNS, Microsoft DNS TFTP (verschiedene) verschiedene Konfigurationsverwaltungen B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 14/43
  • 15. Foreman GUI: Dashboard B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 15/43
  • 16. Foreman GUI: Hosts Overview B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 16/43
  • 17. Foreman GUI: Hosts Detail B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 17/43
  • 18. Foreman GUI: Puppet Overview B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 18/43
  • 19. Foreman GUI: Puppet Reports Overview B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 19/43
  • 20. Foreman GUI: Puppet Report Detail B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 20/43
  • 21. Foreman GUI: Puppet Classes Overview B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 21/43
  • 22. Foreman – Plugins erweiterbar durch Plugins Foreman Discovery: Metal as a Service Remote Execution: Tasks auf verwalteten Maschinen ausführen Docker: Verwaltung von Containern auf Docker-Hosts Hooks: Beliebigen Code in verschiedenen Phasen ausführen Chef, Ansible, Salt: Anbindung von Konfigurationsverwaltung neben Puppet Katello: Software-/Patchmanagent (Basis für Satellite 6) u.v.m., siehe http://theforeman.org/plugins/ B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 22/43
  • 23. Foreman Discovery 1/4 besteht aus zwei Teilen Plugin für Foreman Web-Applikation Livesystem basierend auf oVirt-Node B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 23/43
  • 24. Foreman Discovery 2/4 B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 24/43
  • 25. Foreman Discovery 3/4 B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 25/43
  • 26. Foreman Discovery 4/4 B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 26/43
  • 27. Foreman Remote Execution 1/9 Foreman Scheduler (Foreman Tasks/Dynflow) Frontend für Templatedefinition Frontend zur Taskplanung Foreman Proxy Executor Plugin (aktuell nur SSH) B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 27/43
  • 28. Foreman Remote Execution 2/9 B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 28/43
  • 29. Foreman Remote Execution 3/9 B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 29/43
  • 30. Foreman Remote Execution 4/9 B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 30/43
  • 31. Foreman Remote Execution 5/9 B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 31/43
  • 32. Foreman Remote Execution 6/9 B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 32/43
  • 33. Foreman Remote Execution 7/9 B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 33/43
  • 34. Foreman Remote Execution 8/9 B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 34/43
  • 35. Foreman Remote Execution 9/9 B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 35/43
  • 36. Foreman Docker Plugin 1/7 Docker wird zur Compute Resource in Foreman Erstellung, Anzeige und Verwaltung von Containern auf verschiedenen Docker-Hosts B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 36/43
  • 37. Foreman Docker Plugin 2/7 B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 37/43
  • 38. Foreman Docker Plugin 3/7 B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 38/43
  • 39. Foreman Docker Plugin 4/7 B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 39/43
  • 40. Foreman Docker Plugin 5/7 B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 40/43
  • 41. Foreman Docker Plugin 6/7 B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 41/43
  • 42. Foreman Docker Plugin 7/7 B1 Systems GmbH Lifecycle Management mit Puppet und Foreman 42/43
  • 43. Vielen Dank für Ihre Aufmerksamkeit! Bei weiteren Fragen wenden Sie sich bitte an info@b1-systems.de oder +49 (0)8457 - 931096 B1 Systems GmbH - Linux/Open Source Consulting,Training, Support & Development