rabbitmq cluster is not work
bash-4.2$ rabbitmqctl cluster_status
Cluster status of node 'rabbit@openstack-2' ...
[{nodes,[{disc,['rabbit@openstack-2']}]},
{running_nodes,['rabbit@openstack-2']},
{cluster_name,<<"rabbit@openstack-2">>},
{partitions,[]}]
bash-4.2$ cat /etc/rabbitmq/rabbitmq_clusterer.config
[
{version, 1},
{nodes, [
{rabbit@openstack-1, disc},
{rabbit@openstack-2, disc},
{rabbit@openstack-3, disc}
]},
{gospel, {node, rabbit@openstack-1}}
].
bash-4.2$ rpm -q rabbitmq-server
rabbitmq-server-3.5.5-3.noarch
bash-4.2$
bash-4.2$ rabbitmq-plugins list
Configured: E = explicitly enabled; e = implicitly enabled
| Status: * = running on rabbit@openstack-1
|/
[e*] amqp_client 3.5.5
[ ] cowboy 0.5.0-rmq3.5.5-git4b93c2d
[e*] mochiweb 2.7.0-rmq3.5.5-git680dba8
[ ] rabbitmq_amqp1_0 3.5.5
[ ] rabbitmq_auth_backend_ldap 3.5.5
[ ] rabbitmq_auth_mechanism_ssl 3.5.5
[E*] rabbitmq_clusterer 3.5.x-189b3a81
[ ] rabbitmq_consistent_hash_exchange 3.5.5
[ ] rabbitmq_federation 3.5.5
[ ] rabbitmq_federation_management 3.5.5
[E*] rabbitmq_management 3.5.5
[e*] rabbitmq_management_agent 3.5.5
[ ] rabbitmq_management_visualiser 3.5.5
[ ] rabbitmq_mqtt 3.5.5
[ ] rabbitmq_shovel 3.5.5
[ ] rabbitmq_shovel_management 3.5.5
[ ] rabbitmq_stomp 3.5.5
[ ] rabbitmq_test 3.5.5
[ ] rabbitmq_tracing 3.5.5
[e*] rabbitmq_web_dispatch 3.5.5
[ ] rabbitmq_web_stomp 3.5.5
[ ] rabbitmq_web_stomp_examples 3.5.5
[ ] sockjs 0.3.4-rmq3.5.5-git3132eb9
[e*] webmachine 1.10.3-rmq3.5.5-gite9359c7
bash-4.2$ cat /etc/rabbitmq/ rabbitmq_ clusterer. config openstack- 1', disc}, openstack- 2', disc}, openstack- 3', disc} openstack- 1'}}
[
{version, 1},
{nodes, [
{'rabbit@
{'rabbit@
{'rabbit@
]},
{gospel, {node, 'rabbit@
].
rabbitmq cluster is work
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------ rabbitmq_ clusterer. config openstack- 1, disc}, openstack- 2, disc}, openstack- 3, disc} openstack- 1}}
bash-4.2$ cat /etc/rabbitmq/
[
{version, 1},
{nodes, [
{rabbit@
{rabbit@
{rabbit@
]},
{gospel, {node, rabbit@
].
bash-4.2$
rabbitmq cluster is not work
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ---- rabbitmq_ clusterer. config openstack1, disc}, openstack2, disc}, openstack3, disc} openstack- 1}}
bash-4.2$ cat /etc/rabbitmq/
[
{version, 1},
{nodes, [
{rabbit@
{rabbit@
{rabbit@
]},
{gospel, {node, rabbit@
].
bash-4.2$
rabbitmq cluster is work
so , when a '-' in hostname, rabbitmq cluster will not work