SlideShare ist ein Scribd-Unternehmen logo
1 von 45
Downloaden Sie, um offline zu lesen
Aufbau und Einsatz von Marionette Collective
Management großer Systemumgebungen mit dem
Server Orchestration Framework




Andreas Schmidt | andreas.schmidt@cassini.de | @aschmidt75




© 2012 Cassini Consulting GmbH
$ whoami
    $ whois cassini.de



                           Cassini Consulting
                     110 Mitarbeiter an 5 Standorten
                          Systems Management
                               IT-Security
                    System- und Netzwerkarchitektur
              Konfigurations- und Deploymentmanagement
2         Aufbau und Einsatz von Marionette Collective | 26.04.2012
Foto @mrebbert




3
                                       DEV
    Aufbau und Einsatz von Marionette Collective | 26.04.2012
Foto @mrebbert




4
                                       DEV OPS
    Aufbau und Einsatz von Marionette Collective | 26.04.2012
Foto @mrebbert




Infrastructure
Development
Herausforderungen bei wachsenden Umgebungen
    Was ist Marionette Collective?
    Was kann man damit machen?
    Wobei hilft es mir?



6          Aufbau und Einsatz von Marionette Collective | 26.04.2012
1 Jahr nach Go-Live
                                        Test-/Produktions-      200 Hosts
                                            umgebung
                                             20 Hosts
    Entwicklungs-
    umgebung
    5 Hosts



7      Aufbau und Einsatz von Marionette Collective | 26.04.2012
Was gibt es zu tun?


                      Konfigurationsmanagement
                 Automatisierung / Server Orchestration
                        Full Stack-Konfiguration
               Komplexität der Verbindungen untereinander


8          Aufbau und Einsatz von Marionette Collective | 26.04.2012
Komplexität vs. Umgebungsgröße
     viele
     >50

                                  Komplexe
        Anzahl Komponenten




                                Konfigurationen
                                                                                             Komplexe Umgebung
                                 auf wenigen
                                     Hosts




                                                                                            Einfache Konfigurationen,
                                      „One-Off“
                                                                                              aber auf vielen Hosts
    wenige

                             wenige                                                                                     viele
                                                                         Anzahl zu verwaltender Hosts
                                                                                                                        >100


9                               Aufbau und Einsatz von Marionette Collective | 26.04.2012
„   ssh in a for loop is not a solution
                            - Luke Kanies
                                                                      “
10        Aufbau und Einsatz von Marionette Collective | 26.04.2012
Infrastructure as code




11   Aufbau und Einsatz von Marionette Collective | 26.04.2012
Adressierung durch Hostnamen
     ssh root@ec2-23-38-244-132.compute-1.amazonaws.com

     $ hostname
     domU-12-31-39-0A-A1-AA




     Wo liegen die Metadaten?




12          Aufbau und Einsatz von Marionette Collective | 26.04.2012
Metadaten an
     Zentrale vs. verteilte Metadaten                                       zentraler Stelle
                                                                               (Bsp: LDAP)




       Metadaten
         verteilt:
           facter,
             ohai




13              Aufbau und Einsatz von Marionette Collective | 26.04.2012
Marionette Collective im Überblick




14           Aufbau und Einsatz von Marionette Collective | 26.04.2012
Marionette Collective im Überblick




15           Aufbau und Einsatz von Marionette Collective | 26.04.2012
Marionette Collective im Überblick




16           Aufbau und Einsatz von Marionette Collective | 26.04.2012
Marionette Collective im Überblick




17           Aufbau und Einsatz von Marionette Collective | 26.04.2012
Architektur | Was kann das?                                          Ich


                                Daten-
                           drehscheibe




      Meine
      Hosts



19            Aufbau und Einsatz von Marionette Collective | 26.04.2012
Architektur | Wie heißt das alles?                                   Client


                            Messaging
                            Middleware




      Nodes




20            Aufbau und Einsatz von Marionette Collective | 26.04.2012
Architektur | Wo läuft was?                                                    Ruby 1.8.7+
                                                                               mcollective client
                                                                                          stomp
                     ActiveMQ | RabbitMQ




     Ruby 1.8.7+
     mcollective
     stomp



21                 Aufbau und Einsatz von Marionette Collective | 26.04.2012
Architektur | Wie heißt das alles?


          Collective




22            Aufbau und Einsatz von Marionette Collective | 26.04.2012
Architektur | Wie heißt das alles?


            Collective




     Subcollective



23              Aufbau und Einsatz von Marionette Collective | 26.04.2012
facter: Adressierung durch Facts
            operatingsystem=centos


            ipaddress=~^10.1.30




24           Aufbau und Einsatz von Marionette Collective | 26.04.2012
Ablauf                                                               Client sendet Request
                                                                          an Middleware Topic

                                                                    2
                     Alle Hosts lesen                                                                     1
                     Request
                     von Topic                                                   5

                                       3                                                 Client liest         6
                                                                                         Ergebnisse aus
                                                                               Ergebnisse


                                                                                             4    Host mit
                                                                                                  passenden
                                                                                                  Facts
                                                                                                  führen Agent
                                                                                                  aus



25            Aufbau und Einsatz von Marionette Collective | 26.04.2012
26   Aufbau und Einsatz von Marionette Collective | 26.04.2012
DEMO

27   Aufbau und Einsatz von Marionette Collective | 26.04.2012
Backup // DEMO




28         Aufbau und Einsatz von Marionette Collective | 26.04.2012
Backup // DEMO




29         Aufbau und Einsatz von Marionette Collective | 26.04.2012
Backup // DEMO




30         Aufbau und Einsatz von Marionette Collective | 26.04.2012
Backup // DEMO




31         Aufbau und Einsatz von Marionette Collective | 26.04.2012
Backup // DEMO




32         Aufbau und Einsatz von Marionette Collective | 26.04.2012
Backup // DEMO




33         Aufbau und Einsatz von Marionette Collective | 26.04.2012
Backup // DEMO




34         Aufbau und Einsatz von Marionette Collective | 26.04.2012
Backup // DEMO




35         Aufbau und Einsatz von Marionette Collective | 26.04.2012
Backup // DEMO




36         Aufbau und Einsatz von Marionette Collective | 26.04.2012
Backup // DEMO




37         Aufbau und Einsatz von Marionette Collective | 26.04.2012
Backup // DEMO




38         Aufbau und Einsatz von Marionette Collective | 26.04.2012
Backup // DEMO




39         Aufbau und Einsatz von Marionette Collective | 26.04.2012
Backup // DEMO // EC2




40          Aufbau und Einsatz von Marionette Collective | 26.04.2012
41   Aufbau und Einsatz von Marionette Collective | 26.04.2012
Infrastructure as code

     Systems Management / Web Ops
          Betriebssoftware bauen
42     Aufbau und Einsatz von Marionette Collective | 26.04.2012
Qualität erhöhen

       Wiederverwendbarkeit,
     Dokumentation, Testbarkeit
43   Aufbau und Einsatz von Marionette Collective | 26.04.2012
„Give me an API or
        give me death“

                   GUIs & Dashboards
44   Aufbau und Einsatz von Marionette Collective | 26.04.2012
Parallelität
                        Geschwindigkeit
                         Skalierbarkeit

45   Aufbau und Einsatz von Marionette Collective | 26.04.2012
Q& A
Cassini Consulting
Niederlassung Düsseldorf

Andreas Schmidt

Halskestr. 46
40880 Ratingen
Deutschland

T +49 (0)151 11 44 38 08
F +49 (0)21 02 94 34 738
andreas.schmidt@cassini.de
twitter @aschmidt75

visit www.cassini.de



46

Weitere ähnliche Inhalte

Empfohlen

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Empfohlen (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

OSDC 2012: Aufbau und Einsatz von Marionette Collective

  • 1. Aufbau und Einsatz von Marionette Collective Management großer Systemumgebungen mit dem Server Orchestration Framework Andreas Schmidt | andreas.schmidt@cassini.de | @aschmidt75 © 2012 Cassini Consulting GmbH
  • 2. $ whoami $ whois cassini.de Cassini Consulting 110 Mitarbeiter an 5 Standorten Systems Management IT-Security System- und Netzwerkarchitektur Konfigurations- und Deploymentmanagement 2 Aufbau und Einsatz von Marionette Collective | 26.04.2012
  • 3. Foto @mrebbert 3 DEV Aufbau und Einsatz von Marionette Collective | 26.04.2012
  • 4. Foto @mrebbert 4 DEV OPS Aufbau und Einsatz von Marionette Collective | 26.04.2012
  • 6. Herausforderungen bei wachsenden Umgebungen Was ist Marionette Collective? Was kann man damit machen? Wobei hilft es mir? 6 Aufbau und Einsatz von Marionette Collective | 26.04.2012
  • 7. 1 Jahr nach Go-Live Test-/Produktions- 200 Hosts umgebung 20 Hosts Entwicklungs- umgebung 5 Hosts 7 Aufbau und Einsatz von Marionette Collective | 26.04.2012
  • 8. Was gibt es zu tun? Konfigurationsmanagement Automatisierung / Server Orchestration Full Stack-Konfiguration Komplexität der Verbindungen untereinander 8 Aufbau und Einsatz von Marionette Collective | 26.04.2012
  • 9. Komplexität vs. Umgebungsgröße viele >50 Komplexe Anzahl Komponenten Konfigurationen Komplexe Umgebung auf wenigen Hosts Einfache Konfigurationen, „One-Off“ aber auf vielen Hosts wenige wenige viele Anzahl zu verwaltender Hosts >100 9 Aufbau und Einsatz von Marionette Collective | 26.04.2012
  • 10. ssh in a for loop is not a solution - Luke Kanies “ 10 Aufbau und Einsatz von Marionette Collective | 26.04.2012
  • 11. Infrastructure as code 11 Aufbau und Einsatz von Marionette Collective | 26.04.2012
  • 12. Adressierung durch Hostnamen ssh root@ec2-23-38-244-132.compute-1.amazonaws.com $ hostname domU-12-31-39-0A-A1-AA Wo liegen die Metadaten? 12 Aufbau und Einsatz von Marionette Collective | 26.04.2012
  • 13. Metadaten an Zentrale vs. verteilte Metadaten zentraler Stelle (Bsp: LDAP) Metadaten verteilt: facter, ohai 13 Aufbau und Einsatz von Marionette Collective | 26.04.2012
  • 14. Marionette Collective im Überblick 14 Aufbau und Einsatz von Marionette Collective | 26.04.2012
  • 15. Marionette Collective im Überblick 15 Aufbau und Einsatz von Marionette Collective | 26.04.2012
  • 16. Marionette Collective im Überblick 16 Aufbau und Einsatz von Marionette Collective | 26.04.2012
  • 17. Marionette Collective im Überblick 17 Aufbau und Einsatz von Marionette Collective | 26.04.2012
  • 18. Architektur | Was kann das? Ich Daten- drehscheibe Meine Hosts 19 Aufbau und Einsatz von Marionette Collective | 26.04.2012
  • 19. Architektur | Wie heißt das alles? Client Messaging Middleware Nodes 20 Aufbau und Einsatz von Marionette Collective | 26.04.2012
  • 20. Architektur | Wo läuft was? Ruby 1.8.7+ mcollective client stomp ActiveMQ | RabbitMQ Ruby 1.8.7+ mcollective stomp 21 Aufbau und Einsatz von Marionette Collective | 26.04.2012
  • 21. Architektur | Wie heißt das alles? Collective 22 Aufbau und Einsatz von Marionette Collective | 26.04.2012
  • 22. Architektur | Wie heißt das alles? Collective Subcollective 23 Aufbau und Einsatz von Marionette Collective | 26.04.2012
  • 23. facter: Adressierung durch Facts operatingsystem=centos ipaddress=~^10.1.30 24 Aufbau und Einsatz von Marionette Collective | 26.04.2012
  • 24. Ablauf Client sendet Request an Middleware Topic 2 Alle Hosts lesen 1 Request von Topic 5 3 Client liest 6 Ergebnisse aus Ergebnisse 4 Host mit passenden Facts führen Agent aus 25 Aufbau und Einsatz von Marionette Collective | 26.04.2012
  • 25. 26 Aufbau und Einsatz von Marionette Collective | 26.04.2012
  • 26. DEMO 27 Aufbau und Einsatz von Marionette Collective | 26.04.2012
  • 27. Backup // DEMO 28 Aufbau und Einsatz von Marionette Collective | 26.04.2012
  • 28. Backup // DEMO 29 Aufbau und Einsatz von Marionette Collective | 26.04.2012
  • 29. Backup // DEMO 30 Aufbau und Einsatz von Marionette Collective | 26.04.2012
  • 30. Backup // DEMO 31 Aufbau und Einsatz von Marionette Collective | 26.04.2012
  • 31. Backup // DEMO 32 Aufbau und Einsatz von Marionette Collective | 26.04.2012
  • 32. Backup // DEMO 33 Aufbau und Einsatz von Marionette Collective | 26.04.2012
  • 33. Backup // DEMO 34 Aufbau und Einsatz von Marionette Collective | 26.04.2012
  • 34. Backup // DEMO 35 Aufbau und Einsatz von Marionette Collective | 26.04.2012
  • 35. Backup // DEMO 36 Aufbau und Einsatz von Marionette Collective | 26.04.2012
  • 36. Backup // DEMO 37 Aufbau und Einsatz von Marionette Collective | 26.04.2012
  • 37. Backup // DEMO 38 Aufbau und Einsatz von Marionette Collective | 26.04.2012
  • 38. Backup // DEMO 39 Aufbau und Einsatz von Marionette Collective | 26.04.2012
  • 39. Backup // DEMO // EC2 40 Aufbau und Einsatz von Marionette Collective | 26.04.2012
  • 40. 41 Aufbau und Einsatz von Marionette Collective | 26.04.2012
  • 41. Infrastructure as code Systems Management / Web Ops Betriebssoftware bauen 42 Aufbau und Einsatz von Marionette Collective | 26.04.2012
  • 42. Qualität erhöhen Wiederverwendbarkeit, Dokumentation, Testbarkeit 43 Aufbau und Einsatz von Marionette Collective | 26.04.2012
  • 43. „Give me an API or give me death“ GUIs & Dashboards 44 Aufbau und Einsatz von Marionette Collective | 26.04.2012
  • 44. Parallelität Geschwindigkeit Skalierbarkeit 45 Aufbau und Einsatz von Marionette Collective | 26.04.2012
  • 45. Q& A Cassini Consulting Niederlassung Düsseldorf Andreas Schmidt Halskestr. 46 40880 Ratingen Deutschland T +49 (0)151 11 44 38 08 F +49 (0)21 02 94 34 738 andreas.schmidt@cassini.de twitter @aschmidt75 visit www.cassini.de 46