RABBITMQ-UPGRADE(8)

πŸ“¦
version 4.3.7 Β· 3 versions
, in alpine 3.24, arch rolling, nixpkgs unstable

🌸 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" (unless RABBITMQ_NODENAME has been overridden, in which case, respect the override bestie πŸ’…). The output of hostname -s is usually the correct suffix to use after the @ sign. If you wanna know how a RabbitMQ node gets configured, that's rabbitmq-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 the RABBITMQ_ERLANG_COOKIE environment 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:

πŸ’œ 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