I have a problem with HA resouce zabbix, cannot start resource by crmsh.

asked 2016-06-07 04:11:01 -0500

movie gravatar image

Hi,all: I’m deploy openstack use fuel 8.0, with plugins zabbix. I cannot start resource by crmsh.

when I move HA resource zabbix, the resouce cannot run anywhere.

pacemaker log is:
19703 Jun 06 01:32:08 [6434] node-21.domain.tld pengine: info: native_color: Resource p_zabbix-server cannot run anywhere
19704 Jun 06 01:32:08 [6434] node-21.domain.tld pengine: info: native_color: Resource vip__zbx_vip_mgmt cannot run anywhere


Then, I start the resource vip__zbx_vip_mgm in crm:

crm(live)resource# start vip__zbx_vip_mgmt

But the resource vip__zbx_vip_mgm status is Stopped.

p_zabbix-server (ocf::fuel:zabbix-server): Stopped
vip__zbx_vip_mgmt (ocf::fuel:ns_IPaddr2): Stopped


Then, I start the resource vip__zbx_vip_mgm with ns_IPaddr2 agent:

export OCF_ROOT=/usr/lib/ocf
export OCF_RESKEY_bridge="br-mgmt"
export OCF_RESKEY_base_veth="v_zbx_vip_mgmt"
export OCF_RESKEY_ns_veth="b_zbx_vip_mgmt"
export OCF_RESKEY_gateway_metric=0
export OCF_RESKEY_ip="192.168.123.3"
export OCF_RESKEY_iflabel="ka"
export OCF_RESKEY_cidr_netmask=24
export OCF_RESKEY_ns="haproxy" bash -x /usr/lib/ocf/resource.d/fuel/ns_IPaddr2 start | stop

the IP 192.168.123.3 is configed success.
check IP :

ip netns exec haproxy ifconfig

b_zbx_vip_mgmt Link encap:Ethernet HWaddr aa:c2:a2:80:0b:4e
inet addr:192.168.123.3 Bcast:0.0.0.0 Mask:255.255.255.0
inet6 addr: fe80::a8c2:a2ff:fe80:b4e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:60306 errors:0 dropped:0 overruns:0 frame:0
TX packets:71963 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9009507 (9.0 MB) TX bytes:5216536 (5.2 MB)

who can help me?

Thanks!

Movie.

edit retag flag offensive close merge delete