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-Designing-and-Implementing-Scalable-Storage-Systems 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
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset