20
Configuration Management at its peak with Foreman Rahul Bajaj @rabajaj_

its peak with Foreman Configuration Management at€¦ · Rahul Bajaj @rabajaj_ About me: Associate Software Engineer @ Red Hat Upstream Contributor Follow me: Twitter: @rabajaj_

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: its peak with Foreman Configuration Management at€¦ · Rahul Bajaj @rabajaj_ About me: Associate Software Engineer @ Red Hat Upstream Contributor Follow me: Twitter: @rabajaj_

Configuration Management at its peak with Foreman

Rahul Bajaj@rabajaj_

Page 2: its peak with Foreman Configuration Management at€¦ · Rahul Bajaj @rabajaj_ About me: Associate Software Engineer @ Red Hat Upstream Contributor Follow me: Twitter: @rabajaj_

About me:

Associate Software Engineer @ Red HatUpstream Contributor

Follow me:Twitter: @rabajaj_Github: rahulbajaj0509

Page 3: its peak with Foreman Configuration Management at€¦ · Rahul Bajaj @rabajaj_ About me: Associate Software Engineer @ Red Hat Upstream Contributor Follow me: Twitter: @rabajaj_

Agenda

1. Configuration Managementa. What is the need?b. Forms of configuration management.c. Puppet.

2. Foremana. What is Foreman?b. How does it add up to the picture?c. Key features and architecture of foreman.

Page 4: its peak with Foreman Configuration Management at€¦ · Rahul Bajaj @rabajaj_ About me: Associate Software Engineer @ Red Hat Upstream Contributor Follow me: Twitter: @rabajaj_

● Configuring large infrastructure.

● Updates and Roll-backs.

● Applications working in development environment but not in production.

Configuration Management

Page 5: its peak with Foreman Configuration Management at€¦ · Rahul Bajaj @rabajaj_ About me: Associate Software Engineer @ Red Hat Upstream Contributor Follow me: Twitter: @rabajaj_

Configuration Management

Slide credit: edureka.

Page 6: its peak with Foreman Configuration Management at€¦ · Rahul Bajaj @rabajaj_ About me: Associate Software Engineer @ Red Hat Upstream Contributor Follow me: Twitter: @rabajaj_

Puppet in theory is two things:

1. A Language2. An Engine

Configuration Management with Puppet.

Page 7: its peak with Foreman Configuration Management at€¦ · Rahul Bajaj @rabajaj_ About me: Associate Software Engineer @ Red Hat Upstream Contributor Follow me: Twitter: @rabajaj_

Configuration Management with Puppet

Page 8: its peak with Foreman Configuration Management at€¦ · Rahul Bajaj @rabajaj_ About me: Associate Software Engineer @ Red Hat Upstream Contributor Follow me: Twitter: @rabajaj_

Let us see the larger picture in your infrastructure!

Page 9: its peak with Foreman Configuration Management at€¦ · Rahul Bajaj @rabajaj_ About me: Associate Software Engineer @ Red Hat Upstream Contributor Follow me: Twitter: @rabajaj_

ForemanManaging the Lifecycle of your Systems

Page 10: its peak with Foreman Configuration Management at€¦ · Rahul Bajaj @rabajaj_ About me: Associate Software Engineer @ Red Hat Upstream Contributor Follow me: Twitter: @rabajaj_

● Bare-metal● Virtualization● Cloud● Containers

Page 11: its peak with Foreman Configuration Management at€¦ · Rahul Bajaj @rabajaj_ About me: Associate Software Engineer @ Red Hat Upstream Contributor Follow me: Twitter: @rabajaj_

● Provisioning types:− PXE: via PXELinux and kickstart, preseed, etc− Image-based: cloning, configured over SSH, etc

● For virtualization provider, we create the VM

● For everything we orchestrate related services through Smart Proxies− DNS - DHCP / TFTP− FreeIPA Realm - Configuration Management

Page 12: its peak with Foreman Configuration Management at€¦ · Rahul Bajaj @rabajaj_ About me: Associate Software Engineer @ Red Hat Upstream Contributor Follow me: Twitter: @rabajaj_

● Puppet● Via plugins:− Chef− Salt− Ansible

● Automatic registration & setup of clients, including autosigning certs/keys

● Defining:● Classes / states● Parameters / pillars

● Inventory data:

● Facts / Grains● results of configuration runs

Page 13: its peak with Foreman Configuration Management at€¦ · Rahul Bajaj @rabajaj_ About me: Associate Software Engineer @ Red Hat Upstream Contributor Follow me: Twitter: @rabajaj_

● Generic Report 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

Page 14: its peak with Foreman Configuration Management at€¦ · Rahul Bajaj @rabajaj_ About me: Associate Software Engineer @ Red Hat Upstream Contributor Follow me: Twitter: @rabajaj_

● 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 / MS-AD integration

Distributed Architecture

Page 15: its peak with Foreman Configuration Management at€¦ · Rahul Bajaj @rabajaj_ About me: Associate Software Engineer @ Red Hat Upstream Contributor Follow me: Twitter: @rabajaj_
Page 16: its peak with Foreman Configuration Management at€¦ · Rahul Bajaj @rabajaj_ About me: Associate Software Engineer @ Red Hat Upstream Contributor Follow me: Twitter: @rabajaj_

Customization

Page 17: its peak with Foreman Configuration Management at€¦ · Rahul Bajaj @rabajaj_ About me: Associate Software Engineer @ Red Hat Upstream Contributor Follow me: Twitter: @rabajaj_

Customization

● Multiple provisioning workflows● Enable or disable authorization and

authentication● Global configuration options● Smart proxy configuration values (features)● Automation with API + CLI● Foreman Plugins● Smart Proxy Plugins● Foreman Hooks Plugin

Page 18: its peak with Foreman Configuration Management at€¦ · Rahul Bajaj @rabajaj_ About me: Associate Software Engineer @ Red Hat Upstream Contributor Follow me: Twitter: @rabajaj_

API & CLI

● Full UI coverage● All of our API is documented● Docs DSL w/ 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●

Page 19: its peak with Foreman Configuration Management at€¦ · Rahul Bajaj @rabajaj_ About me: Associate Software Engineer @ Red Hat Upstream Contributor Follow me: Twitter: @rabajaj_

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

− Reach out to us at● https://community.theforeman.org/

Page 20: its peak with Foreman Configuration Management at€¦ · Rahul Bajaj @rabajaj_ About me: Associate Software Engineer @ Red Hat Upstream Contributor Follow me: Twitter: @rabajaj_

THANK YOU!

Rahul Bajaj@rabajaj_