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

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
主站蜘蛛池模板: 鄱阳县| 安丘市| 蒲城县| 苍溪县| 城市| 高邮市| 阳江市| 遵义县| 安溪县| 花莲县| 博野县| 乌恰县| 无棣县| 玉屏| 天全县| 化隆| 烟台市| 台州市| 龙里县| 白银市| 德惠市| 龙海市| 汤原县| 东山县| 宁国市| 延寿县| 宝丰县| 建湖县| 南昌市| 昌黎县| 托克逊县| 锡林郭勒盟| 郧西县| 顺平县| 同心县| 新宾| 陇南市| 铁岭市| 宁海县| 高密市| 达孜县|