Hi, A couple of side notes. 1. You can use the mcollective::plugin defined type to install the different agents
2. It's recommended to use SSL for authentication to enhance security. ( in fact not using it is very insecure) Regards, El 07/08/2014 22:22, "Stella" <[email protected]> escribió: > It works as a charm!!! Many thanks to everyone! > > Here is a summary of all the information I have collected about > MCollective. Hope it will help other people around. > > Overview of MCollective Components and Configuration > https://docs.puppetlabs.com/mcollective/ > https://docs.puppetlabs.com/mcollective/overview_components.html > > Use Module to install MCollective (recommended) > > https://forge.puppetlabs.com/puppetlabs/mcollective#beginning-with-mcollective > > Standard MCollective Deployment > <https://docs.puppetlabs.com/mcollective/deploy/standard.html#getting-started:-standard-mcollective-deployment> > https://docs.puppetlabs.com/mcollective/deploy/standard.html > > How to install MCollective manually > http://www.slideshare.net/johandw/bpug-mcollective-20140624 > > Installer and doc about each mco plugin > http://projects.puppetlabs.com/projects/mcollective-plugins/wiki > http://yum.puppetlabs.com/el/6.5/products/x86_64/ > > how to use mco command: > > http://www.devco.net/archives/2013/02/03/managing-puppet-using-mcollective.php > https://docs.puppetlabs.com/mcollective/deploy/standard.html > > To conclude, to install MCollective: > > 1. On puppet master machine, run "puppet module install > puppetlabs-mcollective" > > 2. edit your site.pp and replace with correct hostname(server need to be > installed on all machines; middle/client need to be installed on puppet > master). > > node 'broker1.example.com' { > class { '::mcollective': > middleware => true, > middleware_hosts => [ 'broker1.example.com' ], > }} > node 'server1.example.com' { > class { '::mcollective': > middleware_hosts => [ 'broker1.example.com' ], > }} > node 'control1.example.com' { > class { '::mcollective': > client => true, > middleware_hosts => [ 'broker1.example.com' ], > }} > > > 3. push module to puppet master and agent (puppet apply site.pp; puppet > agent --test) > > 4. Install Mcollective agent plugins on ALL the machines. > yum install mcollective-filemgr-agent > yum install mcollective-nettest-agent > yum install mcollective-package-agent > yum install mcollective-service-agent > > > > On Thursday, August 7, 2014 3:24:52 PM UTC-4, Christopher Wood wrote: >> >> (inline) >> >> On Thu, Aug 07, 2014 at 12:03:59PM -0700, Stella wrote: >> > Quick question: >> > >> > I am following instruction on the forge module for MCollective >> install and >> > configuraiton. >> > https://forge.puppetlabs.com/puppetlabs/mcollective >> > >> > It gives the example of "I just want to run it, what's the minimum I >> > need?". >> > >> > *********************************************************** >> > node 'broker1.example.com' { >> > class { '::mcollective': >> > middleware => true, >> > middleware_hosts => [ 'broker1.example.com' ], >> > } >> > } >> > >> > node 'server1.example.com' { >> > class { '::mcollective': >> > middleware_hosts => [ 'broker1.example.com' ], >> > } >> > } >> > >> > node 'control1.example.com' { >> > class { '::mcollective': >> > client => true, >> > middleware_hosts => [ 'broker1.example.com' ], >> > } >> > } >> > *************************************** >> > >> > In init.pp, the default value for each component is: >> > >> > $server = true, >> > $client = false, >> > $middleware = false, >> > >> > In the example, for both broker (middleware) and control1(client), it >> doesn't specify value for $server. >> > So it means both middleware and client will get the default value >> ($server = true). >> > Is this correct? Should server should be installed on middleware and >> client? >> >> This is correct. The server portion is the mcollective daemon. Without >> that daemon you will not be able to remotely manage the middleware and >> client hosts. If you need to restrict most people from managing those look >> at the ACL plugins. >> >> > I think the server should not be installed on middleware and client. >> > We should specfiy $server=false for both middleware and client to >> overwrite the default value of true. >> > Please correct me if I am wrong. >> > >> > Also can I installed both middleware and client on one machine, which >> is my puppet master machine? >> >> I don't recall, sorry. Try it and see? >> >> > >> > Thanks!! >> > >> > On Thursday, August 7, 2014 1:32:32 PM UTC-4, Stella wrote: >> > >> > Thank a lot Chris! >> > >> > I think I got the big picture. What I plan to do: >> > >> > 1. puppet module install puppetlabs-mcollective >> > >> > 2. review module configure files and edit with correct parameter >> values >> > >> > 3. push module to puppet master and agent >> > puppet master: mcollective middleware and client >> > puppet agent: mcollective server >> > >> > 4. Install Mcollective agent plugins >> > yum install mcollective-filemgr-agent >> > yum install mcollective-nettest-agent >> > yum install mcollective-package-agent >> > yum install mcollective-service-agent >> > >> > Will report progress later... >> > >> > On Thursday, August 7, 2014 12:19:09 PM UTC-4, Christopher Wood >> wrote: >> > >> > First, read the whole module, it will help. Mostly you use the >> main >> > mcollective module and pass parameters to get what you want. >> > >> > There are some minimal plugins included with this module, some >> others >> > are packaged at [1]rpm.puppetlabs.com/apt.puppetlabs.com, >> others are >> > obtainable from git. I have some installed from each. You will >> > probably want some plugins so that you can do more than "mco >> ping". >> > >> > On Thu, Aug 07, 2014 at 09:09:26AM -0700, Stella wrote: >> > > Wow, this google puppet user group is tremendous, people >> here are >> > so >> > > helpful! >> > > >> > > I have read the puppet mcollecctive module description and >> yes, >> > it >> > > clarified a lot of confusion. Mcollective's terminology >> really >> > differs >> > > from what we normally use. >> > > >> > > So after I download the puppetlabs-mcollective module, I >> should >> > install it >> > > this way by pushing different classes of the mcollectvie >> module >> > to my >> > > nodes? >> > > >> > > * Middleware -> Puppet Master >> > > * MCollective Client -> Puppet Master >> > > * MCollective Server -> Puppet Agent >> > > >> > > How about the agent and agent plugin? Are they included in >> the >> > module? I >> > > don't see it being mentioned there. I just need the most >> basic >> > function >> > > for a demo. Is the Mcollective module enough? >> > > >> > > Thanks a million! >> > > >> > > On Thursday, August 7, 2014 11:36:03 AM UTC-4, Christopher >> Wood >> > wrote: >> > > >> > > I found I learned more about how to install mcollective >> by >> > reading the >> > > puppet module along with the docs, plus with the module >> it's a >> > > reasonably easy install. >> > > >> > > [1][2]https://forge.puppetlabs.com/puppetlabs/mcollective >> > > >> > > On Thu, Aug 07, 2014 at 08:31:41AM -0700, Stella wrote: >> > > > Hi Johan, >> > > > >> > > > Thank you for the quick reply. I took a look at the >> slides >> > you >> > > provided. >> > > > Now much clear, but still some questions: >> > > > >> > > > 1. In the slides, it talks about first get "Vagrant >> box". >> > Is that a >> > > puppet >> > > > VM? I don't want to use one, since I already have >> puppet >> > setup on >> > > my own >> > > > machine. Is this OK? Then can I use the key provided >> on >> > this slide? >> > > > >> > > > 2. So this slide is talking about using existing >> > puppetmodule >> > > modules, not >> > > > manual install, right? Basically I need to first >> > install/configure >> > > > ActiveMQ, then install/configure Mcollective server >> and >> > client? >> > > They all >> > > > can be installed on the same machine as my puppet >> master? >> > Then how >> > > about >> > > > those agent and plugin (filemgr, nettest, package, >> > service)? They >> > > should >> > > > be installed on my puppet agent machine? I am still >> a >> > little >> > > confused >> > > > about the big picture of the installation layout :) >> > > > >> > > > Thanks again! >> > > > >> > > > On Thursday, August 7, 2014 10:51:51 AM UTC-4, Johan >> De >> > Wit wrote: >> > > > >> > > > On 07/08/14 16:39, Stella wrote: >> > > > >> > > > I am trying to install MCollective to my Puppet >> 3.6.2 >> > with >> > > Dashboard >> > > > 1.2.23. >> > > > >> > > > I searched online and found that there are so >> many >> > components >> > > related >> > > > with MCollective such as Agent(different >> agents), >> > Client, >> > > Common, etc. >> > > > >> > [1][2][3]http://yum.puppetlabs.com/el/6.5/products/x86_64/ >> > > > >> > > > If I only want to have the most basic >> configuration of >> > > MCollective, >> > > > which components should I install? >> > > > >> > > > And has anyone used any of the Web Gui for >> > MCollective? Any >> > > > recommendation? >> > > > >> > > > Thanks! >> > > > >> > > > -- >> > > > You received this message because you are >> subscribed >> > to the >> > > Google >> > > > Groups "Puppet Users" group. >> > > > To unsubscribe from this group and stop >> receiving >> > emails from >> > > it, send >> > > > an email to [2][email protected]. >> >> > > > To view this discussion on the web visit >> > > > >> > > >> > [3][3][4]https://groups.google.com/d/msgid/puppet- >> users/a45175ff-e932-40dc-83de-681837919cb1%40googlegroups.com. >> > > > For more options, visit >> > > [4][4][5]https://groups.google.com/d/optout. >> > > > >> > > > have a look at >> > > > >> > [5][5][6]http://www.slideshare.net/johandw/bpug- >> mcollective-20140624 >> > > > >> > > > We did a manual installation of MCO. >> > > > >> > > > But using an existing puppetmodule is much better >> :) >> > > > >> > > > Grts >> > > > >> > > > Johan >> > > > >> > > > -- >> > > > Johan De Wit >> > > > >> > > > Open Source Consultant >> > > > >> > > > Red Hat Certified Engineer >> (805008667232363) >> > > > Puppet Certified Professional 2013/2014 (PCP0000006) >> > > > _________________________________________________________ >> >> > > > >> > > > Open-Future Phone +32 (0)2/255 70 >> 70 >> > > > Zavelstraat 72 Fax +32 (0)2/255 70 >> 71 >> > > > 3071 KORTENBERG Mobile +32 (0)474/42 >> 40 73 >> > > > BELGIUM >> > [6][6][7]http://www.open-future.be >> > > > _________________________________________________________ >> >> > > > >> > > > >> > > > Upcoming Events: >> > > > >> > > > Linux Training | >> > > > >> > > >> > [7][7][8]https://www.open-future.be/linux-training-8- >> till-12th-september >> > > > >> > > > Puppet Introduction Course | >> > > > >> > > >> > [8][8][9]https://www.open-future.be/puppet-introduction- >> course-15th-september >> > > > >> > > > Puppet Fundamentals Training | >> > > > >> > > >> > [9][9][10]https://www.open-future.be/puppet-fundamentals- >> training-16-till-18th-september >> > > > >> > > > Zabbix Certified Specialist | >> > > > >> > > >> > [10][10][11]https://www.open-future.be/zabbix- >> certified-specialisttraining-22-till-24th-september >> > > > >> > > > Zabbix Certified Professional | >> > > > >> > > >> > [11][11][12]https://www.open-future.be/zabbix- >> certified-professional-training-25-till-26th-september >> > > > >> > > > Subscribe to our newsletter: >> > [12][12][13]http://eepurl.com/BUG8H >> > > > >> > > > -- >> > > > You received this message because you are subscribed >> to >> > the Google >> > > Groups >> > > > "Puppet Users" group. >> > > > To unsubscribe from this group and stop receiving >> emails >> > from it, >> > > send an >> > > > email to [13][13][email protected]. >> > > > To view this discussion on the web visit >> > > > >> > > >> > [14][14][14]https://groups.google.com/d/msgid/puppet- >> users/95148a21-d046-4857-9201-53924c353944%40googlegroups.com. >> > > > For more options, visit >> > [15][15][15]https://groups.google.com/d/optout. >> > > > >> > > > References >> > > > >> > > > Visible links >> > > > 1. >> > [16][16]http://yum.puppetlabs.com/el/6.5/products/x86_64/ >> > > > 2. javascript: >> > > > 3. >> > > >> > [17][17]https://groups.google.com/d/msgid/puppet- >> users/a45175ff-e932-40dc-83de-681837919cb1%40googlegroups. >> com?utm_medium=email&utm_source=footer >> > > > 4. [18][18]https://groups.google.com/d/optout >> > > > 5. >> > [19][19]http://www.slideshare.net/johandw/bpug- >> mcollective-20140624 >> > > > 6. [20][20]http://www.open-future.be/ >> > > > 7. >> > > >> > [21][21]https://www.open-future.be/linux-training-8- >> till-12th-september >> > > > 8. >> > > >> > [22][22]https://www.open-future.be/puppet-introduction- >> course-15th-september >> > > > 9. >> > > >> > [23][23]https://www.open-future.be/puppet-fundamentals- >> training-16-till-18th-september >> > > > 10. >> > > >> > [24][24]https://www.open-future.be/zabbix-certified- >> specialisttraining-22-till-24th-september >> > > > 11. >> > > >> > [25][25]https://www.open-future.be/zabbix-certified- >> professional-training-25-till-26th-september >> > > > 12. [26][26]http://eepurl.com/BUG8H >> > > > 13. mailto:[27]puppet-users+ >> [email protected] >> > > > 14. >> > > >> > [28][27]https://groups.google.com/d/msgid/puppet- >> users/95148a21-d046-4857-9201-53924c353944%40googlegroups. >> com?utm_medium=email&utm_source=footer >> > > > 15. [29][28]https://groups.google.com/d/optout >> > > >> > > -- >> > > You received this message because you are subscribed to the >> > Google Groups >> > > "Puppet Users" group. >> > > To unsubscribe from this group and stop receiving emails >> from it, >> > send an >> > > email to [30][email protected]. >> > > To view this discussion on the web visit >> > > >> > [31][29]https://groups.google.com/d/msgid/puppet- >> users/fa121665-c569-46b3-bce6-777b0fedad80%40googlegroups.com. >> > > For more options, visit >> > [32][30]https://groups.google.com/d/optout. >> > > >> > > References >> > > >> > > Visible links >> > > 1. [31]https://forge.puppetlabs.com/puppetlabs/mcollective >> > > 2. [32]http://yum.puppetlabs.com/el/6.5/products/x86_64/ >> > > 3. >> > [33]https://groups.google.com/d/msgid/puppet-users/ >> a45175ff-e932-40dc-83de-681837919cb1%40googlegroups.com >> > > 4. [34]https://groups.google.com/d/optout >> > > 5. >> > [35]http://www.slideshare.net/johandw/bpug-mcollective-20140624 >> > > 6. [36]http://www.open-future.be/ >> > > 7. >> > [37]https://www.open-future.be/linux-training-8-till-12th- >> september >> > > 8. >> > [38]https://www.open-future.be/puppet-introduction-course- >> 15th-september >> > > 9. >> > [39]https://www.open-future.be/puppet-fundamentals- >> training-16-till-18th-september >> > > 10. >> > [40]https://www.open-future.be/zabbix-certified- >> specialisttraining-22-till-24th-september >> > > 11. >> > [41]https://www.open-future.be/zabbix-certified- >> professional-training-25-till-26th-september >> > > 12. [42]http://eepurl.com/BUG8H >> > > 13. javascript: >> > > 14. >> > [43]https://groups.google.com/d/msgid/puppet-users/ >> 95148a21-d046-4857-9201-53924c353944%40googlegroups.com >> > > 15. [44]https://groups.google.com/d/optout >> > > 16. [45]http://yum.puppetlabs.com/el/6.5/products/x86_64/ >> > > 17. >> > [46]https://groups.google.com/d/msgid/puppet-users/ >> a45175ff-e932-40dc-83de-681837919cb1%40googlegroups. >> com?utm_medium=email&utm_source=footer >> > > 18. [47]https://groups.google.com/d/optout >> > > 19. >> > [48]http://www.slideshare.net/johandw/bpug-mcollective-20140624 >> > > 20. [49]http://www.open-future.be/ >> > > 21. >> > [50]https://www.open-future.be/linux-training-8-till-12th- >> september >> > > 22. <a >> > href="[51]https://www.open-future.be/puppet-introduction- >> course-15th-september" >> > target="_blank" >> > onmousedown="this.href='[52]https://www.google.com/url?q\ >> 75https%3A%2F%2Fwww.open-future.be%2Fpuppet-introduction-course-15th- >> september\46sa\75D\46sntz\0751\46usg\75AFQjCNH3xt- >> gECp7eLQcHKrwSaNmOQjVAA';return >> <https://www.google.com/url?q%5C75https%3A%2F%2Fwww.open-future.be%2Fpuppet-introduction-course-15th-september%5C46sa%5C75D%5C46sntz%5C0751%5C46usg%5C75AFQjCNH3xt-gECp7eLQcHKrwSaNmOQjVAA';return> >> > true;" onclick="this.href='[53]https: >> //www.google.com/url?q\75http >> > >> > ... >> > >> > -- >> > You received this message because you are subscribed to the Google >> Groups >> > "Puppet Users" group. >> > To unsubscribe from this group and stop receiving emails from it, >> send an >> > email to [54][email protected]. >> > To view this discussion on the web visit >> > [55]https://groups.google.com/d/msgid/puppet-users/ >> 41b6b478-0a39-4e25-a297-b7d771afbec4%40googlegroups.com. >> > For more options, visit [56]https://groups.google.com/d/optout. >> > >> > References >> > >> > Visible links >> > 1. http://rpm.puppetlabs.com/apt.puppetlabs.com >> > 2. https://forge.puppetlabs.com/puppetlabs/mcollective >> > 3. http://yum.puppetlabs.com/el/6.5/products/x86_64/ >> > 4. https://groups.google.com/d/msgid/puppet-users/a45175ff- >> e932-40dc-83de-681837919cb1%40googlegroups.com >> > 5. https://groups.google.com/d/optout >> > 6. http://www.slideshare.net/johandw/bpug-mcollective-20140624 >> > 7. http://www.open-future.be/ >> > 8. https://www.open-future.be/linux-training-8-till-12th-september >> > 9. https://www.open-future.be/puppet-introduction-course- >> 15th-september >> > 10. https://www.open-future.be/puppet-fundamentals-training- >> 16-till-18th-september >> > 11. https://www.open-future.be/zabbix-certified- >> specialisttraining-22-till-24th-september >> > 12. https://www.open-future.be/zabbix-certified-professional- >> training-25-till-26th-september >> > 13. http://eepurl.com/BUG8H >> > 14. https://groups.google.com/d/msgid/puppet-users/95148a21- >> d046-4857-9201-53924c353944%40googlegroups.com >> > 15. https://groups.google.com/d/optout >> > 16. http://yum.puppetlabs.com/el/6.5/products/x86_64/ >> > 17. https://groups.google.com/d/msgid/puppet-users/a45175ff- >> e932-40dc-83de-681837919cb1%40googlegroups.com?utm_medium= >> email&utm_source=footer >> > 18. https://groups.google.com/d/optout >> > 19. http://www.slideshare.net/johandw/bpug-mcollective-20140624 >> > 20. http://www.open-future.be/ >> > 21. https://www.open-future.be/linux-training-8-till-12th-september >> > 22. https://www.open-future.be/puppet-introduction-course- >> 15th-september >> > 23. https://www.open-future.be/puppet-fundamentals-training- >> 16-till-18th-september >> > 24. https://www.open-future.be/zabbix-certified- >> specialisttraining-22-till-24th-september >> > 25. https://www.open-future.be/zabbix-certified-professional- >> training-25-till-26th-september >> > 26. http://eepurl.com/BUG8H >> > 27. https://groups.google.com/d/msgid/puppet-users/95148a21- >> d046-4857-9201-53924c353944%40googlegroups.com?utm_medium= >> email&utm_source=footer >> > 28. https://groups.google.com/d/optout >> > 29. https://groups.google.com/d/msgid/puppet-users/fa121665- >> c569-46b3-bce6-777b0fedad80%40googlegroups.com >> > 30. https://groups.google.com/d/optout >> > 31. https://forge.puppetlabs.com/puppetlabs/mcollective >> > 32. http://yum.puppetlabs.com/el/6.5/products/x86_64/ >> > 33. https://groups.google.com/d/msgid/puppet-users/a45175ff- >> e932-40dc-83de-681837919cb1%40googlegroups.com >> > 34. https://groups.google.com/d/optout >> > 35. http://www.slideshare.net/johandw/bpug-mcollective-20140624 >> > 36. http://www.open-future.be/ >> > 37. https://www.open-future.be/linux-training-8-till-12th-september >> > 38. https://www.open-future.be/puppet-introduction-course- >> 15th-september >> > 39. https://www.open-future.be/puppet-fundamentals-training- >> 16-till-18th-september >> > 40. https://www.open-future.be/zabbix-certified- >> specialisttraining-22-till-24th-september >> > 41. https://www.open-future.be/zabbix-certified-professional- >> training-25-till-26th-september >> > 42. http://eepurl.com/BUG8H >> > 43. https://groups.google.com/d/msgid/puppet-users/95148a21- >> d046-4857-9201-53924c353944%40googlegroups.com >> > 44. https://groups.google.com/d/optout >> > 45. http://yum.puppetlabs.com/el/6.5/products/x86_64/ >> > 46. https://groups.google.com/d/msgid/puppet-users/a45175ff- >> e932-40dc-83de-681837919cb1%40googlegroups.com?utm_medium= >> email&utm_source=footer >> > 47. https://groups.google.com/d/optout >> > 48. http://www.slideshare.net/johandw/bpug-mcollective-20140624 >> > 49. http://www.open-future.be/ >> > 50. https://www.open-future.be/linux-training-8-till-12th-september >> > 51. https://www.open-future.be/puppet-introduction-course- >> 15th-september >> > 52. https://www.google.com/url?q%5C75https%3A%2F%2Fwww.open- >> future.be%2Fpuppet-introduction-course-15th-september%5C46sa%5C75D% >> 5C46sntz%5C0751%5C46usg%5C75AFQjCNH3xt-gECp7eLQcHKrwSaNmOQjVAA';return >> > 53. https://www.google.com/url?q%5C75http >> > 54. mailto:[email protected] >> > 55. https://groups.google.com/d/msgid/puppet-users/41b6b478- >> 0a39-4e25-a297-b7d771afbec4%40googlegroups.com?utm_medium= >> email&utm_source=footer >> > 56. https://groups.google.com/d/optout >> > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/f75ad7b0-f683-4b25-bcce-3f5bb418e6af%40googlegroups.com > <https://groups.google.com/d/msgid/puppet-users/f75ad7b0-f683-4b25-bcce-3f5bb418e6af%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAF_B3dc5mWMGshUOCHQznTs6tWafTO4gyw0FUm3Wyz_Xj1PraA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
