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

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
主站蜘蛛池模板: 扶风县| 海晏县| 齐河县| 怀宁县| 宝应县| 定边县| 齐河县| 清远市| 蓝山县| 太保市| 盈江县| 蓬安县| 漯河市| 大田县| 普洱| 江安县| 明溪县| 石景山区| 岐山县| 无为县| 房产| 娄底市| 迁安市| 嘉善县| 三穗县| 新巴尔虎右旗| 彭山县| 建昌县| 息烽县| 靖宇县| 若羌县| 漠河县| 大方县| 乳源| 闽侯县| 东乡县| 白玉县| 泽普县| 房山区| 东乌珠穆沁旗| 开江县|