RABBITMQ-UPGRADE(8)
πΈ rabbitmq-upgrade(8) β glow-up szn for your RabbitMQ nodes π
okay so bestie, real talk: this is a page from the System Manager's Manual, and it's literally the manual for rabbitmq-upgrade, the little command-line bestie you call on when you're upgrading RabbitMQ nodes. Think of it as the backstage crew for your cluster's glow-up. π
β¨ NAME β¨
rabbitmq-upgrade β the RabbitMQ installation upgrade tools, aka your upgrade-era support system π«Ά
β¨ SYNOPSIS β¨
rabbitmq-upgrade [-q] [-s] [-l] [-n node] [-t timeout] command
[command_options]
β¨ DESCRIPTION β¨
So rabbitmq-upgrade is a command line tool, and its whole personality is providing the commands you need during the upgrade of RabbitMQ nodes. It's giving "I'm only here for the transition era."
Wanna actually learn about RabbitMQ installation upgrades? The upgrade guide is right here, no gatekeeping:
https://www.rabbitmq.com/docs/upgrade
β¨ OPTIONS β¨
-n nodeβ picks the node you're talking to. The default is"rabbit@target-hostname", where target-hostname is the local host. So on a host named"myserver.example.com", the node name will usually be"rabbit@myserver"(unlessRABBITMQ_NODENAMEhas been overridden, in which case, respect the override bestie π ). The output ofhostname -sis usually the correct suffix to use after the@sign. If you wanna know how a RabbitMQ node gets configured, that'srabbitmq-server(8)'s whole thing.-q,--quietβ quiet output mode is selected. Informational messages get reduced when quiet mode is in effect. less yapping, same tea π΅-s,--silentβ silent output mode is selected. Informational messages are reduced and table headers are suppressed when silent mode is in effect. literally the introvert mode of output modes π-t timeout,--timeout timeoutβ operation timeout, in seconds. important caveat: not all commands support timeouts. Default is infinity, which is a mood honestly βΎοΈ-l,--longnamesβ you must specify this when the cluster is configured to use long (FQDN) node names. no cap, mandatory. to learn more, hit up the RabbitMQ Clustering guide:https://www.rabbitmq.com/docs/clustering--erlang-cookie cookieβ the shared secret used to authenticate to the target node. lowkey please prefer using a local file or theRABBITMQ_ERLANG_COOKIEenvironment variable instead of putting this option on the command line, okay? π to learn more, the RabbitMQ CLI Tools guide has you:https://www.rabbitmq.com/docs/cli
π COMMANDS π
help
Displays general help plus the commands that rabbitmq-upgrade supports. it's the "what can u even do" command, iconic.
post_upgrade
Runs post-upgrade tasks. In the current version, it performs the rebalance of mirrored and quorum queues across all nodes in the cluster. yes, it's doing the whole "everybody share the load" moment β¨
await_online_quorum_plus_one
Waits for all quorum queues to have an above minimum online quorum. Why do we care? Because this makes sure that no queues would lose their quorum if the target node is shut down. it's giving protective bestie energy fr fr π«Ά
drain
Puts the node in maintenance mode. Such nodes will not serve any client traffic or considered for hosting any queue leader replicas. so basically: node is on a spa day, do not disturb πββοΈ
To learn more, see the RabbitMQ Upgrade guide: https://www.rabbitmq.com/docs/upgrade#maintenance-mode
revive
Puts the node out of maintenance and into regular operating mode. Such nodes will again serve client traffic and considered for queue leader replica placement. spa day over, back to being a main character π₯
To learn more, see the RabbitMQ Upgrade guide: https://www.rabbitmq.com/docs/upgrade#maintenance-mode
π SEE ALSO π
the whole friend group shows up here:
rabbitmqctl(8)rabbitmq-diagnostics(8)rabbitmq-server(8)rabbitmq-queues(8)rabbitmq-streams(8)rabbitmq-service(8)rabbitmq-env.conf(5)
π AUTHOR π
The RabbitMQ Team <contact-tanzu-data.pdl@broadcom.com> β they made this, we stan π
and that's the whole page bestie, you ate π this cutie was brought to you by RabbitMQ Server (the source/version vibe, yk how it is) and it's dated June 22, 2023 β periodt. ππ
π¦ where this page comes from
- alpine 3.24: rabbitmq-server-doc 4.3.7-r0 Β· MPL-2.0
- arch rolling: rabbitmq 4.3.6-1 Β· MPL-2.0
- nixpkgs unstable: rabbitmq-server 4.3.1
- Copyright (c) 2007-2026 Broadcom. All Rights Reserved. The term βBroadcomβ refers to Broadcom Inc. and/or its subsidiaries. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms