{"id":6973,"date":"2018-10-03T12:03:44","date_gmt":"2018-10-03T09:03:44","guid":{"rendered":"https:\/\/www.howtoforge.com\/tutorial\/how-to-set-up-rabbitmq-cluster-on-ubuntu-1804-lts\/"},"modified":"2018-10-03T12:03:44","modified_gmt":"2018-10-03T09:03:44","slug":"how-to-set-up-rabbitmq-cluster-on-ubuntu-18-04-lts","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/how-to-set-up-rabbitmq-cluster-on-ubuntu-18-04-lts\/","title":{"rendered":"How to Set up RabbitMQ Cluster on Ubuntu 18.04 LTS"},"content":{"rendered":"<p>RabbitMQ is an open source message-broker software that originally implemented the AMQP (Advanced Message Queuing Protocol) protocol, and while it has been developed and extended in order to support other protocols such as STOMP (Streaming Text Oriented Messaging Protocol), and MQTT (Message Queuing Telemetry Transport).<\/p>\n<p>A\u00a0message-queueing \/ message-broker software\u00a0is used for sending and receiving messages between distributed systems, applications, and services.\u00a0RabbitMQ is written\u00a0in the Erlang programming language, it offers support for client interfaces and libraries for all major programming languages including Python, NodeJS, Java, PHP etc.<\/p>\n<p>In this tutorial, I will show you how to set up\u00a0a RabbitMQ Cluster on Ubuntu 18.04 Server.\u00a0I will\u00a0install a RabbitMQ Cluster using three Ubuntu servers, enable the RabbitMQ Management, and Setup the HA policy for all nodes.<\/p>\n<h2 id=\"prerequisites\">Prerequisites<\/h2>\n<ul>\n<li>3 or more Ubuntu 18.04 Servers<\/li>\n<ul>\n<li>10.0.15.21 hakase-ubuntu01<\/li>\n<li>10.0.15.22 hakase-ubuntu02<\/li>\n<li>10.0.15.23 hakase-ubuntu03<\/li>\n<\/ul>\n<li>Root privileges<\/li>\n<\/ul>\n<h2 id=\"what-we-will-do\">What we will do?<\/h2>\n<ol>\n<li>Setup Hosts File<\/li>\n<li>Install RabbitMQ Server<\/li>\n<li>Enable Management Plugins<\/li>\n<li>Setup UFW Firewall<\/li>\n<li>Setup RabbitMQ Cluster<\/li>\n<li>Setup New Administrator User<\/li>\n<li>RabbitMQ Setup Queue Mirroring<\/li>\n<li>Testing<\/li>\n<\/ol>\n<h2 id=\"step-setup-hosts-file\">Step 1 &#8211; Setup Hosts File<\/h2>\n<p>In this step, we will edit the &#8216;\/etc\/hosts&#8217; file on all servers and map each server IP address as a hostname.<\/p>\n<p>Edit the &#8216;\/etc\/hosts&#8217; file using\u00a0<a href=\"https:\/\/www.howtoforge.com\/vim-basics\" target=\"_blank\" rel=\"noopener noreferrer\">vim<\/a> editor.<\/p>\n<p class=\"command\">sudo vim \/etc\/hosts<\/p>\n<p>Now paste the following configuration there.<\/p>\n<pre>10.0.15.21 hakase-ubuntu01&#13;\n10.0.15.22 hakase-ubuntu02&#13;\n10.0.15.23 hakase-ubuntu03<\/pre>\n<p>Save and exit.<\/p>\n<h2 id=\"step-install-rabbitmq-server\">Step 2 &#8211; Install RabbitMQ Server<\/h2>\n<p>Before installing RabbitMQ server, make sure all repositories are updated.<\/p>\n<p>Run the following command.<\/p>\n<p class=\"command\">sudo apt update<br \/>sudo apt upgrade<\/p>\n<p>Now install the RabbitMQ server packages from the Ubuntu repository using the apt command below.<\/p>\n<p class=\"command\">sudo apt install rabbitmq-server -y<\/p>\n<p>And after the installation is complete, start the RabbitMQ service and enable it to launch everytime at system boot.<\/p>\n<p class=\"command\">sudo systemctl start rabbitmq-server<br \/>sudo systemctl enable rabbitmq-server<\/p>\n<p>The RabbitMQ Server has been installed on Ubuntu 18.04.<\/p>\n<p><a class=\"fancybox\" id=\"img-1\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_set_up_rabbitmq_cluster_on_ubuntu_1804_lts\/big\/1.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-set-up-rabbitmq-cluster-on-ubuntu-18-04-lts.png\" alt=\"Install RabbitMQ Server\" width=\"500\" height=\"159\" title=\"\"><\/a><\/p>\n<h2 id=\"step-enable-rabbitmq-management-plugins\">Step 3 &#8211; Enable RabbitMQ Management Plugins<\/h2>\n<p>In this step, we will enable RabbitMQ management plugins. It&#8217;s an interface that allows you to monitor and handle RabbitMQ server from the web browser, running on the default TCP port &#8216;15672&#8217;.<\/p>\n<p>Enable the RabbitMQ management plugins by running the command below.<\/p>\n<p class=\"command\">sudo rabbitmq-plugins enable rabbitmq_management<\/p>\n<p>Make sure there is no error, then restart the RabbitMQ service.<\/p>\n<p class=\"command\">sudo systemctl restart rabbitmq-server<\/p>\n<p>RabbitMQ Management plugins have been enabled.<\/p>\n<p><a class=\"fancybox\" id=\"img-2\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_set_up_rabbitmq_cluster_on_ubuntu_1804_lts\/big\/2.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-set-up-rabbitmq-cluster-on-ubuntu-18-04-lts-1.png\" alt=\"Enable RabbitMQ Management Plugins\" width=\"500\" height=\"193\" title=\"\"><\/a><\/p>\n<h2 id=\"step-setup-ufw-firewall\">Step 4 &#8211; Setup UFW Firewall<\/h2>\n<p>In this tutorial, we will enable the Ubuntu UFW firewall. We need to open some ports that will be used by the RabbitMQ server.<\/p>\n<p>Add the ssh service to the UFW firewall and enable the firewall service.<\/p>\n<p class=\"command\">sudo ufw allow ssh<br \/>sudo ufw enable<\/p>\n<p>Now add new RabbitMQ tcp ports &#8216;5672,15672,4369,25672&#8217;.<\/p>\n<p class=\"command\">sudo ufw allow 5672,15672,4369,25672\/tcp<\/p>\n<p>Then check the UFW firewall ports list.<\/p>\n<p class=\"command\">sudo ufw status<\/p>\n<p><a class=\"fancybox\" id=\"img-3\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_set_up_rabbitmq_cluster_on_ubuntu_1804_lts\/big\/3.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-set-up-rabbitmq-cluster-on-ubuntu-18-04-lts-2.png\" alt=\"Setup UFW Firewall\" width=\"500\" height=\"287\" title=\"\"><\/a><\/p>\n<p>The Ubuntu UFW firewall configuration has been completed, and we&#8217;re ready to set up the RabbitMQ Cluster.<\/p>\n<h2 id=\"step-setup-rabbitmq-cluster\">Step 5 &#8211; Setup RabbitMQ Cluster<\/h2>\n<p>In order to setup the RabbitMQ cluster, we need to make sure the &#8216;.erlang.cookie&#8217; file is same on all nodes. We will copy the &#8216;.erlang.cookie&#8217; file on the &#8216;\/var\/lib\/rabbitmq&#8217; directory from &#8216;hakase-ubuntu01&#8217; to other node &#8216;hakase-ubuntu02&#8217; and &#8216;hakase-ubuntu03&#8217;.<\/p>\n<p>Copy the &#8216;.erlang.cookie&#8217; file using scp commands from the &#8216;hakase-ubuntu01&#8217;.<\/p>\n<p class=\"command\">scp \/var\/lib\/rabbitmq\/.erlang.cookie <a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"186a77776c58707973796b7d356d7a6d766c6d282a\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>:\/var\/lib\/rabbitmq\/<br \/>scp \/var\/lib\/rabbitmq\/.erlang.cookie <a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"1664797962567e777d7765733b6374637862632625\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>:\/var\/lib\/rabbitmq\/<\/p>\n<p>Make sure there is no error on both servers.<\/p>\n<p><a class=\"fancybox\" id=\"img-4\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_set_up_rabbitmq_cluster_on_ubuntu_1804_lts\/big\/4.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-set-up-rabbitmq-cluster-on-ubuntu-18-04-lts-3.png\" alt=\"Setup RabbitMQ Cluster\" width=\"500\" height=\"123\" title=\"\"><\/a><\/p>\n<p>Next, we need to setup &#8216;hakase-ubuntu02&#8217; and &#8216;hakase-ubuntu03&#8217; to join the cluster &#8216;hakase-ubuntu01&#8217;.<\/p>\n<p><strong>Note:<\/strong><\/p>\n<ul>\n<li>Run commands below on hakase-ubuntu02&#8242; and &#8216;hakase-ubuntu03&#8217; servers.<\/li>\n<\/ul>\n<p>Restart the RabbitMQ service and stop the app.<\/p>\n<p class=\"command\">sudo systemctl restart rabbitmq-server<br \/>sudo rabbitmqctl stop_app<\/p>\n<p>Now let RabbitMQ server on both nodes join the cluster on &#8216;hakase-ubuntu01&#8217;, then start the app.<\/p>\n<p class=\"command\">sudo rabbitmqctl join_cluster <a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"0c7e6d6e6e65784c646d676d7f6921796e796278793c3d\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a><br \/>sudo rabbitmqctl start_app<\/p>\n<p>When it&#8217;s complete, check the RabbitMQ cluster status.<\/p>\n<p class=\"command\">sudo rabbitmqctl cluster_status<\/p>\n<p>And you will get the results as below.<\/p>\n<p><a class=\"fancybox\" id=\"img-5\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_set_up_rabbitmq_cluster_on_ubuntu_1804_lts\/big\/5.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-set-up-rabbitmq-cluster-on-ubuntu-18-04-lts-4.png\" alt=\"start rabbitmq\" width=\"500\" height=\"295\" title=\"\"><\/a><\/p>\n<p>The RabbitMQ Cluster has been created, with hakase-ubuntu01, hakase-ubuntu02, and hakase-ubuntu03 as members.<\/p>\n<h2 id=\"step-setup-new-administrator-user\">Step 6 &#8211; Setup New Administrator User<\/h2>\n<p>In this tutorial, we will create a new admin user for our RabbitMQ server and delete the default &#8216;guest&#8217; user. We will be creating a new user from &#8216;hakase-ubuntu01&#8217;, and it will be automatically replicated to all nodes on the cluster.<\/p>\n<p>Add a new user named &#8216;hakase&#8217; with password &#8216;<a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"7b1a0a0c1e4a49483b\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>&#8216;.<\/p>\n<p class=\"command\">sudo rabbitmqctl add_user hakase <a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"117060667420232251\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a><\/p>\n<p>Setup the &#8216;hakase&#8217; user as an administrator.<\/p>\n<p class=\"command\">sudo rabbitmqctl set_user_tags hakase administrator<\/p>\n<p>And grant the &#8216;hakase&#8217; user permission to modify, write, and read all vhosts.<\/p>\n<p class=\"command\">sudo rabbitmqctl set_permissions -p \/ hakase &#8220;.*&#8221; &#8220;.*&#8221; &#8220;.*&#8221;<\/p>\n<p>Now delete the default &#8216;guest&#8217; user.<\/p>\n<p class=\"command\">sudo rabbitmqctl delete_user guest<\/p>\n<p>And check all available users.<\/p>\n<p class=\"command\">sudo rabbitmqctl list_users<\/p>\n<p>And you will get the result as below.<\/p>\n<p><a class=\"fancybox\" id=\"img-6\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_set_up_rabbitmq_cluster_on_ubuntu_1804_lts\/big\/6.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-set-up-rabbitmq-cluster-on-ubuntu-18-04-lts-5.png\" alt=\"Add admin user\" width=\"500\" height=\"204\" title=\"\"><\/a><\/p>\n<p>A new RabbitMQ administrator user has been created, and the default &#8216;guest&#8217; user is deleted.<\/p>\n<h2 id=\"step-rabbitmq-setup-queue-mirroring\">Step 7 &#8211; RabbitMQ Setup Queue Mirroring<\/h2>\n<p>By default, contents of a queue within a RabbitMQ cluster are located on a single node (the node on which the queue was declared).<\/p>\n<p>This setup is must, we need to configure the &#8216;ha policy&#8217; cluster for queue mirroring and replication to all cluster nodes. If the node that hosts queue master fails, the oldest mirror will be promoted to the new master as long as it synchronized, depends on the &#8216;ha-mode&#8217; and &#8216;ha-params&#8217; policies.<\/p>\n<p>Below some example about RabbitMQ ha policies.<\/p>\n<p>Setup ha policy named &#8216;ha-all&#8217; which all queues on the RabbitMQ cluster will be mirroring to all nodes on the cluster.<\/p>\n<p class=\"command\">sudo rabbitmqctl set_policy ha-all &#8220;.*&#8221; &#8216;{&#8220;ha-mode&#8221;:&#8221;all&#8221;}&#8217;<\/p>\n<p>Setup ha policy named &#8216;ha-two&#8217; which all queue name start with &#8216;two.&#8217; will be mirroring to the two nodes on the cluster.<\/p>\n<p class=\"command\">sudo rabbitmqctl set_policy ha-two &#8220;^two\\.&#8221; \\<br \/>\u00a0\u00a0 &#8216;{&#8220;ha-mode&#8221;:&#8221;exactly&#8221;,&#8221;ha-params&#8221;:2,&#8221;ha-sync-mode&#8221;:&#8221;automatic&#8221;}&#8217;<\/p>\n<p>Setup a high availability policy named &#8216;ha-nodes&#8217; which will contain all queues where the name starts with &#8216;nodes.&#8217; We will be mirroring to two specific nodes &#8216;hakase-ubuntu02&#8217; and &#8216;hakase-ubuntu03&#8217; in the cluster.<span class=\"highlight\"><br \/><\/span><\/p>\n<p class=\"command\">sudo rabbitmqctl set_policy ha-nodes &#8220;^nodes\\.&#8221; \\<br \/>\u00a0\u00a0 &#8216;{&#8220;ha-mode&#8221;:&#8221;nodes&#8221;,&#8221;ha-params&#8221;:[&#8220;<a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"8af8ebe8e8e3fecae2ebe1ebf9efa7ffe8ffe4feffbab8\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>&#8220;, &#8220;<a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"c2b0a3a0a0abb682aaa3a9a3b1a7efb7a0b7acb6b7f2f1\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>&#8220;]}&#8217;<\/p>\n<p>RabbitMQ list ha policies.<\/p>\n<p class=\"command\">sudo rabbitmqctl list_policies;<\/p>\n<p>RabbitMQ delete specific ha policy.<\/p>\n<p class=\"command\">sudo rabbitmqctl clear_policy ha-two<\/p>\n<p><a class=\"fancybox\" id=\"img-7\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_set_up_rabbitmq_cluster_on_ubuntu_1804_lts\/big\/7.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-set-up-rabbitmq-cluster-on-ubuntu-18-04-lts-6.png\" alt=\"Setup replication\" width=\"500\" height=\"222\" title=\"\"><\/a><\/p>\n<h2 id=\"step-testing\">Step 8 &#8211; Testing<\/h2>\n<p>Open your web browser and type the IP address of the node with port &#8216;15672&#8217;.<\/p>\n<p><a href=\"http:\/\/10.0.15.21:15672\/\">http:\/\/10.0.15.21:15672\/<\/a><\/p>\n<p>Type the username &#8216;hakase&#8217; with password &#8216;<a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"721303051743404132\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>&#8216;.<\/p>\n<p><a class=\"fancybox\" id=\"img-8\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_set_up_rabbitmq_cluster_on_ubuntu_1804_lts\/big\/8.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-set-up-rabbitmq-cluster-on-ubuntu-18-04-lts-7.png\" alt=\"Login to RabbitMQ\" width=\"500\" height=\"175\" title=\"\"><\/a><\/p>\n<p>And you will get the RabbitMQ admin dashboard as shown below.<\/p>\n<p><a class=\"fancybox\" id=\"img-9\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_set_up_rabbitmq_cluster_on_ubuntu_1804_lts\/big\/9.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-set-up-rabbitmq-cluster-on-ubuntu-18-04-lts-8.png\" alt=\"RabbitMQ dashboard\" width=\"500\" height=\"291\" title=\"\"><\/a><\/p>\n<p>All cluster nodes status is up and running.<\/p>\n<p>Now click on the &#8216;Admin&#8217; tab menu, and click the &#8216;Users&#8217; menu on the side.<\/p>\n<p>And you will get hakase user on the list.<\/p>\n<p><a class=\"fancybox\" id=\"img-11\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_set_up_rabbitmq_cluster_on_ubuntu_1804_lts\/big\/11.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-set-up-rabbitmq-cluster-on-ubuntu-18-04-lts-9.png\" alt=\"User list\" width=\"500\" height=\"224\" title=\"\"><\/a><\/p>\n<p>Now click on the &#8216;Admin&#8217; tab menu, and click the &#8216;Policies&#8217; menu on the side.<\/p>\n<p>And you will get all RabbitMQ ha policies we&#8217;ve created.<\/p>\n<p><a class=\"fancybox\" id=\"img-10\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_set_up_rabbitmq_cluster_on_ubuntu_1804_lts\/big\/10.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-set-up-rabbitmq-cluster-on-ubuntu-18-04-lts-10.png\" alt=\"Policies\" width=\"500\" height=\"254\" title=\"\"><\/a><\/p>\n<p>The installation and configuration of RabbitMQ Cluster on Ubuntu 18.04 servers have been completed successfully.<\/p>\n<h2 id=\"reference\">Reference<\/h2>\n<div class=\"authorbox\" readability=\"15\">\n<p><strong>About Muhammad Arul<\/strong><\/p>\n<p>Muhammad Arul is a freelance system administrator and technical writer. He is working with Linux Environments for more than 5 years, an Open Source enthusiast and highly motivated on Linux installation and troubleshooting. Mostly working with RedHat\/CentOS Linux and Ubuntu\/Debian, Nginx and Apache web server, Proxmox, Zimbra Administration, and Website Optimization. Currently learning about OpenStack and Container Technology.<\/p>\n<\/div>\n<div>\n<p><b>Share this page:<\/b><\/p>\n<p>\n<a href=\"https:\/\/www.facebook.com\/sharer.php?u=https%3A%2F%2Fwww.howtoforge.com%2Ftutorial%2Fhow-to-set-up-rabbitmq-cluster-on-ubuntu-1804-lts%2F\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-set-up-rabbitmq-cluster-on-ubuntu-18-04-lts-11.png\" height=\"20\" alt=\"\" title=\"\"><\/a><br \/>\n<a href=\"https:\/\/twitter.com\/intent\/tweet?url=https%3A%2F%2Fwww.howtoforge.com%2Ftutorial%2Fhow-to-set-up-rabbitmq-cluster-on-ubuntu-1804-lts%2F&amp;text=How+to+Set+up+RabbitMQ+Cluster+on+Ubuntu+18.04+LTS&amp;via=howtoforgecom&amp;related=howtoforgecom\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-set-up-rabbitmq-cluster-on-ubuntu-18-04-lts-12.png\" height=\"20\" alt=\"\" title=\"\"><\/a><br \/>\n<a href=\"https:\/\/twitter.com\/howtoforgecom\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-set-up-rabbitmq-cluster-on-ubuntu-18-04-lts-13.png\" height=\"20\" alt=\"\" title=\"\"><\/a><br \/>\n<a href=\"https:\/\/plus.google.com\/share?url=https%3A%2F%2Fwww.howtoforge.com%2Ftutorial%2Fhow-to-set-up-rabbitmq-cluster-on-ubuntu-1804-lts%2F\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/how-to-set-up-rabbitmq-cluster-on-ubuntu-18-04-lts-14.png\" height=\"20\" alt=\"\" title=\"\"><\/a>\n<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>RabbitMQ is an open source message-broker software that originally implemented the AMQP (Advanced Message Queuing Protocol) protocol, and while it has been developed and extended in order to support other protocols such as STOMP (Streaming Text Oriented Messaging Protocol), and MQTT (Message Queuing Telemetry Transport). A\u00a0message-queueing \/ message-broker software\u00a0is used for sending and receiving messages &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36],"tags":[],"class_list":["post-6973","post","type-post","status-publish","format-standard","hentry","category-36"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/6973","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=6973"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/6973\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=6973"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=6973"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=6973"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}