summaryrefslogtreecommitdiff
path: root/doc/saio/swift
diff options
context:
space:
mode:
authorMatthew Oliver <matt@oliver.net.au>2017-06-19 09:39:33 +1000
committerThiago da Silva <thiago@redhat.com>2017-06-27 16:08:08 -0400
commite11a38c63af97df83b296e836fdd403b0ac3af41 (patch)
tree89927deee5fd594816a9e7cec89d02694206ef9f /doc/saio/swift
parenta7c8becd4ed41dbf1c88d36b8601d965d6e7cb75 (diff)
downloadswift-e11a38c63af97df83b296e836fdd403b0ac3af41.tar.gz
Bind SAIO services on different loopback addresses
Currently all devices in the ring and all services in a SAIO all bind to the same loopback address 127.0.0.1. But this breaks servers_per_port if you want to do any testing on that. This change binds each service to a different loopback address and updates the rings (remakerings) accordingly. To make sure rysncd binds correctly the bind address needed to be changed to listen on all addresses (0.0.0.0). Change-Id: I7e77434f275df1e2699de495d8b622b90157a9d7
Diffstat (limited to 'doc/saio/swift')
-rw-r--r--doc/saio/swift/account-server/2.conf2
-rw-r--r--doc/saio/swift/account-server/3.conf2
-rw-r--r--doc/saio/swift/account-server/4.conf2
-rw-r--r--doc/saio/swift/container-server/2.conf2
-rw-r--r--doc/saio/swift/container-server/3.conf2
-rw-r--r--doc/saio/swift/container-server/4.conf2
-rw-r--r--doc/saio/swift/object-server/2.conf2
-rw-r--r--doc/saio/swift/object-server/3.conf2
-rw-r--r--doc/saio/swift/object-server/4.conf2
9 files changed, 9 insertions, 9 deletions
diff --git a/doc/saio/swift/account-server/2.conf b/doc/saio/swift/account-server/2.conf
index 70f8fae89..37cae43df 100644
--- a/doc/saio/swift/account-server/2.conf
+++ b/doc/saio/swift/account-server/2.conf
@@ -2,7 +2,7 @@
devices = /srv/2/node
mount_check = false
disable_fallocate = true
-bind_ip = 127.0.0.1
+bind_ip = 127.0.0.2
bind_port = 6022
workers = 1
user = <your-user-name>
diff --git a/doc/saio/swift/account-server/3.conf b/doc/saio/swift/account-server/3.conf
index 6090883bd..8931672ea 100644
--- a/doc/saio/swift/account-server/3.conf
+++ b/doc/saio/swift/account-server/3.conf
@@ -2,7 +2,7 @@
devices = /srv/3/node
mount_check = false
disable_fallocate = true
-bind_ip = 127.0.0.1
+bind_ip = 127.0.0.3
bind_port = 6032
workers = 1
user = <your-user-name>
diff --git a/doc/saio/swift/account-server/4.conf b/doc/saio/swift/account-server/4.conf
index e435842d1..343bc43e6 100644
--- a/doc/saio/swift/account-server/4.conf
+++ b/doc/saio/swift/account-server/4.conf
@@ -2,7 +2,7 @@
devices = /srv/4/node
mount_check = false
disable_fallocate = true
-bind_ip = 127.0.0.1
+bind_ip = 127.0.0.4
bind_port = 6042
workers = 1
user = <your-user-name>
diff --git a/doc/saio/swift/container-server/2.conf b/doc/saio/swift/container-server/2.conf
index 7046236fa..0b29ada02 100644
--- a/doc/saio/swift/container-server/2.conf
+++ b/doc/saio/swift/container-server/2.conf
@@ -2,7 +2,7 @@
devices = /srv/2/node
mount_check = false
disable_fallocate = true
-bind_ip = 127.0.0.1
+bind_ip = 127.0.0.2
bind_port = 6021
workers = 1
user = <your-user-name>
diff --git a/doc/saio/swift/container-server/3.conf b/doc/saio/swift/container-server/3.conf
index c7f726199..9f340d07e 100644
--- a/doc/saio/swift/container-server/3.conf
+++ b/doc/saio/swift/container-server/3.conf
@@ -2,7 +2,7 @@
devices = /srv/3/node
mount_check = false
disable_fallocate = true
-bind_ip = 127.0.0.1
+bind_ip = 127.0.0.3
bind_port = 6031
workers = 1
user = <your-user-name>
diff --git a/doc/saio/swift/container-server/4.conf b/doc/saio/swift/container-server/4.conf
index ff9c0e806..5e95e9c57 100644
--- a/doc/saio/swift/container-server/4.conf
+++ b/doc/saio/swift/container-server/4.conf
@@ -2,7 +2,7 @@
devices = /srv/4/node
mount_check = false
disable_fallocate = true
-bind_ip = 127.0.0.1
+bind_ip = 127.0.0.4
bind_port = 6041
workers = 1
user = <your-user-name>
diff --git a/doc/saio/swift/object-server/2.conf b/doc/saio/swift/object-server/2.conf
index 3d863cf59..8d99b0287 100644
--- a/doc/saio/swift/object-server/2.conf
+++ b/doc/saio/swift/object-server/2.conf
@@ -2,7 +2,7 @@
devices = /srv/2/node
mount_check = false
disable_fallocate = true
-bind_ip = 127.0.0.1
+bind_ip = 127.0.0.2
bind_port = 6020
workers = 1
user = <your-user-name>
diff --git a/doc/saio/swift/object-server/3.conf b/doc/saio/swift/object-server/3.conf
index d99995bb5..fe6cef65a 100644
--- a/doc/saio/swift/object-server/3.conf
+++ b/doc/saio/swift/object-server/3.conf
@@ -2,7 +2,7 @@
devices = /srv/3/node
mount_check = false
disable_fallocate = true
-bind_ip = 127.0.0.1
+bind_ip = 127.0.0.3
bind_port = 6030
workers = 1
user = <your-user-name>
diff --git a/doc/saio/swift/object-server/4.conf b/doc/saio/swift/object-server/4.conf
index 9f6fd1fc1..86ba2621e 100644
--- a/doc/saio/swift/object-server/4.conf
+++ b/doc/saio/swift/object-server/4.conf
@@ -2,7 +2,7 @@
devices = /srv/4/node
mount_check = false
disable_fallocate = true
-bind_ip = 127.0.0.1
+bind_ip = 127.0.0.4
bind_port = 6040
workers = 1
user = <your-user-name>