On Mon, Nov 17, 2008 at 17:38, Thomas Halinka <[EMAIL PROTECTED]> wrote:
> Hi together,
>
> i am trying to get a 2node XEN-Cluster running with heartbeat2.
>
>  ============
> Last updated: Mon Nov 17 17:35:48 2008
> Current DC: beta (4995cc34-47e4-43ea-8f07-7118638b0a7b)
> 2 Nodes configured.
> 0 Resources configured.
> ============
>
> Node: beta (4995cc34-47e4-43ea-8f07-7118638b0a7b): online
> Node: alpha (d182471f-8d49-4d1a-8403-aac63fc0af23): online
>
> The Problem is when i try adding the stonith-resources i get an error:
>
> # cibadmin -C -o resources -x /root/stonith.xml
> Call failed: missing id or id-collision detected
>
> while stonith.xml looks like:
> cat /root/stonith.xml
>
> <clone id="stonithcloneGroup" globally_unique="false">
>
>  <instance_attributes id="stonithcloneGroup">
>
>  <attributes>
>
>   <nvpair id="stonithclone01" name="clone_node_max" value="1"/>
>
>  </attributes>
>
>  </instance_attributes>
>
>  <primitive id="stonithclone" class="stonith" type="external/ssh"
> provider="heartbeat">
>
>  <operations>
>
>   <op name="monitor" interval="5s" timeout="20s" prereq="nothing"
> id="stonithclone-op01"/>
>
>   <op name="start" timeout="20s" prereq="nothing"
> id="stonithclone-op02"/>
>
>  </operations>
>
>  <instance_attributes id="stonithclone">
>
>  <attributes>
>
>   <nvpair id="stonithclone01" name="hostlist" value="alpha,beta"/>
>
>  </attributes>
>
>  </instance_attributes>
>
>  </primitive>
>
> </clone>
>
> Whats going wrong there? What am i missing?


grep "nvpair.*stonithclone01" /root/stonith.xml

id's need to be unique.
_______________________________________________
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