SlideShare a Scribd company logo
1 of 29
The Marionette Collective


    Middleware Concepts
            and
       Message Flow


  http://marionette-collective.org
The Marionette Collective




Connectivity
Traditional Multi-Threaded
Delegate comms to Middleware
Delegate comms to Middleware
Delegate comms to Middleware
Delegate comms to Middleware
The Marionette Collective




Types of Message
Types of Message - Queued
Types of Message - Queued
Types of Message - Broadcast
The Marionette Collective



  Components
      and
  Terminology
Nodes

Physical
servers
 being
managed




           mcollective-0.4.7.noarch.rpm
                       mcollective-common-0.4.7.noarch.rpm
Server

mcollectived

 The ruby
  based
 daemon
 on every
  node
               mcollective-0.4.7.noarch.rpm
                           mcollective-common-0.4.7.noarch.rpm
Agent

    service.rb

Small ruby classes
   that manage
services, packages,
       etc.

  Hosted by the
                      mcollective-0.4.7.noarch.rpm
     server
                                  mcollective-common-0.4.7.noarch.rpm
Client

Include MCollective::RPC


Any component
   that sends
  requests to
     servers.

                           mcollective-client-0.4.7.noarch.rpm
                                          mcollective-common-0.4.7.noarch.rpm
Collective

 Combination of
  nodes, servers,
agents, middleware
    and clients
Connectivity Plugin

Communication
     between
all components.

Many possible.

rubygem stomp
The Marionette Collective




 Anatomy of a
 RPC request
The Marionette Collective



* Discover with filter
* Send request with filter
* Wait for responses matching discovery


      mc-service -W country=za httpd status
Request - Discovery - Request ID

{:msgtime=>1280270404,
 :requestid=>"a48b4f84d66ff0c30c621d544750a081",
 :msgtarget=>"/topic/mcollective.discovery.command",
 :callerid=>"cert=rip",
 :filter=>
  {"identity"=>[],
   "fact"=>[{:fact=>"country", :value=>"za"}],
   "agent"=>[“service”],
   "cf_class"=>[]},
 :senderid=>"nephilim.ml.org",
 :body=>"ping",
 :hash=> "xxxxx"}



         mc-service -W country=za httpd status
Request - Discovery - Target

{:msgtime=>1280270404,
 :requestid=>"a48b4f84d66ff0c30c621d544750a081",
 :msgtarget=>"/topic/mcollective.discovery.command",
 :callerid=>"cert=rip",
 :filter=>
  {"identity"=>[],
   "fact"=>[{:fact=>"country", :value=>"za"}],
   "agent"=>[“service”],
   "cf_class"=>[]},
 :senderid=>"nephilim.ml.org",
 :body=>"ping",
 :hash=> "xxxxx"}



         mc-service -W country=za httpd status
Request - Discovery - Filter

{:msgtime=>1280270404,
 :requestid=>"a48b4f84d66ff0c30c621d544750a081",
 :msgtarget=>"/topic/mcollective.discovery.command",
 :callerid=>"cert=rip",
 :filter=>
  {"identity"=>[],
   "fact"=>[{:fact=>"country", :value=>"za"}],
   "agent"=>[“service”],
   "cf_class"=>[]},
 :senderid=>"nephilim.ml.org",
 :body=>"ping",
 :hash=> "xxxxx"}



         mc-service -W country=za httpd status
Request - Discovery - Body

{:msgtime=>1280270404,
 :requestid=>"a48b4f84d66ff0c30c621d544750a081",
 :msgtarget=>"/topic/mcollective.discovery.command",
 :callerid=>"cert=rip",
 :filter=>
  {"identity"=>[],
   "fact"=>[{:fact=>"country", :value=>"za"}],
   "agent"=>[“service”],
   "cf_class"=>[]},
 :senderid=>"nephilim.ml.org",
 :body=>"ping",
 :hash=> "xxxxx"}



         mc-service -W country=za httpd status
Request - Discovery - Reply

{:msgtime=>1280270802,
 :requestid=>"a48b4f84d66ff0c30c621d544750a081",
 :senderagent=>"discovery",
 :body=>"pong",
 :senderid=>"my.machine.co.za",
 :msgtarget=>"/topic/mcollective.discovery.reply",
 :hash=> "xxx"}




         mc-service -W country=za httpd status
Request - RPC Request - Filter
{:msgtime=>1280271069,
 :filter=>
  {"identity"=>[],
   "fact"=>[{:value=>"za", :fact=>"country"}],
   "agent"=>["service"],
   "cf_class"=>[]},
 :requestid=>"3b57f528746828c9f77d2d1956b94eb9",
 :msgtarget=>"/topic/mcollective.service.command",
 :callerid=>"cert=rip",
  :body=>
  {:agent => “service"
   :action => “status”,
   :service => “httpd”},
 :senderid=>"nephilim.ml.org",
 :hash=> "xxxx"}

         mc-service -W country=za httpd status
Request - RPC Request - Target
{:msgtime=>1280271069,
 :filter=>
  {"identity"=>[],
   "fact"=>[{:value=>"za", :fact=>"country"}],
   "agent"=>["service"],
   "cf_class"=>[]},
 :requestid=>"3b57f528746828c9f77d2d1956b94eb9",
 :msgtarget=>"/topic/mcollective.service.command",
 :callerid=>"cert=rip",
  :body=>
  {:agent => “service"
   :action => “status”,
   :service => “httpd”},
 :senderid=>"nephilim.ml.org",
 :hash=> "xxxx"}

         mc-service -W country=za httpd status
Request - RPC Request - RPC Body
{:msgtime=>1280271069,
 :filter=>
  {"identity"=>[],
   "fact"=>[{:value=>"za", :fact=>"country"}],
   "agent"=>["service"],
   "cf_class"=>[]},
 :requestid=>"3b57f528746828c9f77d2d1956b94eb9",
 :msgtarget=>"/topic/mcollective.service.command",
 :callerid=>"cert=rip",
 :body=>
  {:agent => “service"
   :action => “status”,
   :service => “httpd”},
 :senderid=>"nephilim.ml.org",
 :hash=> "xxxx"}

         mc-service -W country=za httpd status
Request - RPC Reply


{:msgtime=>1280272138,
 :requestid=>"3b57f528746828c9f77d2d1956b94eb9",
 :body=> {:statuscode => 0,
           :statusmsg => “OK”,
           :data{:status => “running"}}
 :senderagent=>"service",
 :senderid=>"my.machine.co.za",
 :hash=> "xxxxx",
 :msgtarget=>"/topic/mcollective.service.reply"}




        mc-service -W country=za httpd status

More Related Content

Recently uploaded

What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 

Recently uploaded (20)

What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 

Featured

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
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationErica Santiago
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellSaba Software
 

Featured (20)

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...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
 

Architecture, Flow and Terminology

  • 1. The Marionette Collective Middleware Concepts and Message Flow http://marionette-collective.org
  • 4. Delegate comms to Middleware
  • 5. Delegate comms to Middleware
  • 6. Delegate comms to Middleware
  • 7. Delegate comms to Middleware
  • 9. Types of Message - Queued
  • 10. Types of Message - Queued
  • 11. Types of Message - Broadcast
  • 12. The Marionette Collective Components and Terminology
  • 13. Nodes Physical servers being managed mcollective-0.4.7.noarch.rpm mcollective-common-0.4.7.noarch.rpm
  • 14. Server mcollectived The ruby based daemon on every node mcollective-0.4.7.noarch.rpm mcollective-common-0.4.7.noarch.rpm
  • 15. Agent service.rb Small ruby classes that manage services, packages, etc. Hosted by the mcollective-0.4.7.noarch.rpm server mcollective-common-0.4.7.noarch.rpm
  • 16. Client Include MCollective::RPC Any component that sends requests to servers. mcollective-client-0.4.7.noarch.rpm mcollective-common-0.4.7.noarch.rpm
  • 17. Collective Combination of nodes, servers, agents, middleware and clients
  • 18. Connectivity Plugin Communication between all components. Many possible. rubygem stomp
  • 19. The Marionette Collective Anatomy of a RPC request
  • 20. The Marionette Collective * Discover with filter * Send request with filter * Wait for responses matching discovery mc-service -W country=za httpd status
  • 21. Request - Discovery - Request ID {:msgtime=>1280270404, :requestid=>"a48b4f84d66ff0c30c621d544750a081", :msgtarget=>"/topic/mcollective.discovery.command", :callerid=>"cert=rip", :filter=> {"identity"=>[], "fact"=>[{:fact=>"country", :value=>"za"}], "agent"=>[“service”], "cf_class"=>[]}, :senderid=>"nephilim.ml.org", :body=>"ping", :hash=> "xxxxx"} mc-service -W country=za httpd status
  • 22. Request - Discovery - Target {:msgtime=>1280270404, :requestid=>"a48b4f84d66ff0c30c621d544750a081", :msgtarget=>"/topic/mcollective.discovery.command", :callerid=>"cert=rip", :filter=> {"identity"=>[], "fact"=>[{:fact=>"country", :value=>"za"}], "agent"=>[“service”], "cf_class"=>[]}, :senderid=>"nephilim.ml.org", :body=>"ping", :hash=> "xxxxx"} mc-service -W country=za httpd status
  • 23. Request - Discovery - Filter {:msgtime=>1280270404, :requestid=>"a48b4f84d66ff0c30c621d544750a081", :msgtarget=>"/topic/mcollective.discovery.command", :callerid=>"cert=rip", :filter=> {"identity"=>[], "fact"=>[{:fact=>"country", :value=>"za"}], "agent"=>[“service”], "cf_class"=>[]}, :senderid=>"nephilim.ml.org", :body=>"ping", :hash=> "xxxxx"} mc-service -W country=za httpd status
  • 24. Request - Discovery - Body {:msgtime=>1280270404, :requestid=>"a48b4f84d66ff0c30c621d544750a081", :msgtarget=>"/topic/mcollective.discovery.command", :callerid=>"cert=rip", :filter=> {"identity"=>[], "fact"=>[{:fact=>"country", :value=>"za"}], "agent"=>[“service”], "cf_class"=>[]}, :senderid=>"nephilim.ml.org", :body=>"ping", :hash=> "xxxxx"} mc-service -W country=za httpd status
  • 25. Request - Discovery - Reply {:msgtime=>1280270802, :requestid=>"a48b4f84d66ff0c30c621d544750a081", :senderagent=>"discovery", :body=>"pong", :senderid=>"my.machine.co.za", :msgtarget=>"/topic/mcollective.discovery.reply", :hash=> "xxx"} mc-service -W country=za httpd status
  • 26. Request - RPC Request - Filter {:msgtime=>1280271069, :filter=> {"identity"=>[], "fact"=>[{:value=>"za", :fact=>"country"}], "agent"=>["service"], "cf_class"=>[]}, :requestid=>"3b57f528746828c9f77d2d1956b94eb9", :msgtarget=>"/topic/mcollective.service.command", :callerid=>"cert=rip", :body=> {:agent => “service" :action => “status”, :service => “httpd”}, :senderid=>"nephilim.ml.org", :hash=> "xxxx"} mc-service -W country=za httpd status
  • 27. Request - RPC Request - Target {:msgtime=>1280271069, :filter=> {"identity"=>[], "fact"=>[{:value=>"za", :fact=>"country"}], "agent"=>["service"], "cf_class"=>[]}, :requestid=>"3b57f528746828c9f77d2d1956b94eb9", :msgtarget=>"/topic/mcollective.service.command", :callerid=>"cert=rip", :body=> {:agent => “service" :action => “status”, :service => “httpd”}, :senderid=>"nephilim.ml.org", :hash=> "xxxx"} mc-service -W country=za httpd status
  • 28. Request - RPC Request - RPC Body {:msgtime=>1280271069, :filter=> {"identity"=>[], "fact"=>[{:value=>"za", :fact=>"country"}], "agent"=>["service"], "cf_class"=>[]}, :requestid=>"3b57f528746828c9f77d2d1956b94eb9", :msgtarget=>"/topic/mcollective.service.command", :callerid=>"cert=rip", :body=> {:agent => “service" :action => “status”, :service => “httpd”}, :senderid=>"nephilim.ml.org", :hash=> "xxxx"} mc-service -W country=za httpd status
  • 29. Request - RPC Reply {:msgtime=>1280272138, :requestid=>"3b57f528746828c9f77d2d1956b94eb9", :body=> {:statuscode => 0, :statusmsg => “OK”, :data{:status => “running"}} :senderagent=>"service", :senderid=>"my.machine.co.za", :hash=> "xxxxx", :msgtarget=>"/topic/mcollective.service.reply"} mc-service -W country=za httpd status

Editor's Notes