mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-09 12:46:30 +00:00
30 lines
609 B
Plaintext
30 lines
609 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# rabbitmq-upgrade
|
|
|
|
> Manage the upgrade of a RabbitMQ node.
|
|
> More information: <https://www.rabbitmq.com/docs/man/rabbitmq-upgrade.8>.
|
|
|
|
- Wait for all quorum queues to have an above minimum online quorum:
|
|
|
|
`rabbitmq-upgrade await_online_quorum_plus_one`
|
|
|
|
- Put the node in maintenance mode:
|
|
|
|
`rabbitmq-upgrade drain`
|
|
|
|
- Put the node out of maintenance and into regular operating mode:
|
|
|
|
`rabbitmq-upgrade revive`
|
|
|
|
- Run post-upgrade tasks:
|
|
|
|
`rabbitmq-upgrade post_upgrade`
|
|
|
|
- Display help:
|
|
|
|
`rabbitmq-upgrade help`
|