[Pacemaker] problem with ocf:pacemaker:pingd

Dejan Muhamedagic dejanmm at fastmail.fm
Wed May 18 11:52:04 UTC 2011


Hi,

On Wed, May 18, 2011 at 06:23:31PM +0800, delube cheng wrote:
> Hi:
>     I was trying to install a heartbeat/pacemaker cluster in centos
> 5.5(x86_64bit) OS environment.  When I used crm tool to add pacemaker pingd
> primitive, I got the error as below:
> --------------------------------------------------------------------------
> crm(edit-conf)configure# primitive pingd ocf:pacemaker:pingd params

The connectivity check RA du jour is ocf:pacemaker:ping, please
use that.

> host_list=192.168.2.1 multiplier=20 op monitor interval=30s timeout=60s
> lrmadmin[6287]: 2011/05/18_18:13:43 ERROR: lrm_get_rsc_type_metadata(578):
> got a return code HA_FAIL from a reply message of rmetadata with function
> get_ret_from_msg.
> ERROR: ocf:pacemaker:pingd: could not parse meta-data:
> ERROR: ocf:pacemaker:pingd: no such resource agent
> --------------------------------------------------------------------------
>     I had installed pacemaker 1.0.11 normally and the cluster could bring
> the resources such as filesystem, ipaddr2 up and monitor them. Also I could
> find the pingd script at the location /usr/lib/ocf/resource.d/pacemaker/.
>     However, when I tried to add ocf:heartbeat:pingd with crm, It
> succeeded.  Is that anything I was missing ?

This is a bit mixed up: ocf:heartbeat:pingd or
ocf:pacemaker:pingd? Is the RA really present in
/usr/lib/ocf/resource.d/<provider>/? If so and the crm says that
it cannot parse the meta-data, then something's wrong with the
installation.

Thanks,

Dejan

> -- 
> Sincerely
> Delube

> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker





More information about the Pacemaker mailing list