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

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
主站蜘蛛池模板: 政和县| 会宁县| 望江县| 高阳县| 齐齐哈尔市| 广灵县| 探索| 安龙县| 通榆县| 城市| 大田县| 婺源县| 晋江市| 苏尼特右旗| 牡丹江市| 什邡市| 德格县| 石城县| 枣庄市| 壤塘县| 凯里市| 萍乡市| 泰兴市| 深水埗区| 铁岭市| 桂东县| 鹤庆县| 东明县| 嵊州市| 旬邑县| 安顺市| 吉安县| 泗水县| 延长县| 五峰| 修武县| 微山县| 水城县| 珲春市| 德州市| 巍山|