[Pacemaker] problem with ocf:pacemaker:pingd

Dejan Muhamedagic dejanmm at fastmail.fm
Thu May 19 07:08:24 UTC 2011


On Thu, May 19, 2011 at 01:46:49PM +0800, delube cheng wrote:
> crm ra list can find the pacemaker pingd resource too.
> [root at CWS-centos1 ~]# crm ra list ocf pacemaker
> ClusterMon      Dummy           HealthCPU       HealthSMART     Stateful
> SysInfo         SystemHealth    controld        o2cb            ping
> pingd
> -------------------------------------------------------
> But I just can put it into cib ...

Can you show the output of

$ ls -l /usr/lib/ocf/resource.d/pacemaker

And try to run and see if it produces XML output:

$ export OCF_ROOT=/usr/lib/ocf
$ /usr/lib/ocf/resource.d/pacemaker/ping meta-data

If all that works, then there's something wrong with the
installation.

Thanks,

Dejan

> On Wed, May 18, 2011 at 6:23 PM, delube cheng <delube at gmail.com> 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
> > 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 ?
> >
> > --
> > Sincerely
> > Delube
> >
> 
> 
> 
> -- 
> 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