当第一次启动DRBD和heartbeat能启动mysql和tomcat第没有浮动IP。
standyFort:~# vim /etc/heartbeat/haresources
masterFort IPaddr::192.168.1.253/24/eth0:0 drbddisk::r0 Filesystem::/dev/drbd0::/data::ext3 mysql tomcat6
masterFort drbddisk::r1 Filesystem::/dev/drbd1::/Log::ext3
standyFort:~# vim /etc/heartbeat/haresources
masterFort IPaddr::192.168.1.253/24/eth0:0 drbddisk::r0 Filesystem::/dev/drbd0::/data::ext3 mysql tomcat6
masterFort drbddisk::r1 Filesystem::/dev/drbd1::/Log::ext3
解决方案 »
- J2EE
- 异常:Width (-1) and height (-1) cannot be <= 0
- java中的数据库要学到什么样的程度
- lucene对单个域多条件检索的问题
- Child count should be a multiple of the columns attribute?
- 在webwork的action中获取到附件地址,怎么在页面打开和打印?
- 读去zip文件
- [?????]在tagsupport中的dostartTag和doEndTag这两个方法有什么区别,什么时候该用dostartTag什么时候用doEndTag??
- 多目录加载struts标签错误, 大家帮帮忙啊
- 一个struts的简单问题
- jsp页面弹出子窗口问题
- string 数组的问题
1、heartbeat在备用服务器备切换时,虚拟ip释放不了;
2、我将ddrbddisk::r0 Filesystem::/dev/drbd0::/data::ext3加到haresource里面的时候,从主服务器切换到备用服务器(在主服务器端用service heartbeat stop),备用服务器会把heartbeat关闭掉,按道理应该直接接管虚拟ip才对;
3、请问一下heartbeat启用自己的服务的启动脚本怎么写哦?比如你的mysql服务?
如果知道请帮忙解答一下,顺便可以一切探讨一下HA