More secure and efficient triggering of puppet updates by deploying MCOLLECTIVE+ACTIVEMQ modules

Source: Internet
Author: User
Tags stomp rsyslog

Experimental environment:

puppetserver.rsyslog.org

Mcollective Client +ACTIVEMQ service side +puppet service end

agent1.rsyslog.org

Mcollective Service-Side +puppet Client

Application: Apache

agent2.rsyslog.org

Mcollective Service-Side +puppet Client

Application: Apache+mysql

agent3.rsyslog.org

Mcollective Service-Side +puppet Client

Application: PHP

Experiment steps:

First, deploy the RABBITMQ at the Puppetserver end

1. Installation Activemq

[Root@puppetserver yum.repos.d]# yum install tanukiwrapper ACTIVEMQ

2. Configure ACTIVEMQ

<simpleAuthenticationPlugin>

<users>

<authenticationuser username= "admin" password= "123.com" groups= "Mcollective,admins,everyone"/>

<authenticationuser username= "mcollective" password= "secret" groups= "Mcollective,admins,everyone"/>

</users>

</simpleAuthenticationPlugin>

<transportConnectors>

<transportconnector name= "Openwire" uri= "tcp://0.0.0.0:61616"/>

<!--<transportconnector name= "Stomp+nio" uri= "stomp+nio://0.0.0.0:61613"/>-->

<transportconnector name= "Stomp" uri= "stomp://0.0.0.0:61613"/>

</transportConnectors>

3, Start ACTIVEMQ

[Root@puppetserver activemq]#/etc/rc.d/init.d/activemq Restart

Stopping ActiveMQ Broker ...

ActiveMQ Broker is not running.

Starting ActiveMQ Broker ...

[Root@puppetserver activemq]# chkconfig activemq on

[Root@puppetserver activemq]# NETSTAT-NLATP | grep 61613

TCP 0 0::: 61613:::* LISTEN 3098/java

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.