- Ceph Cookbook(Second Edition)
- Vikhyat Umrao Michael Hackett Karan Singh
- 160字
- 2021-07-02 23:19:18
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:
- Bring up the client-node1 virtual machine using Vagrant. This virtual machine will be used as a client machine for S3 object storage.
- Go to the Ceph-Cookbook-Second-Edition repository directory and run the following command:
$ vagrant up client-node1
$ vagrant ssh client-node1
- Upgrade the client-node1 to the latest CentOS 7.4:
$ sudo yum update -y
$reboot
$ vagrant ssh client-node1
- Install the bind-utils package:
# yum install bind-utils -y
- 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
- Test the DNS settings on the client-node1:
# dig rgw-node1.cephcookbook.com
# nslookup rgw-node1.cephcookbook.com
- 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
推薦閱讀
- 現(xiàn)代測(cè)控系統(tǒng)典型應(yīng)用實(shí)例
- 大數(shù)據(jù)戰(zhàn)爭:人工智能時(shí)代不能不說的事
- 輕輕松松自動(dòng)化測(cè)試
- 輕松學(xué)PHP
- 網(wǎng)絡(luò)綜合布線技術(shù)
- PyTorch深度學(xué)習(xí)實(shí)戰(zhàn)
- ROS機(jī)器人編程與SLAM算法解析指南
- Windows 7寶典
- RPA(機(jī)器人流程自動(dòng)化)快速入門:基于Blue Prism
- 運(yùn)動(dòng)控制器與交流伺服系統(tǒng)的調(diào)試和應(yīng)用
- 完全掌握AutoCAD 2008中文版:機(jī)械篇
- Learn CloudFormation
- 格蠹匯編
- 網(wǎng)絡(luò)服務(wù)器搭建與管理
- 微計(jì)算機(jī)原理及應(yīng)用