Last active
June 14, 2017 21:53
-
-
Save clayg/8d4196c332f802c9856898b0eeee1678 to your computer and use it in GitHub Desktop.
how to servers per port
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ubuntu@saio:/etc/swift$ swift-ring-builder object.builder | |
object.builder, build version 5, id d6f75fa829144e42bf7a905ac5a99f4d | |
1024 partitions, 3.000000 replicas, 1 regions, 4 zones, 4 devices, 0.00 balance, 0.00 dispersion | |
The minimum number of hours before a partition can be reassigned is 1 (0:00:00 remaining) | |
The overload factor is 0.00% (0.000000) | |
Ring file object.ring.gz is up-to-date | |
Devices: id region zone ip address:port replication ip:port name weight partitions balance flags meta | |
0 1 1 127.0.0.1:6016 127.0.0.1:6016 sdb1 1.00 768 0.00 | |
1 1 2 127.0.0.2:6026 127.0.0.2:6026 sdb2 1.00 768 0.00 | |
2 1 3 127.0.0.3:6036 127.0.0.3:6036 sdb3 1.00 768 0.00 | |
3 1 4 127.0.0.4:6046 127.0.0.4:6046 sdb4 1.00 768 0.00 | |
ubuntu@saio:/etc/swift$ swift-ring-builder object-1.builder | |
object-1.builder, build version 9, id 6c6812328dc343f3950f02b05caeede5 | |
1024 partitions, 6.000000 replicas, 1 regions, 4 zones, 8 devices, 0.00 balance, 0.00 dispersion | |
The minimum number of hours before a partition can be reassigned is 1 (0:00:00 remaining) | |
The overload factor is 0.00% (0.000000) | |
Ring file object-1.ring.gz is up-to-date | |
Devices: id region zone ip address:port replication ip:port name weight partitions balance flags meta | |
0 1 1 127.0.0.1:6016 127.0.0.1:6016 sdb1 1.00 768 0.00 | |
1 1 2 127.0.0.2:6026 127.0.0.2:6026 sdb2 1.00 768 0.00 | |
2 1 3 127.0.0.3:6036 127.0.0.3:6036 sdb3 1.00 768 0.00 | |
3 1 4 127.0.0.4:6046 127.0.0.4:6046 sdb4 1.00 768 0.00 | |
4 1 1 127.0.0.1:6017 127.0.0.1:6017 sdb5 1.00 768 0.00 | |
5 1 2 127.0.0.2:6027 127.0.0.2:6027 sdb6 1.00 768 0.00 | |
6 1 3 127.0.0.3:6037 127.0.0.3:6037 sdb7 1.00 768 0.00 | |
7 1 4 127.0.0.4:6047 127.0.0.4:6047 sdb8 1.00 768 0.00 | |
ubuntu@saio:/etc/swift$ swift-ring-builder object-2.builder | |
Ring Builder file does not exist: object-2.builder |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ubuntu@saio:/etc/swift$ grep bind_ /etc/swift/object-server/*.conf.d/*.conf | |
/etc/swift/object-server/1.conf.d/20_settings.conf:bind_ip = 127.0.0.1 | |
/etc/swift/object-server/1.conf.d/20_settings.conf:bind_port = 6016 | |
/etc/swift/object-server/2.conf.d/20_settings.conf:bind_ip = 127.0.0.2 | |
/etc/swift/object-server/2.conf.d/20_settings.conf:bind_port = 6026 | |
/etc/swift/object-server/3.conf.d/20_settings.conf:bind_ip = 127.0.0.3 | |
/etc/swift/object-server/3.conf.d/20_settings.conf:bind_port = 6036 | |
/etc/swift/object-server/4.conf.d/20_settings.conf:bind_ip = 127.0.0.4 | |
/etc/swift/object-server/4.conf.d/20_settings.conf:bind_port = 6046 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment