O'Reilly logo

Ceph Cookbook - Second Edition by Karan Singh, Michael Hackett, Vikhyat Umrao

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Configure the S3 client (s3cmd) on client-node1

Following commands are used for configuring s3cmd on the client-node1:

  1. Install s3cmd using the following command:
        # yum install s3cmd -y
  1. Configure s3cmd by providing the access_key and secret_key of the user, pratima, which we created earlier in this chapter. Execute the following command and follow the prompts:
        # s3cmd --configure

The s3cmd --configure command will create /root/.s3cfg.

  1. Edit this file for the RGW host details. Modify host_base and host_bucket, as shown. Make sure these lines do not have trailing spaces at the end:
        host_base = rgw-node1.cephcookbook.com:8080 host_bucket ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required