昨天17:43分的时候收到邮件报警,公司网站打不开了。但是我发现短信的时候已经是晚上19:30分了,还奇怪呢没有人打我电话通知呀?赶快打开笔记本,输入公司网址可以打开呀!!到nagios中查看也正常呀!!查看LVS-MASTER的messages日志发现每隔几秒钟就有一条Delete Add WEB1的信息,如下:
May 4 17:41:00 node1 ldirectord[3737]: Added real server: 219.232.227.118:80 (219.232.227.115:80) (Weight set to 1)
May 4 17:41:07 node1 ldirectord[3737]: Deleted real server: 219.232.227.118:80 (219.232.227.115:80)
May 4 17:41:08 node1 ldirectord[3737]: Added real server: 219.232.227.118:80 (219.232.227.115:80) (Weight set to 1)
May 4 17:41:24 node1 ldirectord[3737]: Deleted real server: 219.232.227.118:80 (219.232.227.115:80)
May 4 17:41:25 node1 ldirectord[3737]: Added real server: 219.232.227.118:80 (219.232.227.115:80) (Weight set to 1)
May 4 17:41:29 node1 ldirectord[3737]: Deleted real server: 219.232.227.118:80 (219.232.227.115:80)
May 4 17:41:30 node1 ldirectord[3737]: Added real server: 219.232.227.118:80 (219.232.227.115:80) (Weight set to 1)
May 4 17:41:44 node1 ldirectord[3737]: Deleted real server: 219.232.227.118:80 (219.232.227.115:80)
May 4 17:41:45 node1 ldirectord[3737]: Added real server: 172.16.102.33:80 (219.232.227.115:80) (Weight set to 1)
May 4 17:41:50 node1 ldirectord[3737]: Deleted real server: 172.16.102.33:80 (219.232.227.115:80)
May 4 17:41:52 node1 ldirectord[3737]: Added real server: 172.16.102.33:80 (219.232.227.115:80) (Weight set to 1)
May 4 17:42:00 node1 ldirectord[3737]: Deleted real server: 172.16.102.33:80 (219.232.227.115:80)
May 4 17:42:01 node1 ldirectord[3737]: Added real server: 172.16.102.33:80 (219.232.227.115:80) (Weight set to 1)
May 4 17:42:11 node1 ldirectord[3737]: Deleted real server: 172.16.102.33:80 (219.232.227.115:80)
May 4 17:42:12 node1 ldirectord[3737]: Added real server: 172.16.102.33:80 (219.232.227.115:80) (Weight set to 1)
May 4 17:42:21 node1 ldirectord[3737]: Deleted real server: 172.16.102.33:80 (219.232.227.115:80)
WEB服务器有2台,另一台就没有问题,难道是Apache有问题?重启apache后还是一样,又怀疑是LVS的heartbeat的问题,重启后仍然一样,没办法把VIP手工切到LVS-STANDby 上面,正常了!!看来是LVS-MASTER有问题,重启service network restart之后正常了!!
阅读(1678) | 评论(0) | 转发(0) |