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

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
主站蜘蛛池模板: 息烽县| 安吉县| 新邵县| 秀山| 东港市| 兰西县| 衡水市| 肃宁县| 寻甸| 西乡县| 泰州市| 桦川县| 维西| 平邑县| 万荣县| 陇南市| 寿宁县| 布尔津县| 长宁县| 射阳县| 天全县| 波密县| 嘉鱼县| 邯郸县| 遂平县| 浮山县| 额济纳旗| 芦溪县| 顺昌县| 临武县| 泾源县| 清苑县| 玉环县| 台中县| 宜阳县| 调兵山市| 五莲县| 蒲江县| 三都| 彭山县| 涪陵区|