command::
- sudo radosgw-admin region set < region.json
+ sudo radosgw-admin region set --infile region.json
Where ``region.json`` is the JSON file you created.
To set a region map, execute the following::
- sudo radosgw-admin region-map set < regionmap.json
+ sudo radosgw-admin region-map set --infile regionmap.json
Where ``regionmap.json`` is the JSON file you created. Ensure that you have
zones created for the ones specified in the region map. Finally, update the map.
To set a zone, create a JSON object consisting of the pools, save
the object to a file (e.g., ``zone.json``); then, execute the following
-command::
+command, replacing ``{zone-name}`` with the name of the zone::
- sudo radosgw-admin zone set < zone.json
+ sudo radosgw-admin zone set --rgw-zone={zone-name} --infile zone.json
Where ``zone.json`` is the JSON file you created.