免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: doking2008
打印 上一主题 下一主题

hearbeat问题,服务无效? [复制链接]

论坛徽章:
0
1 [报告]
发表于 2007-09-16 22:39 |显示全部楼层
heartbeat 的apache要配置,cib.xml大概如下就可以

         <primitive class="ocf" id="apache_3" provider="heartbeat" type="apache">
           <operations>
             <op id="apache_3_mon" interval="120s" name="monitor" timeout="60s" start_delay="0" disabled="false" role="Started"/>
           </operations>
           <instance_attributes id="apache_3_inst_attr">
             <attributes>
               <nvpair id="apache_3_attr_0" name="configfile" value="/etc/httpd/conf/httpd.conf"/>
               <nvpair id="apache_3_target_role" name="target_role" value="started"/>
               <nvpair id="49629d75-ce48-4fbb-9c1e-5be44a4a1d46" name="testregex" value="body"/>
             </attributes>
           </instance_attributes>
         </primitive>

用hb_gui添加三个参数就可以了,另外/var/www/html里面最好放一个index.html(带<body>的标识)
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP