One region two zones is the standard setup, so that should be fine.
Is metadata (users and buckets) being replicated, but not data (objects)?
Let's go through a quick checklist:
- Verify that you enabled log_meta and log_data in the region.json for the master zone
- Verify that RadosGW is using your region map with radosgw-admin regionmap get --name client.radosgw.<name>
- Verifu
- Verify that RadosGW is using your zone map with radosgw-admin zone get --name client.radosgw.<name>
- Verify that all the pools in your zone exist (RadosGW only auto-creates the basic ones).
- Verify that your system users exist in both zones with the same access and secret.
Hopefully that gives you an idea what's not working correctly.
If it doesn't, crank up the logging on the radosgw daemon on both sides, and check the logs. Add debug rgw = 20 to both ceph.conf (in the client.radosgw.<name> section), and restart. Hopefully those logs will tell you what's wrong.
On Wed, Nov 5, 2014 at 11:39 AM, Aaron Bassett <aaron@xxxxxxxxxxxxxxxxx> wrote:
Hello everyone,I am attempted to setup a two cluster situation for object storage disaster recovery. I have two physically separate sites so using 1 big cluster isn’t an option. I’m attempting to follow the guide at: http://ceph.com/docs/v0.80.5/radosgw/federated-config/ . After a couple days of flailing, I’ve settled on using 1 region with two zones, where each cluster is a zone. I’m now attempting to set up an agent as per the “Multi-Site Data Replication section. The agent kicks off ok and starts making all sorts of connections, but no objects were being copied to the non-master zone. I re-ran the agent with the -v flag and saw a lot of:DEBUG:urllib3.connectionpool:"GET /admin/opstate?client-id=radosgw-agent&object=test%2F_shadow_.JjVixjWmebQTrRed36FL6D0vy2gDVZ__39&op-id=phx-r1-head1%3A2451615%3A1 HTTP/1.1" 200 NoneDEBUG:radosgw_agent.worker:op state is []DEBUG:radosgw_agent.worker:error geting op state: list index out of rangeSo it appears something is still wrong with my agent though I have no idea what. I can’t seem to find any errors in any other logs. Does anyone have any insight here?I’m also wondering if what I’m attempting with two cluster in the same region as separate zones makes sense?Thanks, Aaron
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com