oVirt 4.4.10三节点超融合集群安装配置及集群扩容(二)

在上节安装完成3节点集群后,在此基础上扩容到6节点<oVirt每次扩容后的容量必须是3的倍数>

操作步骤

  1. 在原始第一台服务器访问https://192.168.5.100:9090/,在"Virtualiztion"->“Hosted Engin"下点击"Manage Gluster”
    mgr gluster
    点击"Expand Cluster"
    expand
    填写新加入的3个节点的FQDN,然后点击"下一步"开始安装glusterfs
    add nodes

此处根据需要添加是只扩容data,还是需要扩容所有的如data, vmstore, engine
data
2. gfs安装完成之后到engine管理页面新增主机
3. 在数据中心将data设置为维护状态
data
4. 在存储域中选中data域后点击管理域
mgrdomain
5. 修改挂载选项,将新加入的gfs节点加入原有参数后边,然后再重新激活data域
add gfs
6. 重新平衡数据,即将原有数据平衡分布到新添加的brick中

[root@node100 data]# gluster volume rebalance data start
volume rebalance: data: success: Rebalance on data has been started successfully. Use rebalance status command to check status of the rebalance process.
ID: 2e213ca1-206c-49bd-8381-93bd1ea5195f

查看rebalance状态

[root@node240 glusterfs]# gluster volume rebalance data status
                                    Node Rebalanced-files          size       scanned      failures       skipped               status  run time in h:m:s
                               ---------      -----------   -----------   -----------   -----------   -----------         ------------     --------------
                   node241.cluster.local                4         1.1KB         14214             0             0            completed        0:00:42
                   node242.cluster.local                5         1.5KB         14208             0             0            completed        0:00:43
                   node243.cluster.local                2      618Bytes         16904             0             0            completed        0:00:43
                   node246.cluster.local                3         1.0KB         16907             0             0            completed        0:00:40
                   node247.cluster.local                3         1.0KB         16907             0             0            completed        0:00:41
                               localhost                2      594Bytes         14214             0             0            completed        0:00:43
volume rebalance: data: success
  1. 查看数据平衡状态
[root@node100 ~]# gluster volume rebalance data status
                                  Node Rebalanced-files          size       scanned      failures       skipped               status  run time in h:m:s
                             ---------      -----------   -----------   -----------   -----------   -----------         ------------     --------------
                 node101.cluster.local               23         1.3GB           254             0             0          in progress        0:01:20
                 node102.cluster.local               26         1.4GB           253             0             0          in progress        0:01:20
                 node243.cluster.local                0        0Bytes            52             0             0            completed        0:00:00
                 node246.cluster.local                0        0Bytes            15             0             1            completed        0:00:00
                 node247.cluster.local                0        0Bytes            18             0             0            completed        0:00:00
                             localhost               21         1.1GB           254             0             0          in progress        0:01:20
The estimated time for rebalance to complete will be unavailable for the first 10 minutes.
volume rebalance: data: success
  1. 配置完成后如下所示
    dashboard
    bricks
    hosts
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值