Rebalance quorum #8099
Unanswered
MonicaMagoniCom
asked this question in
Questions
Replies: 5 comments 12 replies
-
Quorum queues only place themselves over 3 nodes by default so perhaps
there are fewer members on one of your nodes.
Why 4 nodes?
…On Thu, 4 May 2023 at 10:13, MonicaMagoniCom ***@***.***> wrote:
I have a cluster of 4 rabbitmq instances with both quorum and classic
queues. When I do:
rabbitmq-queue rebalance all
I get the following message:
[warning] Node :"
***@***.***"
contains 128 queues, but all have already migrated. Do nothing
What does this mean?
I actually have one instance which only has few queues and with the
rebalancing nothing changes.
—
Reply to this email directly, view it on GitHub
<#8099>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJAHFA73TZYR6GM4XTUE4DXENXMJANCNFSM6AAAAAAXVQA4CU>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
*Karl Nilsson*
|
Beta Was this translation helpful? Give feedback.
1 reply
-
A quorum queue declare will use the node used for the declaration + 2
random nodes to spread the quorum queue over.
You can manually modify which members go where using the rabbitmq-queues
tool.
https://www.rabbitmq.com/quorum-queues.html#replica-management
…On Thu, 4 May 2023 at 12:56, MonicaMagoniCom ***@***.***> wrote:
But if I want to spread the replicas over 4 nodes how can I do it? I mean:
replication factor is 3, but nodes are more than 3
—
Reply to this email directly, view it on GitHub
<#8099 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJAHFDRSKDJAF7HODGT5ULXEOKNLANCNFSM6AAAAAAXVQA4CU>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
--
*Karl Nilsson*
|
Beta Was this translation helpful? Give feedback.
1 reply
-
You can use the grow and shrink commands to move some members of some
queues to the 4th node so say half of the queues span, A, B, C and half
span B, C, D.
However because all nodes need members on B and C you may not see that much
benefit from it. If you increase your node count to 6 you can split it
better.
…On Thu, 4 May 2023 at 14:33, MonicaMagoniCom ***@***.***> wrote:
I can try to explain why I'm asking you this: suppose I have a cluster of
3 nodes with quorum queues; suppose that after some time, the traffic and
the number of queues increases and the cluster resources usage becomes
really high. To prevent customer dissatisfaction and system malfunction, I
decide to increase cluster members to 4. How can I use the fourth replica
to reduce other replica's load?
Thank you
—
Reply to this email directly, view it on GitHub
<#8099 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJAHFER7DMFLKXCHLP2A23XEOV3FANCNFSM6AAAAAAXVQA4CU>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
--
*Karl Nilsson*
|
Beta Was this translation helpful? Give feedback.
0 replies
-
"all queues need members on B and C" I meant to write.
…On Thu, 4 May 2023 at 14:41, Karl Nilsson ***@***.***> wrote:
You can use the grow and shrink commands to move some members of some
queues to the 4th node so say half of the queues span, A, B, C and half
span B, C, D.
However because all nodes need members on B and C you may not see that
much benefit from it. If you increase your node count to 6 you can split it
better.
On Thu, 4 May 2023 at 14:33, MonicaMagoniCom ***@***.***>
wrote:
> I can try to explain why I'm asking you this: suppose I have a cluster of
> 3 nodes with quorum queues; suppose that after some time, the traffic and
> the number of queues increases and the cluster resources usage becomes
> really high. To prevent customer dissatisfaction and system malfunction, I
> decide to increase cluster members to 4. How can I use the fourth replica
> to reduce other replica's load?
>
> Thank you
>
> —
> Reply to this email directly, view it on GitHub
> <#8099 (reply in thread)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAJAHFER7DMFLKXCHLP2A23XEOV3FANCNFSM6AAAAAAXVQA4CU>
> .
> You are receiving this because you commented.Message ID:
> ***@***.***
> com>
>
--
*Karl Nilsson*
--
*Karl Nilsson*
|
Beta Was this translation helpful? Give feedback.
0 replies
-
How can I move replica from one node to another one? |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a cluster of 4 rabbitmq instances with both quorum and classic queues. When I do:
rabbitmq-queue rebalance all
I get the following message:
[warning] Node :"rabbit@rabbitmq-quorum-server-0.rabbitmq-quorum-nodes.rabbitmq-system-quorum" contains 128 queues, but all have already migrated. Do nothing
What does this mean?
I actually have one instance which only has few queues and with the rebalancing nothing changes.
Beta Was this translation helpful? Give feedback.
All reactions