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

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
主站蜘蛛池模板: 安岳县| 沂南县| 聂荣县| 洛扎县| 宁德市| 四会市| 石屏县| 定襄县| 鄄城县| 盐源县| 任丘市| 沂南县| 南汇区| 隆安县| 海南省| 远安县| 临武县| 崇阳县| 东明县| 龙泉市| 浦江县| 兴业县| 汶上县| 二连浩特市| 大田县| 柳河县| 行唐县| 宕昌县| 宣汉县| 稷山县| 仁寿县| 永新县| 红桥区| 阿坝县| 苏尼特左旗| 宁陕县| 镇巴县| 清水河县| 沙坪坝区| 池州市| 龙川县|