Foreman in Your Data Center Lukáš Zapletal

Slides:



Advertisements
Similar presentations
Implementing Tableau Server in an Enterprise Environment
Advertisements

Cloud computing is used to describe a variety of computing concepts that involve a large number of computers connected through a real-time communication.
Cisco Confidential © 2013 Cisco and/or its affiliates. All rights reserved. 1 Unity Connection Qualification for Prime Collaboration Development Release.
Crystal Hoyer Program Manager IIS Team Preview of features that will be announced at MIX09 Please do not blog, take pictures or video of session.
DevCloud and CloudMonkey in Apache CloudStack
Model a Container Runtime environment on Your Mac with VMware AppCatalyst VMworld Fabio Rapposelli
Cloud Standard API and Contextualization
Windows Azure Conference 2014 Deploy your Java workloads on Windows Azure.
Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer Yaroslav Pentsarskyy
ArcGIS Server for Administrators
Jose Castro Leon CERN – IT/OIS CERN Agile Infrastructure Infrastructure as a Service.
CoprHD and OpenStack Ideas for future.
20409A 7: Installing and Configuring System Center 2012 R2 Virtual Machine Manager Module 7 Installing and Configuring System Center 2012 R2 Virtual.
Deploying BiobankCloud with Karamel/Chef and Federated Authentication in BiobankCloud Jim Dowling, KTH – Royal Institute of Technology.
Webinar: Deploy an Infrastructure-as-a-Service (IaaS) private cloud July 28, 2015 Todd Sanders John Matthews
CERN AI Config Management 16/07/15 AI for INFN visit2 Overview for INFN visit.
Globus online Delivering a scalable service Steve Tuecke Computation Institute University of Chicago and Argonne National Laboratory.
Volatile Environments with Virtualization Technologies 1 iCSC2016, Anastasios Andronidis, Imperial College London Volatile Environments with Virtualization.
Ansible and Ansible Tower 1 A simple IT automation platform November 2015 Leandro Fernandez and Blaž Zupanc.
Cloud Installation & Configuration Management. Outline  Definitions  Tools, “Comparison”  References.
Configuration Services at CERN HEPiX fall Ben Jones, HEPiX Fall 2014.
Docker for Ops: Operationalize Your Apps in Production Vivek Saraswat Sr. Product Evan Hazlett Sr. Software
Michael DeHaan Provisioning with Cobbler, Red Hat.
April 1st, 2009 Cobbler Provisioning Made Easy Jasper Capel.
CIS Host Manager Bryce Johnston CIS 597 May 8, 2009.
Top ways to deliver your Java code to the cloud
Integrating oVirt and Foreman to Empower your Data-Center
Lightweight inventory management with Pallet Jack
Daisy4nfv: An Installer Based upon Open Source Project – Daisy & Kolla
SharePoint 101 – An Overview of SharePoint 2010, 2013 and Office 365
ONAP on Vagrant for ONAPers
Let's talk about Linux and Virtualization in 'vLAMP'
Agenda:- DevOps Tools Chef Jenkins Puppet Apache Ant Apache Maven Logstash Docker New Relic Gradle Git.
ENOG13 Saint Petersburg Diego Luis Neto SW NL-ix.
UKNOF37 Manchester Diego Luis Neto SW NL-ix.
Stress Free Deployments with Octopus Deploy
Contract Lifecycle Management In the Disruptive Age
RHEV Platform at LHCb Red Hat at CERN 17-18/1/17
@ Bucharest DevOps Hacker Meetup
Web application hosting with Openshift, and Docker images
Modernize Your Operations
Web application hosting with Openshift, and Docker images
Accelerate your DevOps with OpenShift by Red Hat
DocFusion 365 Intelligent Template Designer and Document Generation Engine on Azure Enables Your Team to Increase Productivity MICROSOFT AZURE APP BUILDER.
Large Scale Parallel Print Service
The next-gen. list archiver
Infrastructure Orchestration to Optimize Testing
TPM 7.1 Installation Laurentiu Tecsa.
Docker Birthday #3.
oVirt Node Project Douglas Schilling Landgraf
StratusLab Final Periodic Review
Consulting Services JobScheduler Architecture Decision Template
IBM Tivoli Provisioning Manager 7.1 Initial Discovery and Inventory
StratusLab Final Periodic Review
Steering Group Member, Link Digital
Virtualization in the gLite Grid Middleware software process
OPNFV Arno Installation & Validation Walk-Through
20409A 7: Installing and Configuring System Center 2012 R2 Virtual Machine Manager Module 7 Installing and Configuring System Center 2012 R2 Virtual.
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Introduction to Ansible
Microsoft Virtual Academy
Module 01 ETICS Overview ETICS Online Tutorials
In this session… Introduce what we’re talking about
Technical Capabilities
Configuration Management at its peak with
Pulp 3 Ready For a Test Drive
OpenStack Summit Berlin – November 14, 2018
Web Servers (IIS and Apache)
Features Overview.
Robert Down & Pranay Sadarangani Nov 8th 2011
Presentation transcript:

Foreman in Your Data Center Lukáš Zapletal | @lzap Stephen Benjamin | @stbenjam Talk slower

Agenda Introduction Provisioning Configuration Monitoring Demo Customizing foreman Automating with CLI + API Hooks Plugins Discovery Docker Katello Chef/Salt Write your Own Introductory talk – first half basic introduction, second half – customizing to fit your own needs in your data center How many people use Foreman today? Puppet? Chef? Salt? Anyone using non-puppet in foreman? TALK SLOWER

Foreman's Realm Managing the Lifecycle of your Systems Talk slower

Foreman Talk slower

Provision new machines or containers to (almost) anything Bare metal, oVirt, libvirt, VMware, Docker, EC2, Rackspace, Digital Ocean, OpenStack, etc. If we don't support it today, we can via new plugins Talk slower

PXE - via PXELinux and kickstart, preseed, AutoYAST, etc Provisioning types: PXE - via PXELinux and kickstart, preseed, AutoYAST, etc Image-based - cloning, configured over SSH or user data (cloudinit) For virtualization provider, we create the VM For everything we orchestrate related services through Smart Proxies DNS - DHCP / TFTP FreeIPA Realm - Configuration Management Talk slower

Puppet Via plugins: Chef Salt Ansible Talk slower Automatic registration & setup of clients, including autosigning certs/keys Defining: Classes / states Parameters / pillars Inventory data: Facts / Grains results of configuration runs Talk slower

Generic API with graphs/trends: System Inventories Reports from runs Generic reports: ABRT, OpenSCAP Context sensitive search: Not full-text (SQL level) Keyword completion Works across whole application Talk slower

Distributed Architecture Smart Proxies located locally on Foreman itself or independent – (orchestration) Large organizations and/or multi-tenancy: Organizations (Divisions) Locations Strong RBAC model Users / Groups Permissions / Filters LDAP / MSAD integration Install a basic foreman – smart-proxy runs on the localhost with foreman

Talk slower

History Project started in July 2009 Initial set of features: Puppet + PXE provisioning 213 unique contributors (winter 2015) core team sponsored by Red Hat (GMT +10 -8) translated to 13 languages healthy and friendly community reported usage: Red Hat, CERN, EMC, Citrix, DHL, BBC, Digg, Good Data, Mozilla, eBay/Paypal (100,000 nodes) Install a basic foreman – smart-proxy runs on the localhost with foreman

Technology Foreman itself Ruby on Rails application targeted on UNIX platforms Smart Proxy Ruby / Sinatra application on all Ruby 1.8 platforms (incl. MS Windows) Install a basic foreman – smart-proxy runs on the localhost with foreman

Installation Repositories for RHEL/Fedora, Debian/Ubuntu Puppet-based installer Sane defaults for POC deployments Able to install, configure and manage: Foreman app Smart-proxies Services: DNS, DHCP, TFTP, Puppet Selected plugins # foreman-installer -h | wc -l 439 Install a basic foreman – smart-proxy runs on the localhost with foreman

Demo: Foreman Basics Talk slower

Customization Customize Foreman to support your workflows! Configuration options in UI: Adminster → Settings Smart proxy configuration values (features) Automation with API + CLI Foreman Hooks Foreman Plugins Talk slower

API & CLI Full UI coverage All of our API is documented Documentation DSL generates dynamic Ruby bindings Full RESTful API Docs at /apidoc on your Foreman server Also available at http://www.theforeman.org/api/1.9/index.html Talk slower

Hammer CLI On par with UI username/password authentication Easy to use, great for working in shell hammer salt-key list --smart- proxy=smartproxy.example.com Talk slower

Plugins Rich ecosystem of existing plugins Talk slower More Info: http://projects.theforeman.org/projects/foreman/wiki/List_of_Plugins

Discovery plugin Unknown host boots via DHCP/PXE Becomes available in Foreman as a “Discovered Host” Workflow remains the same Discovery image is RHEL7/CentOS7-based Provision with as few as NO clicks Automatic provisioning via rules on arbitrary facts: cpu_count < 8 → web server host group cpu_count >= 8 → db box host group Talk slower

Discovery plugin Metal as a Service – PXE installation Talk slower

Discovery plugin PXE-less (un)attended workflow (supports EFI) Talk slower

Bootdisk plugin Small hybrid ISO downloaded from Host UI page Unknown or pre-registred hosts boot chainloads from Foreman without PXE/TFTP Generic image iPXE-based, DHCP required Host image iPXE-based, DHCP not required Full host image SYSLINUX-based, DHCP required, OS specific Talk slower

Docker plugin Manage many docker hosts Deploy new containers easily & view their status, logs, etc Multiple registry support & integration with Katello https://github.com/theforeman/foreman-docker Talk slower

Katello plugin Content Lifecycle Management http://www.katello.org/ Sync RPM, Docker, and Puppet content Spin repositories with filters using Content Views Talk slower

Katello plugin Dev → QA → Production (Environments) Patch Management Manage through a lifecycle Dev → QA → Production (Environments) Patch Management Emergency Patches Errata Reports And much more! Talk slower

Hooks plugin Hooks Triggered on actions: on action, do X host create/update/delete, build complete, etc. X could be anything add to nagios send an email Can be shell, python, ruby, etc. More info: https://github.com/theforeman/foreman_hooks Talk slower

Salt plugin Bootstrapping nodes Full interface to keys/autosign Define states, pillars via ext_node and ext_pillar Import reports (state.highstate results) and grains into Foreman API & CLI Talk slower

Chef plugin Automatic bootstrapping of clients Import reports and attributes into Foreman Decomission nodes from Chef server when deleted in Foreman Talk slower

Writing Foreman Plugins Rails Engine Extra Foreman API (plugin registration) Distributed as a Ruby GEM Template and HOWTO available Smart Proxy: Sinatra app (REST API) Small plugin registration API Talk slower.

What Next? Visit us http://theforeman.org/ If you do something cool with Foreman, let us know! Find us: IRC: irc.freenode.net #theforeman #theforeman-dev Mailing Lists on Google groups foreman-users foreman-dev Let us know!

Demo: Foreman Plugins Talk slower