3.分布式文件系统-----fence机制解决Moosefs集群故障

1.服务端配置

[root@foundation15 ~]# yum install fence-virtd-multicast.x86_64 fence-virtd-libvirt.x86_64 -y	#安装
[root@foundation15 ~]# rpm -qa | grep fence	#查看安装的fence有哪些
fence-virtd-multicast-0.4.0-4.el8.x86_64
fence-virtd-libvirt-0.4.0-4.el8.x86_64
libxshmfence-1.3-2.el8.x86_64
fence-virtd-0.4.0-4.el8.x86_64
[root@foundation15 ~]# fence_virtd -c	#fence连接libvirtd配置
一路回车
注意:Interface [br0]:		#【】中不是桥接 输入桥接,是的话,直接回车
=== End Configuration ===
Replace /etc/fence_virt.conf with the above [y/N]? y
[root@foundation15 ~]# mkdir /etc/cluster/
[root@foundation15 ~]# cd /etc/cluster/
[root@foundation15 cluster]# ls
[root@foundation15 cluster]# dd if=/dev/urandom of=fence_xvm.key bs=128 count=1
1+0 records in
1+0 records out
128 bytes copied, 6.8293e-05 s, 1.9 MB/s
[root@foundation15 cluster]# ls
fence_xvm.key
[root@foundation15 cluster]# ll
to
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值