Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$ ./rabbitmqctl cluster_status
Cluster status of node 'rabbit_1@Ayandas-MacBook-Pro' ...
[{nodes,[{disc,['rabbit@Ayandas-MacBook-Pro','rabbit_1@Ayandas-MacBook-Pro',
'rabbit_2@Ayandas-MacBook-Pro']}]},
{running_nodes,['rabbit_2@Ayandas-MacBook-Pro','rabbit@Ayandas-MacBook-Pro',
'rabbit_1@Ayandas-MacBook-Pro']},
{cluster_name,<<"rabbit@ayandas-macbook-pro">>},
{partitions,[]},
{alarms,[{'rabbit_2@Ayandas-MacBook-Pro',[]},
{'rabbit@Ayandas-MacBook-Pro',[]},
{'rabbit_1@Ayandas-MacBook-Pro',[]}]}]
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$ ./rabbitmqctl list_queues name pid slave_pids
Listing queues ...
test.queue.10 <[email protected]> [<[email protected]>, <[email protected]>]
test.queue.5 <[email protected]> [<[email protected]>, <[email protected]>]
test.queue.16 <[email protected]> [<[email protected]>, <[email protected]>]
test.queue.3 <[email protected]> [<[email protected]>, <[email protected]>]
test.queue.20 <[email protected]> [<[email protected]>, <[email protected]>]
test.queue.8 <[email protected]> [<[email protected]>, <[email protected]>]
test.queue.19 <[email protected]> [<[email protected]>, <[email protected]>]
test.queue.1 <[email protected]> [<[email protected]>, <[email protected]>]
test.queue.2 <[email protected]> [<[email protected]>, <[email protected]>]
test.queue.15 <[email protected]> [<[email protected]>, <[email protected]>]
test.queue.17 <[email protected]> [<[email protected]>, <[email protected]>]
test.queue.9 <[email protected]> [<[email protected]>, <[email protected]>]
test.queue.11 <[email protected]> [<[email protected]>, <[email protected]>]
test.queue.7 <[email protected]> [<[email protected]>, <[email protected]>]
test.queue.4 <[email protected]> [<[email protected]>, <[email protected]>]
test.queue.18 <[email protected]> [<[email protected]>, <[email protected]>]
test.queue.14 <[email protected]> [<[email protected]>, <[email protected]>]
test.queue.6 <[email protected]> [<[email protected]>, <[email protected]>]
test.queue.13 <[email protected]> [<[email protected]>, <[email protected]>]
bench <[email protected]> [<[email protected]>, <[email protected]>]
test.queue.12 <[email protected]> [<[email protected]>, <[email protected]>]
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$ ./rabbitmq-plugins enable rabbitmq_queue_master_balancer
The following plugins have been enabled:
rabbitmq_queue_master_balancer
Applying plugin configuration to rabbit_1@Ayandas-MacBook-Pro... started 1 plugin.
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$ ./rabbitmqctl eval 'rabbit_queue_master_balancer:info().'
[{parent_pid,<10393.1436.0>},
{phase,idle},
{queues,[]},
{balanced,[]},
{operational_priority,5},
{sync_timeout,3000},
{policy_transition_delay,50},
{last_balance_timestamp,undefined}]
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$ ./rabbitmqctl eval 'rabbit_queue_master_balancer:load_queues().'
{ok,21}
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$ ./rabbitmqctl eval 'rabbit_queue_master_balancer:info().'
[{parent_pid,<10393.1436.0>},
{phase,ready},
{queues,[{amqqueue,{resource,<<"/">>,queue,<<"test.queue.10">>},
false,false,none,[],<10469.663.0>,
[<10468.1067.0>,<10393.1190.0>],
[<10393.1190.0>,<10468.1067.0>],
['rabbit_2@Ayandas-MacBook-Pro',
'rabbit_1@Ayandas-MacBook-Pro'],
[{vhost,<<"/">>},
{name,<<"ha-all">>},
{pattern,<<".*">>},
{'apply-to',<<"queues">>},
{definition,[{<<"ha-mode">>,<<"all">>},
{<<"ha-sync-mode">>,<<"automatic">>}]},
{priority,1}],
[{<10393.1198.0>,<10393.1190.0>},
{<10468.1074.0>,<10468.1067.0>},
{<10469.1297.0>,<10469.663.0>}],
[],live,1},
{amqqueue,{resource,<<"/">>,queue,<<"test.queue.5">>},
false,false,none,[],<10469.643.0>,
[<10468.1093.0>,<10393.1244.0>],
[<10393.1244.0>,<10468.1093.0>],
['rabbit_2@Ayandas-MacBook-Pro',
'rabbit_1@Ayandas-MacBook-Pro'],
[{vhost,<<"/">>},
{name,<<"ha-all">>},
{pattern,<<".*">>},
{'apply-to',<<"queues">>},
{definition,[{<<"ha-mode">>,<<"all">>},
{<<"ha-sync-mode">>,<<"automatic">>}]},
{priority,1}],
[{<10393.1251.0>,<10393.1244.0>},
{<10468.1101.0>,<10468.1093.0>},
{<10469.1296.0>,<10469.643.0>}],
[],live,1},
{amqqueue,{resource,<<"/">>,queue,<<"test.queue.16">>},
false,false,none,[],<10469.687.0>,
[<10468.1088.0>,<10393.1193.0>],
[<10393.1193.0>,<10468.1088.0>],
['rabbit_2@Ayandas-MacBook-Pro',
'rabbit_1@Ayandas-MacBook-Pro'],
[{vhost,<<"/">>},
{name,<<"ha-all">>},
{pattern,<<".*">>},
{'apply-to',<<"queues">>},
{definition,[{<<"ha-mode">>,<<"all">>},
{<<"ha-sync-mode">>,<<"automatic">>}]},
{priority,1}],
[{<10393.1201.0>,<10393.1193.0>},
{<10468.1098.0>,<10468.1088.0>},
{<10469.1314.0>,<10469.687.0>}],
[],live,1},
{amqqueue,{resource,<<"/">>,queue,<<"test.queue.3">>},
false,false,none,[],<10469.635.0>,
[<10468.1102.0>,<10393.1247.0>],
[<10393.1247.0>,<10468.1102.0>],
['rabbit_2@Ayandas-MacBook-Pro',
'rabbit_1@Ayandas-MacBook-Pro'],
[{vhost,<<"/">>},
{name,<<"ha-all">>},
{pattern,<<".*">>},
{'apply-to',<<"queues">>},
{definition,[{<<"ha-mode">>,<<"all">>},
{<<"ha-sync-mode">>,<<"automatic">>}]},
{priority,1}],
[{<10393.1258.0>,<10393.1247.0>},
{<10468.1114.0>,<10468.1102.0>},
{<10469.1300.0>,<10469.635.0>}],
[],live,1},
{amqqueue,{resource,<<"/">>,queue,<<"test.queue.20">>},
false,false,none,[],<10469.703.0>,
[<10468.1106.0>,<10393.1221.0>],
[<10393.1221.0>,<10468.1106.0>],
['rabbit_2@Ayandas-MacBook-Pro',
'rabbit_1@Ayandas-MacBook-Pro'],
[{vhost,<<"/">>},
{name,<<"ha-all">>},
{pattern,<<".*">>},
{'apply-to',<<"queues">>},
{definition,[{<<"ha-mode">>,<<"all">>},
{<<"ha-sync-mode">>,<<"automatic">>}]},
{priority,1}],
[{<10393.1224.0>,<10393.1221.0>},
{<10468.1113.0>,<10468.1106.0>},
{<10469.1311.0>,<10469.703.0>}],
[],live,1},
{amqqueue,{resource,<<"/">>,queue,<<"test.queue.8">>},
false,false,none,[],<10469.655.0>,
[<10468.1112.0>,<10393.1218.0>],
[<10393.1218.0>,<10468.1112.0>],
['rabbit_2@Ayandas-MacBook-Pro',
'rabbit_1@Ayandas-MacBook-Pro'],
[{vhost,<<"/">>},
{name,<<"ha-all">>},
{pattern,<<".*">>},
{'apply-to',<<"queues">>},
{definition,[{<<"ha-mode">>,<<"all">>},
{<<"ha-sync-mode">>,<<"automatic">>}]},
{priority,1}],
[{<10393.1223.0>,<10393.1218.0>},
{<10468.1122.0>,<10468.1112.0>},
{<10469.1315.0>,<10469.655.0>}],
[],live,1},
{amqqueue,{resource,<<"/">>,queue,<<"test.queue.19">>},
false,false,none,[],<10469.699.0>,
[<10468.1082.0>,<10393.1187.0>],
[<10393.1187.0>,<10468.1082.0>],
['rabbit_2@Ayandas-MacBook-Pro',
'rabbit_1@Ayandas-MacBook-Pro'],
[{vhost,<<"/">>},
{name,<<"ha-all">>},
{pattern,<<".*">>},
{'apply-to',<<"queues">>},
{definition,[{<<"ha-mode">>,<<"all">>},
{<<"ha-sync-mode">>,<<"automatic">>}]},
{priority,1}],
[{<10393.1197.0>,<10393.1187.0>},
{<10468.1090.0>,<10468.1082.0>},
{<10469.1298.0>,<10469.699.0>}],
[],live,1},
{amqqueue,{resource,<<"/">>,queue,<<"test.queue.1">>},
false,false,none,[],<10469.627.0>,
[<10468.1097.0>,<10393.1227.0>],
[<10393.1227.0>,<10468.1097.0>],
['rabbit_2@Ayandas-MacBook-Pro',
'rabbit_1@Ayandas-MacBook-Pro'],
[{vhost,<<"/">>},
{name,<<"ha-all">>},
{pattern,<<".*">>},
{'apply-to',<<"queues">>},
{definition,[{<<"ha-mode">>,<<"all">>},
{<<"ha-sync-mode">>,<<"automatic">>}]},
{priority,1}],
[{<10393.1235.0>,<10393.1227.0>},
{<10468.1103.0>,<10468.1097.0>},
{<10469.1313.0>,<10469.627.0>}],
[],live,1},
{amqqueue,{resource,<<"/">>,queue,<<"test.queue.2">>},
false,false,none,[],<10469.631.0>,
[<10468.1073.0>,<10393.1209.0>],
[<10393.1209.0>,<10468.1073.0>],
['rabbit_2@Ayandas-MacBook-Pro',
'rabbit_1@Ayandas-MacBook-Pro'],
[{vhost,<<"/">>},
{name,<<"ha-all">>},
{pattern,<<".*">>},
{'apply-to',<<"queues">>},
{definition,[{<<"ha-mode">>,<<"all">>},
{<<"ha-sync-mode">>,<<"automatic">>}]},
{priority,1}],
[{<10393.1212.0>,<10393.1209.0>},
{<10468.1076.0>,<10468.1073.0>},
{<10469.1310.0>,<10469.631.0>}],
[],live,1},
{amqqueue,{resource,<<"/">>,queue,<<"test.queue.15">>},
false,false,none,[],<10469.683.0>,
[<10468.1125.0>,<10393.1257.0>],
[<10393.1257.0>,<10468.1125.0>],
['rabbit_2@Ayandas-MacBook-Pro',
'rabbit_1@Ayandas-MacBook-Pro'],
[{vhost,<<"/">>},
{name,<<"ha-all">>},
{pattern,<<".*">>},
{'apply-to',<<"queues">>},
{definition,[{<<"ha-mode">>,<<"all">>},
{<<"ha-sync-mode">>,<<"automatic">>}]},
{priority,1}],
[{<10393.1265.0>,<10393.1257.0>},
{<10468.1133.0>,<10468.1125.0>},
{<10469.1316.0>,<10469.683.0>}],
[],live,1},
{amqqueue,{resource,<<"/">>,queue,<<"test.queue.17">>},
false,false,none,[],<10469.691.0>,
[<10468.1079.0>,<10393.1196.0>],
[<10393.1196.0>,<10468.1079.0>],
['rabbit_2@Ayandas-MacBook-Pro',
'rabbit_1@Ayandas-MacBook-Pro'],
[{vhost,<<"/">>},
{name,<<"ha-all">>},
{pattern,<<".*">>},
{'apply-to',<<"queues">>},
{definition,[{<<"ha-mode">>,<<"all">>},
{<<"ha-sync-mode">>,<<"automatic">>}]},
{priority,1}],
[{<10393.1202.0>,<10393.1196.0>},
{<10468.1089.0>,<10468.1079.0>},
{<10469.1312.0>,<10469.691.0>}],
[],live,1},
{amqqueue,{resource,<<"/">>,queue,<<"test.queue.9">>},
false,false,none,[],<10469.659.0>,
[<10468.1070.0>,<10393.1206.0>],
[<10393.1206.0>,<10468.1070.0>],
['rabbit_2@Ayandas-MacBook-Pro',
'rabbit_1@Ayandas-MacBook-Pro'],
[{vhost,<<"/">>},
{name,<<"ha-all">>},
{pattern,<<".*">>},
{'apply-to',<<"queues">>},
{definition,[{<<"ha-mode">>,<<"all">>},
{<<"ha-sync-mode">>,<<"automatic">>}]},
{priority,1}],
[{<10393.1211.0>,<10393.1206.0>},
{<10468.1075.0>,<10468.1070.0>},
{<10469.1299.0>,<10469.659.0>}],
[],live,1},
{amqqueue,{resource,<<"/">>,queue,<<"test.queue.11">>},
false,false,none,[],<10469.667.0>,
[<10468.1085.0>,<10393.1203.0>],
[<10393.1203.0>,<10468.1085.0>],
['rabbit_2@Ayandas-MacBook-Pro',
'rabbit_1@Ayandas-MacBook-Pro'],
[{vhost,<<"/">>},
{name,<<"ha-all">>},
{pattern,<<".*">>},
{'apply-to',<<"queues">>},
{definition,[{<<"ha-mode">>,<<"all">>},
{<<"ha-sync-mode">>,<<"automatic">>}]},
{priority,1}],
[{<10393.1210.0>,<10393.1203.0>},
{<10468.1094.0>,<10468.1085.0>},
{<10469.1309.0>,<10469.667.0>}],
[],live,1},
{amqqueue,{resource,<<"/">>,queue,<<"test.queue.7">>},
false,false,none,[],<10469.651.0>,
[<10468.1134.0>,<10393.1252.0>],
[<10393.1252.0>,<10468.1134.0>],
['rabbit_2@Ayandas-MacBook-Pro',
'rabbit_1@Ayandas-MacBook-Pro'],
[{vhost,<<"/">>},
{name,<<"ha-all">>},
{pattern,<<".*">>},
{'apply-to',<<"queues">>},
{definition,[{<<"ha-mode">>,<<"all">>},
{<<"ha-sync-mode">>,<<"automatic">>}]},
{priority,1}],
[{<10393.1268.0>,<10393.1252.0>},
{<10468.1144.0>,<10468.1134.0>},
{<10469.1328.0>,<10469.651.0>}],
[],live,1},
{amqqueue,{resource,<<"/">>,queue,<<"test.queue.4">>},
false,false,none,[],<10469.639.0>,
[<10468.1121.0>,<10393.1239.0>],
[<10393.1239.0>,<10468.1121.0>],
['rabbit_2@Ayandas-MacBook-Pro',
'rabbit_1@Ayandas-MacBook-Pro'],
[{vhost,<<"/">>},
{name,<<"ha-all">>},
{pattern,<<".*">>},
{'apply-to',<<"queues">>},
{definition,[{<<"ha-mode">>,<<"all">>},
{<<"ha-sync-mode">>,<<"automatic">>}]},
{priority,1}],
[{<10393.1253.0>,<10393.1239.0>},
{<10468.1132.0>,<10468.1121.0>},
{<10469.1317.0>,<10469.639.0>}],
[],live,1},
{amqqueue,{resource,<<"/">>,queue,<<"test.queue.18">>},
false,false,none,[],<10469.695.0>,
[<10468.1109.0>,<10393.1234.0>],
[<10393.1234.0>,<10468.1109.0>],
['rabbit_2@Ayandas-MacBook-Pro',
'rabbit_1@Ayandas-MacBook-Pro'],
[{vhost,<<"/">>},
{name,<<"ha-all">>},
{pattern,<<".*">>},
{'apply-to',<<"queues">>},
{definition,[{<<"ha-mode">>,<<"all">>},
{<<"ha-sync-mode">>,<<"automatic">>}]},
{priority,1}],
[{<10393.1250.0>,<10393.1234.0>},
{<10468.1118.0>,<10468.1109.0>},
{<10469.1318.0>,<10469.695.0>}],
[],live,1},
{amqqueue,{resource,<<"/">>,queue,<<"test.queue.14">>},
false,false,none,[],<10469.679.0>,
[<10468.1143.0>,<10393.1264.0>],
[<10393.1264.0>,<10468.1143.0>],
['rabbit_2@Ayandas-MacBook-Pro',
'rabbit_1@Ayandas-MacBook-Pro'],
[{vhost,<<"/">>},
{name,<<"ha-all">>},
{pattern,<<".*">>},
{'apply-to',<<"queues">>},
{definition,[{<<"ha-mode">>,<<"all">>},
{<<"ha-sync-mode">>,<<"automatic">>}]},
{priority,1}],
[{<10393.1272.0>,<10393.1264.0>},
{<10468.1152.0>,<10468.1143.0>},
{<10469.1329.0>,<10469.679.0>}],
[],live,1},
{amqqueue,{resource,<<"/">>,queue,<<"test.queue.6">>},
false,false,none,[],<10469.647.0>,
[<10468.1117.0>,<10393.1215.0>],
[<10393.1215.0>,<10468.1117.0>],
['rabbit_2@Ayandas-MacBook-Pro',
'rabbit_1@Ayandas-MacBook-Pro'],
[{vhost,<<"/">>},
{name,<<"ha-all">>},
{pattern,<<".*">>},
{'apply-to',<<"queues">>},
{definition,[{<<"ha-mode">>,<<"all">>},
{<<"ha-sync-mode">>,<<"automatic">>}]},
{priority,1}],
[{<10393.1222.0>,<10393.1215.0>},
{<10468.1126.0>,<10468.1117.0>},
{<10469.1322.0>,<10469.647.0>}],
[],live,1},
{amqqueue,{resource,<<"/">>,queue,<<"test.queue.13">>},
false,false,none,[],<10469.675.0>,
[<10468.1154.0>,<10393.1261.0>],
[<10393.1261.0>,<10468.1154.0>],
['rabbit_2@Ayandas-MacBook-Pro',
'rabbit_1@Ayandas-MacBook-Pro'],
[{vhost,<<"/">>},
{name,<<"ha-all">>},
{pattern,<<".*">>},
{'apply-to',<<"queues">>},
{definition,[{<<"ha-mode">>,<<"all">>},
{<<"ha-sync-mode">>,<<"automatic">>}]},
{priority,1}],
[{<10393.1269.0>,<10393.1261.0>},
{<10468.1155.0>,<10468.1154.0>},
{<10469.1326.0>,<10469.675.0>}],
[],live,1},
{amqqueue,{resource,<<"/">>,queue,<<"bench">>},
false,false,none,
[{<<"x-message-ttl">>,long,60000}],
<10469.582.0>,
[<10468.1129.0>,<10393.1279.0>],
[<10393.1279.0>,<10468.1129.0>],
['rabbit_2@Ayandas-MacBook-Pro',
'rabbit_1@Ayandas-MacBook-Pro'],
[{vhost,<<"/">>},
{name,<<"ha-all">>},
{pattern,<<".*">>},
{'apply-to',<<"queues">>},
{definition,[{<<"ha-mode">>,<<"all">>},
{<<"ha-sync-mode">>,<<"automatic">>}]},
{priority,1}],
[{<10393.1291.0>,<10393.1279.0>},
{<10468.1146.0>,<10468.1129.0>},
{<10469.1325.0>,<10469.582.0>}],
[],live,1},
{amqqueue,{resource,<<"/">>,queue,<<"test.queue.12">>},
false,false,none,[],<10469.671.0>,
[<10468.1137.0>,<10393.1270.0>],
[<10393.1270.0>,<10468.1137.0>],
['rabbit_2@Ayandas-MacBook-Pro',
'rabbit_1@Ayandas-MacBook-Pro'],
[{vhost,<<"/">>},
{name,<<"ha-all">>},
{pattern,<<".*">>},
{'apply-to',<<"queues">>},
{definition,[{<<"ha-mode">>,<<"all">>},
{<<"ha-sync-mode">>,<<"automatic">>}]},
{priority,1}],
[{<10393.1275.0>,<10393.1270.0>},
{<10468.1151.0>,<10468.1137.0>},
{<10469.1324.0>,<10469.671.0>}],
[],live,1}]},
{balanced,[]},
{operational_priority,5},
{sync_timeout,3000},
{policy_transition_delay,50},
{last_balance_timestamp,undefined}]
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$ ./rabbitmqctl eval 'rabbit_queue_master_balancer:report().'
{ok,[{'rabbit_2@Ayandas-MacBook-Pro',{queues,0}},
{'rabbit@Ayandas-MacBook-Pro',{queues,21}},
{'rabbit_1@Ayandas-MacBook-Pro',{queues,0}}]}
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$ ./rabbitmqctl eval 'rabbit_queue_master_balancer:go().'
ok
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$ ./rabbitmqctl eval 'rabbit_queue_master_balancer:info().'
[{parent_pid,<10393.1436.0>},
{phase,balancing_queues},
{queues,[{amqqueue,{resource,<<"/">>,queue,<<"test.queue.9">>},
false,false,none,[],<10469.659.0>,
[<10468.1070.0>,<10393.1206.0>],
[<10393.1206.0>,<10468.1070.0>],
['rabbit_2@Ayandas-MacBook-Pro',
'rabbit_1@Ayandas-MacBook-Pro'],
[{vhost,<<"/">>},
{name,<<"ha-all">>},
{pattern,<<".*">>},
{'apply-to',<<"queues">>},
{definition,[{<<"ha-mode">>,<<"all">>},
{<<"ha-sync-mode">>,<<"automatic">>}]},
{priority,1}],
[{<10393.1211.0>,<10393.1206.0>},
{<10468.1075.0>,<10468.1070.0>},
{<10469.1299.0>,<10469.659.0>}],
[],live,1},
{amqqueue,{resource,<<"/">>,queue,<<"test.queue.11">>},
false,false,none,[],<10469.667.0>,
[<10468.1085.0>,<10393.1203.0>],
[<10393.1203.0>,<10468.1085.0>],
['rabbit_2@Ayandas-MacBook-Pro',
'rabbit_1@Ayandas-MacBook-Pro'],
[{vhost,<<"/">>},
{name,<<"ha-all">>},
{pattern,<<".*">>},
{'apply-to',<<"queues">>},
{definition,[{<<"ha-mode">>,<<"all">>},
{<<"ha-sync-mode">>,<<"automatic">>}]},
{priority,1}],
[{<10393.1210.0>,<10393.1203.0>},
{<10468.1094.0>,<10468.1085.0>},
{<10469.1309.0>,<10469.667.0>}],
[],live,1},
{amqqueue,{resource,<<"/">>,queue,<<"test.queue.7">>},
false,false,none,[],<10469.651.0>,
[<10468.1134.0>,<10393.1252.0>],
[<10393.1252.0>,<10468.1134.0>],
['rabbit_2@Ayandas-MacBook-Pro',
'rabbit_1@Ayandas-MacBook-Pro'],
[{vhost,<<"/">>},
{name,<<"ha-all">>},
{pattern,<<".*">>},
{'apply-to',<<"queues">>},
{definition,[{<<"ha-mode">>,<<"all">>},
{<<"ha-sync-mode">>,<<"automatic">>}]},
{priority,1}],
[{<10393.1268.0>,<10393.1252.0>},
{<10468.1144.0>,<10468.1134.0>},
{<10469.1328.0>,<10469.651.0>}],
[],live,1},
{amqqueue,{resource,<<"/">>,queue,<<"test.queue.4">>},
false,false,none,[],<10469.639.0>,
[<10468.1121.0>,<10393.1239.0>],
[<10393.1239.0>,<10468.1121.0>],
['rabbit_2@Ayandas-MacBook-Pro',
'rabbit_1@Ayandas-MacBook-Pro'],
[{vhost,<<"/">>},
{name,<<"ha-all">>},
{pattern,<<".*">>},
{'apply-to',<<"queues">>},
{definition,[{<<"ha-mode">>,<<"all">>},
{<<"ha-sync-mode">>,<<"automatic">>}]},
{priority,1}],
[{<10393.1253.0>,<10393.1239.0>},
{<10468.1132.0>,<10468.1121.0>},
{<10469.1317.0>,<10469.639.0>}],
[],live,1},
{amqqueue,{resource,<<"/">>,queue,<<"test.queue.18">>},
false,false,none,[],<10469.695.0>,
[<10468.1109.0>,<10393.1234.0>],
[<10393.1234.0>,<10468.1109.0>],
['rabbit_2@Ayandas-MacBook-Pro',
'rabbit_1@Ayandas-MacBook-Pro'],
[{vhost,<<"/">>},
{name,<<"ha-all">>},
{pattern,<<".*">>},
{'apply-to',<<"queues">>},
{definition,[{<<"ha-mode">>,<<"all">>},
{<<"ha-sync-mode">>,<<"automatic">>}]},
{priority,1}],
[{<10393.1250.0>,<10393.1234.0>},
{<10468.1118.0>,<10468.1109.0>},
{<10469.1318.0>,<10469.695.0>}],
[],live,1},
{amqqueue,{resource,<<"/">>,queue,<<"test.queue.14">>},
false,false,none,[],<10469.679.0>,
[<10468.1143.0>,<10393.1264.0>],
[<10393.1264.0>,<10468.1143.0>],
['rabbit_2@Ayandas-MacBook-Pro',
'rabbit_1@Ayandas-MacBook-Pro'],
[{vhost,<<"/">>},
{name,<<"ha-all">>},
{pattern,<<".*">>},
{'apply-to',<<"queues">>},
{definition,[{<<"ha-mode">>,<<"all">>},
{<<"ha-sync-mode">>,<<"automatic">>}]},
{priority,1}],
[{<10393.1272.0>,<10393.1264.0>},
{<10468.1152.0>,<10468.1143.0>},
{<10469.1329.0>,<10469.679.0>}],
[],live,1},
{amqqueue,{resource,<<"/">>,queue,<<"test.queue.6">>},
false,false,none,[],<10469.647.0>,
[<10468.1117.0>,<10393.1215.0>],
[<10393.1215.0>,<10468.1117.0>],
['rabbit_2@Ayandas-MacBook-Pro',
'rabbit_1@Ayandas-MacBook-Pro'],
[{vhost,<<"/">>},
{name,<<"ha-all">>},
{pattern,<<".*">>},
{'apply-to',<<"queues">>},
{definition,[{<<"ha-mode">>,<<"all">>},
{<<"ha-sync-mode">>,<<"automatic">>}]},
{priority,1}],
[{<10393.1222.0>,<10393.1215.0>},
{<10468.1126.0>,<10468.1117.0>},
{<10469.1322.0>,<10469.647.0>}],
[],live,1},
{amqqueue,{resource,<<"/">>,queue,<<"test.queue.13">>},
false,false,none,[],<10469.675.0>,
[<10468.1154.0>,<10393.1261.0>],
[<10393.1261.0>,<10468.1154.0>],
['rabbit_2@Ayandas-MacBook-Pro',
'rabbit_1@Ayandas-MacBook-Pro'],
[{vhost,<<"/">>},
{name,<<"ha-all">>},
{pattern,<<".*">>},
{'apply-to',<<"queues">>},
{definition,[{<<"ha-mode">>,<<"all">>},
{<<"ha-sync-mode">>,<<"automatic">>}]},
{priority,1}],
[{<10393.1269.0>,<10393.1261.0>},
{<10468.1155.0>,<10468.1154.0>},
{<10469.1326.0>,<10469.675.0>}],
[],live,1},
{amqqueue,{resource,<<"/">>,queue,<<"bench">>},
false,false,none,
[{<<"x-message-ttl">>,long,60000}],
<10469.582.0>,
[<10468.1129.0>,<10393.1279.0>],
[<10393.1279.0>,<10468.1129.0>],
['rabbit_2@Ayandas-MacBook-Pro',
'rabbit_1@Ayandas-MacBook-Pro'],
[{vhost,<<"/">>},
{name,<<"ha-all">>},
{pattern,<<".*">>},
{'apply-to',<<"queues">>},
{definition,[{<<"ha-mode">>,<<"all">>},
{<<"ha-sync-mode">>,<<"automatic">>}]},
{priority,1}],
[{<10393.1291.0>,<10393.1279.0>},
{<10468.1146.0>,<10468.1129.0>},
{<10469.1325.0>,<10469.582.0>}],
[],live,1},
{amqqueue,{resource,<<"/">>,queue,<<"test.queue.12">>},
false,false,none,[],<10469.671.0>,
[<10468.1137.0>,<10393.1270.0>],
[<10393.1270.0>,<10468.1137.0>],
['rabbit_2@Ayandas-MacBook-Pro',
'rabbit_1@Ayandas-MacBook-Pro'],
[{vhost,<<"/">>},
{name,<<"ha-all">>},
{pattern,<<".*">>},
{'apply-to',<<"queues">>},
{definition,[{<<"ha-mode">>,<<"all">>},
{<<"ha-sync-mode">>,<<"automatic">>}]},
{priority,1}],
[{<10393.1275.0>,<10393.1270.0>},
{<10468.1151.0>,<10468.1137.0>},
{<10469.1324.0>,<10469.671.0>}],
[],live,1}]},
{balanced,[<<"test.queue.10">>,<<"test.queue.15">>,<<"test.queue.3">>,
<<"test.queue.8">>,<<"test.queue.2">>,<<"test.queue.19">>,
<<"test.queue.1">>,<<"test.queue.20">>,<<"test.queue.17">>,
<<"test.queue.5">>,<<"test.queue.16">>]},
{operational_priority,5},
{sync_timeout,3000},
{policy_transition_delay,50},
{last_balance_timestamp,1508700386657}]
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$ ./rabbitmqctl eval 'rabbit_queue_master_balancer:info().'
[{parent_pid,<10393.1436.0>},
{phase,idle},
{queues,[]},
{balanced,[<<"test.queue.9">>,<<"test.queue.10">>,<<"test.queue.15">>,
<<"test.queue.3">>,<<"test.queue.8">>,<<"test.queue.14">>,
<<"test.queue.2">>,<<"test.queue.7">>,<<"test.queue.19">>,
<<"test.queue.13">>,<<"test.queue.1">>,<<"test.queue.20">>,
<<"test.queue.6">>,<<"test.queue.18">>,<<"test.queue.12">>,
<<"test.queue.17">>,<<"test.queue.5">>,<<"bench">>,
<<"test.queue.11">>,<<"test.queue.4">>,<<"test.queue.16">>]},
{operational_priority,5},
{sync_timeout,3000},
{policy_transition_delay,50},
{last_balance_timestamp,1508700389882}]
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$ ./rabbitmqctl eval 'rabbit_queue_master_balancer:report().'
{ok,[{'rabbit_2@Ayandas-MacBook-Pro',{queues,7}},
{'rabbit@Ayandas-MacBook-Pro',{queues,6}},
{'rabbit_1@Ayandas-MacBook-Pro',{queues,8}}]}
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$ ./rabbitmqctl eval 'rabbit_queue_master_balancer:info().'
[{parent_pid,<10393.1436.0>},
{phase,idle},
{queues,[]},
{balanced,[<<"test.queue.9">>,<<"test.queue.10">>,<<"test.queue.15">>,
<<"test.queue.3">>,<<"test.queue.8">>,<<"test.queue.14">>,
<<"test.queue.2">>,<<"test.queue.7">>,<<"test.queue.19">>,
<<"test.queue.13">>,<<"test.queue.1">>,<<"test.queue.20">>,
<<"test.queue.6">>,<<"test.queue.18">>,<<"test.queue.12">>,
<<"test.queue.17">>,<<"test.queue.5">>,<<"bench">>,
<<"test.queue.11">>,<<"test.queue.4">>,<<"test.queue.16">>]},
{operational_priority,5},
{sync_timeout,3000},
{policy_transition_delay,50},
{last_balance_timestamp,1508700389882}]
Ayandas-MacBook-Pro:sbin ayandadube$ ./rabbitmqctl eval 'rabbit_queue_master_balancer:stop().'
ok
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$ ./rabbitmqctl eval 'rabbit_queue_master_balancer:info().'
[{parent_pid,<10393.1436.0>},
{phase,idle},
{queues,[]},
{balanced,[<<"test.queue.9">>,<<"test.queue.10">>,<<"test.queue.15">>,
<<"test.queue.3">>,<<"test.queue.8">>,<<"test.queue.14">>,
<<"test.queue.2">>,<<"test.queue.7">>,<<"test.queue.19">>,
<<"test.queue.13">>,<<"test.queue.1">>,<<"test.queue.20">>,
<<"test.queue.6">>,<<"test.queue.18">>,<<"test.queue.12">>,
<<"test.queue.17">>,<<"test.queue.5">>,<<"bench">>,
<<"test.queue.11">>,<<"test.queue.4">>,<<"test.queue.16">>]},
{operational_priority,5},
{sync_timeout,3000},
{policy_transition_delay,50},
{last_balance_timestamp,1508700389882}]
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$ ./rabbitmqctl eval 'rabbit_queue_master_balancer:reset().'
ok
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$ ./rabbitmqctl eval 'rabbit_queue_master_balancer:info().'
[{parent_pid,<10393.1436.0>},
{phase,idle},
{queues,[]},
{balanced,[]},
{operational_priority,5},
{sync_timeout,3000},
{policy_transition_delay,50},
{last_balance_timestamp,1508700389882}]
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$ ./rabbitmqctl eval 'rabbit_queue_master_balancer:report().'
{ok,[{'rabbit_2@Ayandas-MacBook-Pro',{queues,7}},
{'rabbit@Ayandas-MacBook-Pro',{queues,6}},
{'rabbit_1@Ayandas-MacBook-Pro',{queues,8}}]}
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$
Created
October 22, 2017 19:31
-
-
Save Ayanda-D/ddd5fcb5d87c8761fbf2c663fdd07ce6 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment