Hi,
I am in the process of setting up radosgw for a firefly ceph-cluster. radosgw-admin region-map set --infile region-map.json
{ "regions": [
{ "key": "default",
"val": { "name": "region1",
"api_name": "",
"is_master": "true",
"endpoints": [],
"master_zone": "",
"zones": [
{ "name": "zn1",
"endpoints": [],
"log_meta": "false",
"log_data": "false"}],
"placement_targets": [
{ "name": "default-placement",
"tags": []}],
"default_placement": "default-placement"}}],
"master_region": "region1",
"bucket_quota": { "enabled": false,
"max_size_kb": -1,
"max_objects": -1},
"user_quota": { "enabled": false,
"max_size_kb": -1,
"max_objects": -radosgw-admin regionmap updaten-map.json
{ "regions": [
{ "key": "default",
"val": { "name": "default",
"api_name": "",
"is_master": "false",
"endpoints": [],
"master_zone": "",
"zones": [
{ "name": "default",
"endpoints": [],
"log_meta": "false",
"log_data": "false"}],
"placement_targets": [
{ "name": "default-placement",
"tags": []}],
"default_placement": "default-placement"}},
{ "key": "region1",
"val": { "name": "region1",
"api_name": "",
"is_master": "true",
"endpoints": [],
"master_zone": "",
"zones": [
{ "name": "zn1",
"endpoints": [],
"log_meta": "false",
"log_data": "false"}],
"placement_targets": [
{ "name": "default-placement",
"tags": []}],
"default_placement": "default-placement"}}],
"master_region": "region1",
"bucket_quota": { "enabled": false,
"max_size_kb": -1,
"max_objects": -1},
"user_quota": { "enabled": false,
"max_size_kb": -1,
"max_objects": -1}}
radosgw-admin regions list
{ "default_info": { "default_region": "default"},
"regions": [
"default",
"region1"]}
radosgw-admin region default region1
[root@cc03 ceph-rgw]# radosgw-admin regions list
{ "default_info": { "default_region": "default"},
"regions": [
"default",
"region1"]}
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com