swift-ring-builder set_info
I am moving from bellow ring
swift-ring-builder account.builder
account.builder, build version 23
262144 partitions, 1.000000 replicas, 1 regions, 1 zones, 4 devices, 0.00 balance
The minimum number of hours before a partition can be reassigned is 1
Devices: id region zone ip address port name weight partitions balance meta
0 1 1 127.0.0.1 6012 sdb1 2000.00 65536 0.00
1 1 1 127.0.0.1 6012 sdc1 2000.00 65536 0.00
2 1 1 127.0.0.1 6012 sdd1 2000.00 65536 0.00
3 1 1 127.0.0.1 6012 sde1 2000.00 65536 0.00
tp the following ring structure as a stepping stone to adding another zone and node. then increassing to 2 replicas, and so forth till i get 3 replicas setup.
Can i use the swift-ring-builder set_info
to change my above ring to this ring IE ip addresses.
swift-ring-builder account.builder
account.builder, build version 23
262144 partitions, 1.000000 replicas, 1 regions, 1 zones, 4 devices, 0.00 balance
The minimum number of hours before a partition can be reassigned is 1
Devices: id region zone ip address port name weight partitions balance meta
0 1 1 10.48.12.1 6012 sdb1 2000.00 65536 0.00
1 1 1 10.48.12.1 6012 sdc1 2000.00 65536 0.00
2 1 1 10.48.12.1 6012 sdd1 2000.00 65536 0.00
3 1 1 10.48.12.1 6012 sde1 2000.00 65536 0.00
ready to add an extra node.
also is there away to see when replication has finished of partitions,
Questions is related to how do i tell when the ring replication has completed so i can update the next node in the ring? i think it is via reading the logs and waiting to see each rings replication start and then completed message is this correct?
Note i have done this late last night and it appears to have worked well. looking into this this morning.
I am not sure what the question is. Can you please edit the question to make it more clear?
Thank you for your response i have edited the questions let me know if that makes more sence.
I have done what i understood to be correct so now this is more bouncing my idea to make sure i did it right i guess.