官术网_书友最值得收藏!

How to do it…

Following steps will help you to create radosgw user:

  1. Make sure that the rgw-node1 is able to access the Ceph cluster:
        # ceph -s -k /var/lib/ceph/radosgw/ceph-rgw.rgw-node1/keyring 
--name client.rgw.rgw-node1
  1. Create a RADOS Gateway user for the S3 access:
      # radosgw-admin user create --uid=pratima 
--display-name="Pratima Umrao"
--email=pratima@cephcookbook.com
-k /var/lib/ceph/radosgw/ceph-rgw.rgw-node1/keyring
--name client.rgw.rgw-node1
  1. The values keys (access_key) and the keys (secret_key) would be required later in this chapter for access validation.
  2. To use Ceph object storage with the Swift API, we need to create a Swift subuser on the Ceph RGW:
         # radosgw-admin subuser create --uid=pratima 
--subuser=pratima:swift --access=full
-k /var/lib/ceph/radosgw/ceph-rgw.rgw-node1/keyring
--name client.rgw.rgw-node1
主站蜘蛛池模板: 蓬溪县| 江门市| 呼和浩特市| 南雄市| 海门市| 松潘县| 吉木乃县| 湟源县| 台东市| 柘城县| 大新县| 马公市| 合川市| 清水河县| 额尔古纳市| 永春县| 务川| 贺州市| 宁化县| 弥勒县| 惠安县| 荔浦县| 开封县| 阿巴嘎旗| 塘沽区| 莲花县| 巴楚县| 洛扎县| 宜丰县| 同德县| 十堰市| 黄大仙区| 巴东县| 屯门区| 大同县| 卢氏县| 迭部县| 宝清县| 怀柔区| 玉屏| 白城市|