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

Configuring the s3cmd client

To access Ceph object storage via the S3 API, we should configure the client machine with s3cmd as well as the DNS client settings. Perform the following steps to configure the s3cmd client machine:

  1. Bring up the client-node1 virtual machine using Vagrant. This virtual machine will be used as a client machine for S3 object storage.
  1. Go to the Ceph-Cookbook-Second-Edition repository directory and run the following command:
        $ vagrant up client-node1
$ vagrant ssh client-node1
  1. Upgrade the client-node1 to the latest CentOS 7.4:
        $ sudo yum update -y 
$reboot
$ vagrant ssh client-node1
  1. Install the bind-utils package:
        # yum install bind-utils -y
  1. On the client-node1 machine, update /etc/resolve.conf with the DNS server entries on top of the file:
 search cephcookbook.com
nameserver 192.168.1.106
  1. Test the DNS settings on the client-node1:
        # dig rgw-node1.cephcookbook.com
# nslookup rgw-node1.cephcookbook.com
  1. client-node1 should be able to resolve all the subdomains for rgw-node1.cephcookbook.com:
        # ping mj.rgw-node1.cephcookbook.com -c 1
# ping anything.rgw-node1.cephcookbook.com -c 1
主站蜘蛛池模板: 宁津县| 桃园市| 祁连县| 陇川县| 固始县| 名山县| 泸定县| 巨鹿县| 宣城市| 城口县| 崇信县| 扎赉特旗| 东阿县| 鱼台县| 双桥区| 聂拉木县| 广南县| 玉龙| 正定县| 敦化市| 彭泽县| 红原县| 渝中区| 长岭县| 罗城| 墨脱县| 黄石市| 普陀区| 青龙| 六盘水市| 绥芬河市| 伊宁县| 孟州市| 民丰县| 柘城县| 凌源市| 龙岩市| 道真| 顺昌县| 綦江县| 安康市|