How to replicate data to offsite location

Asked by Ivan Izhikov

Suppose we want to setup cloud storage that spans two physical locations - main and backup. What would be the best way to ensure at least one copy of each file is stored at backup datacenter?
From what I can see from documentation, the only way to achieve this is to configure 3 zones and place one of them at backup datacenter. So one of 3 replicas would always go to backup datacenter.

I have two questions regarding this setup:

1. Documentation says that 5 zones and 5 servers is a recommended minimum.
We can get 6 or 9 servers (2 or 3 for each zone) to minimize impact of one server failure. But if we configure more that 3 zones, there would be no way to make sure data is replicated to backup datacenter. Is it correct?

2. How to make sure that proxy server fetching files from local storage server, not from remote datacenter?
Is it tending to fetch data from the same zone it belongs to? Or how it can be configured to do so?

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Object Storage (swift) Edit question
Assignee:
No assignee Edit question
Solved by:
Chuck Thier
Solved:
Last query:
Last reply:
Revision history for this message
Best Chuck Thier (cthier) said :
#1

Hi Ivan,

There currently isn't real support for this yet. We are working on ideas on how to support this type of concept here: https://blueprints.launchpad.net/swift/+spec/multi-region

Revision history for this message
Ivan Izhikov (iizhikov) said :
#2

Thanks Chuck Thier, that solved my question.

Revision history for this message
Rob Bochenek (rob-axiomalaska) said :
#3

It looks as if the link above doesn't work anymore (https://blueprints.launchpad.net/swift/+spec/multi-region). Does anyone have any documentation describing how to do this? Run zones across two physical locations and setting up proxy servers to only access local resources?

Revision history for this message
Ivan Izhikov (iizhikov) said :
#4

Hello Rob,

This blueprint was renamed to cactus-multi-region. You can see it here: https://blueprints.launchpad.net/swift
According to its name it seems like it should has been released with Cactus. But it has not happened.