Good News!...<div><br></div><div>I'm glad to notice that everything is work now...</div><div>I have set IPMI as Fence Device and shut off primary server, and the VM start on secondary server.... (primary/secondary is just a way to speak...)</div>
<div><br></div><div>My Sunday will be more smoothly...</div><div><br></div><div>I wanna thanks THe_ZiPMaN and others for help me....</div><div> </div><div>Thanks a lot....</div><div><br><div class="gmail_quote">2012/7/28 THe_ZiPMaN <span dir="ltr"><<a href="mailto:flavio-pve@zipman.it" target="_blank">flavio-pve@zipman.it</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 07/29/2012 02:13 AM, Gilberto Nunes wrote:<br>
> tempfile:10: element fence: Relax NG validaty error: Expecting element<br>
> clustercode, got fence<br>
<br>
</div>This indicates an XML error.<br>
<div><div class="h5"><br>
> <?xml version="1.0"?><br>
> <cluster name="MYCLUSTER" config_version="3"><br>
><br>
> <cman keyfile="/var/lib/pve-cluster/corosync.authkey"><br>
> </cman><br>
><br>
><br>
> <fencedevices><br>
> <fencedevice agent="fence_ipmilan" lanplus="1"<br>
> ipaddr="192.168.200.65" login="root" name="ipmi1" passwd="password"<br>
> power_wait="5"/><br>
> <fencedevice agent="fence_ipmilan" lanplus="1"<br>
> ipaddr="192.168.200.66" login="root" name="ipmi2" passwd="password"<br>
> power_wait="5"/><br>
> </fencedevices><br>
><br>
> <clusternodes><br>
> <clusternode name="servidor-a" nodeid="1" votes="1"/><br>
> <fence><br>
> <method name="1"><br>
> <device name="ipmi1"/><br>
> </method><br>
> </fence><br>
> <clusternode name="servidor-b" nodeid="2" votes="1"/><br>
> <fence><br>
> <method name="1"><br>
> <device name="ipmi2"/><br>
> </method><br>
> </fence><br>
> </clusternodes><br>
> </cluster><br>
<br>
</div></div>I'm not sure (I don't have any proxmox to check right now), but it seems<br>
to me that <fence> should be inside <clusternode>.<br>
<div class="im"><br>
<clusternodes><br>
<clusternode name="servidor-a" nodeid="1" votes="1"><br>
</div><div class="im"> <fence><br>
<method name="1"><br>
<device name="ipmi1"/><br>
</method><br>
</fence><br>
</div> </clusternode><br>
<div class="im"> <clusternode name="servidor-b" nodeid="2" votes="1"><br>
</div><div class="im"> <fence><br>
<method name="1"><br>
<device name="ipmi2"/><br>
</method><br>
</fence><br>
</clusternode><br>
</div> </clusternodes><br>
<br>
Indentation is really important when checking XML. And pay attention on<br>
the removal of the slash at the end of the <clusternode> tags.<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Flavio Visentin<br>
<br>
A computer is like an air conditioner,<br>
it stops working when you open Windows<br>
_______________________________________________<br>
pve-user mailing list<br>
<a href="mailto:pve-user@pve.proxmox.com">pve-user@pve.proxmox.com</a><br>
<a href="http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user" target="_blank">http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Gilberto Nunes<div><br><br>(47) 9676-7530</div><div>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">msn: <a href="mailto:gilbertonunesferreira@hotmail.com" target="_blank">gilbertonunesferreira@hotmail.com</a></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">msn: <a href="mailto:konnectati@konnectati.com.br" target="_blank">konnectati@konnectati.com.br</a></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">
Skype: gilberto.nunes36</p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">Skype: konnectati</p><p></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">
<font face="Arial, Helvetica, sans-serif"><span style="font-size:14px"><br></span></font></p><font size="4"><b><a href="http://www.konnectati.com.br" target="_blank">www.konnectati.com.br</a></b></font><br></div><br>
</div>