Last active
August 29, 2015 14:07
-
-
Save trlinkin/deed4a0f24f41ca95491 to your computer and use it in GitHub Desktop.
PE 3.3 and below steps to meshing AMQ on your spoke masters - Enjoy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
----------- Step 1 | |
Copy the following files from the hub to the exact same location on the spoke | |
# certs | |
/etc/puppetlabs/puppet/ssl/certs/pe-internal-broker.pem | |
/etc/puppetlabs/puppet/ssl/certs/pe-internal-mcollective-servers.pem | |
/etc/puppetlabs/puppet/ssl/certs/pe-internal-peadmin-mcollective-client.pem | |
/etc/puppetlabs/puppet/ssl/certs/pe-internal-puppet-console-mcollective-client.pem | |
# private keys | |
/etc/puppetlabs/puppet/ssl/private_keys/pe-internal-broker.pem | |
/etc/puppetlabs/puppet/ssl/private_keys/pe-internal-mcollective-servers.pem | |
/etc/puppetlabs/puppet/ssl/private_keys/pe-internal-peadmin-mcollective-client.pem | |
/etc/puppetlabs/puppet/ssl/private_keys/pe-internal-puppet-console-mcollective-client.pem | |
# public keys | |
/etc/puppetlabs/puppet/ssl/public_keys/pe-internal-broker.pem | |
/etc/puppetlabs/puppet/ssl/public_keys/pe-internal-mcollective-servers.pem | |
/etc/puppetlabs/puppet/ssl/public_keys/pe-internal-peadmin-mcollective-client.pem | |
/etc/puppetlabs/puppet/ssl/public_keys/pe-internal-puppet-console-mcollective-client.pem | |
----------- Step 2 | |
Destroy The following | |
rm -rf /etc/puppetlabs/mcollective/ss | |
rm -f /etc/puppetlabs/activemq/broker.* | |
----------- Step 3 | |
Copy broker credentials from hub to spoke | |
Take the content of: | |
/etc/puppetlabs/mcollective/credentials | |
and place it the a file of the same location on the spoke | |
----------- Step 4 | |
On the puppet_master group in the PE Console, modify the group variable called “activemq_brokers” and | |
assign it a comma separated list of the FQDNs for the Puppet masters in the AMQ mesh. | |
----------- Step 5 | |
Add the spoke master to 'puppet_master' group in the PE Console. | |
----------- Step 6 | |
Run Puppet on the spoke | |
puppet agent -t --server <your hub master> | |
----------- Step 7 | |
Restart activemq and mco | |
service pe-activemq restart | |
service pe-mcollective restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment