高可用软件Heartbeat配置安装

  • A+
所属分类:Service

基础环境:

yum搭建:

配置文件:

haresources默认配置:

haresources自启动http服务案例:

防火墙:

错误:

解决:

错误:Failure: (127) Device minor not allocated

解决:

[root@Heartbeat-01 tools]# ifconfig | grep "inet addr:"
inet addr:1.1.1.110 Bcast:1.1.1.255 Mask:255.255.255.0 eth0
inet addr:10.162.32.20 Bcast:10.162.47.255 Mask:255.255.240.0 eth1
inet addr:10.128.0.10 Bcast:10.255.255.255 Mask:255.0.0.0 eth2
inet addr:127.0.0.1 Mask:255.0.0.0 lo
[root@Heartbeat-01 tools]# tail -2 /etc/hosts
1.1.1.110 Heartbeat-01
1.1.1.111 Heartbeat-02
[root@Heartbeat-01 tools]# route add -host 10.162.32.21 dev eth1

[root@Heartbeat-02 tools]# ifconfig | grep "inet addr:"
inet addr:1.1.1.111 Bcast:1.1.1.255 Mask:255.255.255.0 eth0
inet addr:10.162.32.21 Bcast:10.162.47.255 Mask:255.255.240.0 eth1
inet addr:10.128.0.11 Bcast:10.255.255.255 Mask:255.0.0.0 eth2
inet addr:127.0.0.1 Mask:255.0.0.0 lo
[root@Heartbeat-02 tools]# tail -2 /etc/hosts
1.1.1.110 Heartbeat-01
1.1.1.111 Heartbeat-02
[root@Heartbeat-02 tools]# route add -host 10.162.32.20 dev eth1

错误:

cankao:http://wangzhijian.blog.51cto.com/6427016/1708694

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: