Advertisement
Guest User

Untitled

a guest
Jun 4th, 2013
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.97 KB | None | 0 0
  1. yehudasa@skinny:~/ceph/src$ cat setup_regions
  2. ./radosgw-admin region set < swab.region
  3. ./radosgw-admin region set < skinny.region
  4. ./radosgw-admin zone set --rgw-zone=skinny-1 < skinny-1.zone
  5. ./radosgw-admin region default --rgw-region=skinny
  6. ./rados -p .rgw.root rm region_info.default
  7. ./rados -p .rgw.root rm zone_info.default
  8. ./radosgw-admin regionmap update
  9. yehudasa@skinny:~/ceph/src$ cat swab.region
  10. { "name": "swab",
  11. "api_name": "shady",
  12. "is_master": "true",
  13. "endpoints": [
  14. "http:\/\/skinny:82\/"],
  15. "master_zone": "swab-1",
  16. "zones": [
  17. { "name": "swab-1",
  18. "endpoints": [
  19. "http:\/\/swab:81\/"]}]}
  20. yehudasa@skinny:~/ceph/src$ cat skinny.region
  21. { "name": "skinny",
  22. "api_name": "slim",
  23. "is_master": "false",
  24. "endpoints": [
  25. "http:\/\/skinny:80\/"],
  26. "master_zone": "skinny-1",
  27. "zones": [
  28. { "name": "skinny-1",
  29. "endpoints": [
  30. "http:\/\/skinny:80\/"]}]}
  31. yehudasa@skinny:~/ceph/src$ cat skinny-1.zone
  32. { "domain_root": ".rgw",
  33. "control_pool": ".rgw.control",
  34. "gc_pool": ".rgw.gc",
  35. "log_pool": ".log",
  36. "intent_log_pool": ".intent-log",
  37. "usage_log_pool": ".usage",
  38. "user_keys_pool": ".users",
  39. "user_email_pool": ".users.email",
  40. "user_swift_pool": ".users.swift",
  41. "user_uid_pool ": ".users.uid",
  42. "system_key": { "user": "skinny-1",
  43. "access_key": "X2IYPSTY1072DDY1SJMC",
  44. "secret_key": "YIMHICpPvT+MhLTbSsiBJ1jQF15IFvJA8tgwJEcm"}}
  45. yehudasa@skinny:~/ceph/src$ cat swab-1.zone
  46. { "domain_root": ".rgw",
  47. "control_pool": ".rgw.control",
  48. "gc_pool": ".rgw.gc",
  49. "log_pool": ".log",
  50. "intent_log_pool": ".intent-log",
  51. "usage_log_pool": ".usage",
  52. "user_keys_pool": ".users",
  53. "user_email_pool": ".users.email",
  54. "user_swift_pool": ".users.swift",
  55. "user_uid_pool ": ".users.uid",
  56. "system_key": { "user": "swab-1",
  57. "access_key": "Y2IYPSTY1072DDY1SJMC",
  58. "secret_key": "ZIMHICpPvT+MhLTbSsiBJ1jQF15IFvJA8tgwJEcm"}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement