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

How to do it…

As demonstrated in the earlier chapters, we will boot up a virtual machine using Vagrant and configure that as our RGW node:

  1. Launch rgw-node1 using vagrantfile, as we have done for Ceph nodes in Chapter 1, Ceph – Introduction and Beyond. Make sure you are on the host machine and under the Ceph-Cookbook-Second-Edition repository before bringing up rgw-node1 using Vagrant:
        # cd Ceph-Cookbook-Second-Edition
# vagrant up rgw-node1
  1. Once rgw-node1 is up, check the Vagrant status, and log into the node:
        $ vagrant status rgw-node1
        $ vagrant ssh rgw-node1
  1. Upgrade to the latest CentOS 7.4, you can use the following command:
        $ sudo yum update -y
  1. Check if rgw-node1 can reach the Ceph cluster nodes:
        # ping ceph-node1 -c 3
# ping ceph-node2 -c 3
# ping ceph-node3 -c 3
  1. Verify the localhost file entries, hostname, and FQDN for rgw-node1:
        # cat /etc/hosts | grep -i rgw
# hostname
# hostname -f
主站蜘蛛池模板: 织金县| 油尖旺区| 藁城市| 洛浦县| 冕宁县| 西华县| 涟源市| 宁武县| 兴和县| 合川市| 武邑县| 田东县| 蚌埠市| 左贡县| 临邑县| 高雄县| 多伦县| 金堂县| 平山县| 南雄市| 乐平市| 凤凰县| 晋中市| 吉安市| 雷州市| 晴隆县| 永靖县| 宽城| 开原市| 长泰县| 十堰市| 横峰县| 黄浦区| 石城县| 沅江市| 广水市| 谷城县| 巴中市| 南康市| 濮阳县| 赣州市|