Mgmt Config: Merging Config Management and Monitoring (in - - PowerPoint PPT Presentation

mgmt config merging config management and monitoring in
SMART_READER_LITE
LIVE PREVIEW

Mgmt Config: Merging Config Management and Monitoring (in - - PowerPoint PPT Presentation

Mgmt Config: Merging Config Management and Monitoring (in real-time) James Shubin, a.k.a. @ purpleidea Config Mgmt. Architect, m9rx (self-funded) FOSDEM, Brussels, Belgium, 03/Feb/2019 1 JAMES SHUBIN Why are these separate? 2 JAMES SHUBIN


slide-1
SLIDE 1 1 JAMES SHUBIN

Mgmt Config: Merging Config Management and Monitoring (in real-time)

James Shubin, a.k.a. @purpleidea Config Mgmt. Architect, m9rx (self-funded) FOSDEM, Brussels, Belgium, 03/Feb/2019

slide-2
SLIDE 2 2 JAMES SHUBIN

Why are these separate?

slide-3
SLIDE 3 3 JAMES SHUBIN
slide-4
SLIDE 4 4 JAMES SHUBIN
slide-5
SLIDE 5 5 JAMES SHUBIN

Who am I ?

  • Hacker
  • Config Mgmt. Engineer
  • Technical Blogger: The Technical Blog of James

https://purpleidea.com/blog/

  • Physiologist (Cardiology Specialization)
  • DevOps believer
slide-6
SLIDE 6 6 JAMES SHUBIN
slide-7
SLIDE 7 7 JAMES SHUBIN

Two Demos

slide-8
SLIDE 8 8 JAMES SHUBIN

1) Reactive Resources

slide-9
SLIDE 9 9 JAMES SHUBIN

What is this?

slide-10
SLIDE 10 10 JAMES SHUBIN

MONITORING

slide-11
SLIDE 11 11 JAMES SHUBIN

2) Reactive Language

slide-12
SLIDE 12 12 JAMES SHUBIN

Reactive: demo

$y1 = datetime() + $ayear # note the order of the assignment (year can come later in the code) $ayear = 60 * 60 * 24 * 365 # is a year in seconds (31536000) $tmpl = struct{year => $y1, load => $load, vu => $vu, } $load = load() $vu = vumeter("======", 10, 0.9) # symbol, multiplier, peak $f = "Now + 1 year is: {{ .year }} seconds, aka: {{ .year }}\n\n load average: {{ .load }}\n\n vu: {{ .vu }}\n” file "/tmp/mgmt/datetime" { content => template($f, $tmpl), }
slide-13
SLIDE 13 13 JAMES SHUBIN

Future work

slide-14
SLIDE 14 14 JAMES SHUBIN

Future work

Code as you go (non-blockers)

  • Additional functions in the stdlib
  • Additional resources (especially “cloud” stuff)

New Features

  • Large file transfers (eg: *.iso, etc...)
  • Automatic “secrets” (no need for “vault”, etc...)

Bugs

  • Etcd backend re-write (½ done)
  • Engine core re-write (hopefully a small patch)
slide-15
SLIDE 15 15 JAMES SHUBIN

How can you help?

slide-16
SLIDE 16 16 JAMES SHUBIN

How can you help?

  • Use it
  • Test it
  • Patch it
  • Share it
  • Document it
  • Star it
  • Blog it
  • Tweet it
  • Discuss it
  • Hack it
slide-17
SLIDE 17 17 JAMES SHUBIN

hack it

slide-18
SLIDE 18 18 JAMES SHUBIN
slide-19
SLIDE 19 19 JAMES SHUBIN

mgmt needs funding

slide-20
SLIDE 20 20 JAMES SHUBIN

Patreon.com/purpleidea

Funding a hacker is sexy!

slide-21
SLIDE 21 21 JAMES SHUBIN

Let's recap...

slide-22
SLIDE 22 22 JAMES SHUBIN
slide-23
SLIDE 23 23 JAMES SHUBIN

IRC: #mgmtconfig on Freenode Twitter: @mgmtconfig & #mgmtconfig Mailing list: mgmtconfig-list@redhat.com

slide-24
SLIDE 24 24 JAMES SHUBIN

Learn more

  • The Technical Blog of James:

https://purpleidea.com/blog/

  • Mgmt:

https://github.com/purpleidea/mgmt/

  • Engine: https://youtube.com/watch?v=LkEtBVLfygE

Lang: https://youtube.com/watch?v=_9PG64AOQ3w

  • Technical articles and screencasts about this:

https://purpleidea.com/tags/mgmtconfig/

  • Contact me if you have any other questions:

purpleidea @ { irc, twitter, github, gmail }

slide-25
SLIDE 25 25 JAMES SHUBIN

Learn more: Stuff that you missed from FOSDEM!

slide-26
SLIDE 26 26 JAMES SHUBIN

Learn more: Stuff that you missed from FOSDEM!

– SATURDAY

  • 10:30 – A small, FRP DSL for distributed systems
  • 13:30 – Mgmt Config: The Road to 0.1
  • 15:25 – Mgmt Config: A tale of three graphs
  • 16:30 – Real-time virtualization automation

– SUNDAY

  • 12:15 – Container automation and scheduling
slide-27
SLIDE 27 27 JAMES SHUBIN

Learn more: More stuff on 04/Feb in Gent

See more of purpleidea and Felix Frank!

slide-28
SLIDE 28 28 JAMES SHUBIN

Learn more: Hackathon in Gent (Feb 6th)

  • 10:00 – Welcome: General questions / Discussion
  • 10:30 – Quick Start: Building and running from source
  • 11:30 – Function/Resource API: Writing a custom

function or resource

  • 13:30 – Modules: Writing a new module
  • 14:30 – Open hacking and other topics
slide-29
SLIDE 29 29 JAMES SHUBIN

Feedback: If you really liked this talk, please take 5 seconds and go up to the organizers and tell them so!

slide-30
SLIDE 30 30 JAMES SHUBIN

Free Stickers! If you promise to stick them on your laptops, and show off to your friends!

slide-31
SLIDE 31 31 JAMES SHUBIN
slide-32
SLIDE 32 32 JAMES SHUBIN

Thank you & Happy Hacking !

slide-33
SLIDE 33 33 JAMES SHUBIN

Q & A ?