Sorry all for the typo. The master in zone-1 is rgw01-zone1-r1.domain-name.com not rgw01-zone1-d1.domain-name.com. The first paragraph should have read as follows:
For a federated configuration, does the radosgw-agent use any type of prioritization in regards to the way endpoints are used for the synchronization process? (i.e. the order they are listed in the region-map, maybe "rgw dns name" used, etc). We have a dedicated node in each zone to handle synchronization, the master in zone-1 is -->"rgw01-zone1-r1.domain-name.com" <-- and the slave rgw02-zone2-r1.domain-name.com in zone-2. While debugging was enabled I ran across several occasions where the slave (rgw02-zone2-r1.domain-name.com) was sending requests to rgw01-zone1-d1.domain-name.com. A snippet of the slave rgw log while in debug mode: From: Lyn Mitchell [mailto:mitc...@bellsouth.net] Sent: Wednesday, October 01, 2014 5:17 PM To: 'ceph-users@lists.ceph.com' Subject: endpoints used during synchronization Hello all, For a federated configuration, does the radosgw-agent use any type of prioritization in regards to the way endpoints are used for the synchronization process? (i.e. the order they are listed in the region-map, maybe "rgw dns name" used, etc). We have a dedicated node in each zone to handle synchronization, the master in zone-1 is rgw01-zone1-d1.domain-name.com and the slave rgw02-zone2-r1.domain-name.com in zone-2. While debugging was enabled I ran across several occasions where the slave (rgw02-zone2-r1.domain-name.com) was sending requests to rgw01-zone1-d1.domain-name.com. A snippet of the slave rgw log while in debug mode: 2014-09-29 14:20:10.797282 7f8ac31e4700 20 sending request to http://rgw01-zone1-d1.domain-name.com/xxx-secondary-01/snapshots%2F8%2F56%2F 07fb198b-e26a-46c2-9fc0-0ecee9c076ec.vhd?rgwx-uid=region-1.zone-2 <http://rgw01-zone1-d1.domain-name.com/xxx-secondary-01/snapshots%2F8%2F56%2 F07fb198b-e26a-46c2-9fc0-0ecee9c076ec.vhd?rgwx-uid=region-1.zone-2&rgwx-regi on=region-1&rgwx-prepend-metadata=region-1> &rgwx-region=region-1&rgwx-prepend-metadata=region-1 When initially configuring the synchronization process I thought all that were used were the source and destination values in the zone-sync configuration file as seen below (which obviously doesn't): source: http://rgw01-zone1-r1.com src_access_key: XXXXXXXXXXXX src_secret_key: XXXXXXXXXXXX destination: http://rgw02-zone2-r1.domain-name.com dest_access_key: XXXXXXXXXXXX dest_secret_key: XXXXXXXXXXXX log_file: /var/log/radosgw/radosgw-agent.region-1.sync.log The federated configuration consists of 1 region with 2 zones, below is an example of the region-map: { "regions": [ { "key": "region-1", "val": { "name": "region-1", "api_name": "region-1", "is_master": "true", "endpoints": [ "https:\/\/s3-region-1.domain-name.com\/"], "master_zone": "zone-1", "zones": [ { "name": "zone-1", "endpoints": [ "http:\/\/rgw01-zone1-d1.domain-name.com\/", "http:\/\/rgw01-zone1-r1.domain-name.com\/"], "log_meta": "true", "log_data": "true"}, { "name": "zone-2", "endpoints": [ "http:\/\/rgw02-zone2-d1.domain-name.com\/", "http:\/\/rgw02-zone2-r1.domain-name.com\/"], "log_meta": "true", "log_data": "true"}], "placement_targets": [ { "name": "default-placement", "tags": []}], "default_placement": "default-placement"}}], "master_region": "region-1", "bucket_quota": { "enabled": false, "max_size_kb": -1, "max_objects": -1}, "user_quota": { "enabled": false, "max_size_kb": -1, "max_objects": -1}} Thanks in advance for any help that may be provided, MLM
_______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com