snippetbashTip
rabbitmqctl-cluster — Manage RabbitMQ nodes in a cluster. More information: <https://www.rabbitmq.com/docs/man/rabbitmqctl
Viewed 0 times
commandclimanageclusterrabbitmqnodesmorerabbitmqctl-cluster
Problem
How to use the
rabbitmqctl-cluster command: Manage RabbitMQ nodes in a cluster. More information: <https://www.rabbitmq.com/docs/man/rabbitmqctl.8>.Solution
rabbitmqctl-cluster — Manage RabbitMQ nodes in a cluster. More information: <https://www.rabbitmq.com/docs/man/rabbitmqctl.8>.Display the status of the cluster:
rabbitmqctl cluster_statusDisplay the status of the current node:
rabbitmqctl statusStart the RabbitMQ application on a specific node:
rabbitmqctl {{[-n|--node]}} {{nodename}} start_appStop the RabbitMQ application on a specific node:
rabbitmqctl {{[-n|--node]}} {{nodename}} stop_appStop a specific RabbitMQ node:
rabbitmqctl {{[-n|--node]}} {{nodename}} stopReset a specific RabbitMQ node to a clean state:
rabbitmqctl {{[-n|--node]}} {{nodename}} resetMake the current node join an existing cluster:
rabbitmqctl join_cluster {{nodename}}Code Snippets
Display the status of the cluster
rabbitmqctl cluster_statusDisplay the status of the current node
rabbitmqctl statusStart the RabbitMQ application on a specific node
rabbitmqctl {{[-n|--node]}} {{nodename}} start_appStop the RabbitMQ application on a specific node
rabbitmqctl {{[-n|--node]}} {{nodename}} stop_appStop a specific RabbitMQ node
rabbitmqctl {{[-n|--node]}} {{nodename}} stopContext
tldr-pages: common/rabbitmqctl-cluster
Revisions (0)
No revisions yet.