Hi Dejan

> Could you also go a step further and upgrade to 2.1.3.

That' unfortunately a problem. If you can give me some good reasons for
this, I can go to the management to ask for it... ;-)

> > Is it possible that the var "OCF_RESKEY_CRM_meta_clone" is not set and
so
> > expr runs into a error? I did not found any other occourence of
> > OCF_RESKEY_CRM_meta_clone, not even on /etc/ha.d/resource.d/IPaddr2.
>
> Hmm, that would imply that IPaddr2 always fails if used as a
> Heartbeat style RA.
>
> > But on
> > top of  /usr/lib/ocf/resource.d/heartbeat/IPaddr2 you can read
something
> > about the OCF parameters. Maybe there is something missing on the
IPaddr2
> > wrapper script /etc/ha.d/resource.d/IPaddr2?
>
> Looks like it. BTW, why do you use the heartbeat and not OCF RA?

Hm, maybe I understand the (not existing :-| ) documentation wrong, but I
defined the resource like this:

<primitive id="rsc_IPaddr" class="ocf" type="IPaddr2" provider="heartbeat">
 <instance_attributes id="rsc_IPaddr_instance_attrs">
  <attributes>
   <nvpair id="96252422-60e0-4e3f-bcd6-4d1c3996d10e" name="ip"
value="172.17.206.153"/>
  </attributes>
 </instance_attributes>
 <meta_attributes id="rsc_IPaddr_meta_attrs">
  <attributes>
   <nvpair id="rsc_IPaddr_metaattr_target_role" name="target_role"
value="started"/>
  </attributes>
 </meta_attributes>
 <operations>
  <op id="2df96287-97cf-4d2e-b87b-66bb72090c33" name="monitor"
interval="10s" timeout="20s" disabled="false" role="Started"/>
 </operations>
</primitive>

This is _not_ a ocf resource?


> > Whats happening with the double dashes? Is there something wrong on my
> > installation?
>
> It's double slash :) No, that doesn't matter. Multiple / in a
> path is reduced to one.

Ups, youre right. :-) But thx for the hint, don't know this.


Yves Schumann
Softwareentwicklungsingenieur
Security Solutions Division
______________________________
Ascom (Schweiz) AG
Eichtal, CH-8634 Hombrechtikon
Phone: +41 55 254 66 84
[EMAIL PROTECTED]
http://www.ascom.com


_______________________________________________
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