RabbitMQ Puppet Module Clustering

asked 2014-08-25 14:04:53 -0500

louis gravatar image

Hi,

We have been using Puppet Enterprise for a while now and we are very interested on testing RabbitMQ as our solution for an application we are testing. I have developed a demo using the Puppetlabs RabbitMQ Puppet Module but it seems that i am stuck with the configuration.

https://github.com/lmayorga1980/rabbi...

Whenever I run the cluster status (rabbitmqctl cluster_status from https://www.rabbitmq.com/clustering.html ) it seems that my three vagrant machines are not in a cluster.

Now it seems that I do have some issue with the cluster_nodes attribute

….

node 'rabbitmqserver1' inherits base {
  class{ 'qserver' :
    node_name         => 'rabbit',
    cluster_node_type => 'ram',
    cluster_nodes     => ['rabbit@rabbitmqserver2', 'rabbit@rabbitmqserver3']
  }
}

node 'rabbitmqserver2' inherits base {
  class{ 'qserver' :
    node_name         => 'rabbit',
    cluster_node_type => 'ram',
    cluster_nodes     => ['rabbit@rabbitmqserver1', 'rabbit@rabbitmqserver3']
  }
}

node 'rabbitmqserver3' inherits base {
  class{ 'qserver' :
    node_name         => 'rabbit',
    cluster_node_type => 'disc',
    cluster_nodes     => ['rabbit@rabbitmqserver1', 'rabbit@rabbitmqserver2']
  }
}

Any help will be much appreciated.

edit retag flag offensive close merge delete