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

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
主站蜘蛛池模板: 太仆寺旗| 赫章县| 延津县| 黄冈市| 乐都县| 荆门市| 巨鹿县| 琼结县| 湖州市| 灵台县| 黄浦区| 治多县| 白山市| 蒲江县| 平凉市| 华池县| 旅游| 集贤县| 浮山县| 扬中市| 南涧| 武功县| 田阳县| 德昌县| 双峰县| 嘉定区| 东乌| 南华县| 三穗县| 濮阳市| 册亨县| 塔城市| 衡山县| 虎林市| 五大连池市| 五台县| 元谋县| 宜川县| 郸城县| 大名县| 稻城县|