On 04/12/2012 02:59 PM, Trujillo Carmona, Antonio wrote:
> 
> I'm try to configure a cluster and I have problem with pingd.
> my config is
> crm(live)configure# show
> node proxy-00
> node proxy-01
> primitive ip-segura ocf:heartbeat:IPaddr2 \
>       params ip="10.104.16.123" nic="lan" cidr_netmask="19" \
>       op monitor interval="10" \
>       meta target-role="Started"
> primitive pingd ocf:pacemaker:pingd \

use ocf:pacemaker:ping

>       params host_list="10.104.16.157" \

and you have to define a monitor operation.

Without any constraints to let the cluster react on connectivity changes
ping resource is useless ... this may help:

http://www.hastexo.com/resources/hints-and-kinks/network-connectivity-check-pacemaker

Regards,
Andreas

-- 
Need help with Pacemaker?
http://www.hastexo.com/now

>       meta target-role="Started"
> property $id="cib-bootstrap-options" \
>       dc-version="1.1.6-9971ebba4494012a93c03b40a2c58ec0eb60f50c" \
>       cluster-infrastructure="openais" \
>       stonith-enabled="false" \
>       no-quorum-policy="ignore" \
>       expected-quorum-votes="2"
> 
> crm(live)# status
> ============
> Last updated: Thu Apr 12 14:54:21 2012
> Last change: Thu Apr 12 14:40:00 2012
> Stack: openais
> Current DC: proxy-00 - partition WITHOUT quorum
> Version: 1.1.6-9971ebba4494012a93c03b40a2c58ec0eb60f50c
> 2 Nodes configured, 2 expected votes
> 2 Resources configured.
> ============
> 
> Online: [ proxy-00 ]
> OFFLINE: [ proxy-01 ]
> 
>  ip-segura    (ocf::heartbeat:IPaddr2):       Started proxy-00
> 
> Failed actions:
>     pingd:0_monitor_0 (node=proxy-00, call=5, rc=2, status=complete):
> invalid parameter
>     pingd_monitor_0 (node=proxy-00, call=8, rc=2, status=complete):
> invalid parameter
> 
> crm(live)resource# start pingd 
> crm(live)resource# status
>  ip-segura    (ocf::heartbeat:IPaddr2) Started 
>  pingd        (ocf::pacemaker:pingd) Stopped 
> 
> and in the system log I got:
> 
> Apr 12 14:55:18 proxy-00 crm_resource: [27941]: ERROR: unpack_rsc_op:
> Hard error - pingd:0_last_failure_0 failed with rc=2: Preventing pingd:0
> from re-starting on proxy-00
> Apr 12 14:55:18 proxy-00 crm_resource: [27941]: ERROR: unpack_rsc_op:
> Hard error - pingd_last_failure_0 failed with rc=2: Preventing pingd
> from re-starting on proxy-00
> 
> I have stoped node 2 in order to less problem
> 
> ¿I can't found any reference to this error?
> ¿Can you help me? please.
> 
> 
> 
> 



Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to