pacemaker+heartbeat+drbd+apache+mysql+zabbix搭建了一套zabbix的HA系统
如题,我用pacemaker+heartbeat+drbd+apache+mysql+zabbix搭建了一套zabbix的HA系统,
heartbeat开启后,正常的顺序应该如下:
group zabbix res_mount res_mount_mysql res_ip res_srcaddr res_httpd res_mysqld res_zabbix_server
但每当我手动启动heartbeat(/etc/init.d/heartbeat start)时,会发现zabbix_server会先在node1和node2上分别运行一下,然后关闭,最后再按group的正常顺序启动。系统运行一切正常,知识node2上的message里会有pacemaker的报错,如下:
Nov 19 09:33:28 V00ZAB2P pengine: [6987]: ERROR: native_add_running: Resource lsb::zabbix_server:res_zabbix_server appears to be active on 2 nodes.
Nov 19 09:33:28 V00ZAB2P pengine: [6987]: ERROR: process_pe_message: Transition 1: ERRORs found during PE processing. PEngine Input stored in: /var/lib/pengine/pe-error-15.bz2
以下是我的crm 配置信息:
node $id="55b6dea8-4ef8-4e18-aad7-dc74a35fb390" v00zab2p
node $id="f38c3ad1-e01e-4399-9493-69ba34e77789" v00zab1p
primitive res_drbd_r0 ocf:linbit:drbd
params drbd_resource="r0"
op monitor interval="20" role="Slave" timeout="20"
op monitor interval="10" role="Master" timeout="20"
op start interval="0" timeout="240"
op stop interval="0" timeout="100"
primitive res_httpd ocf
呃,,就这点内容,完了?