[PVE-User] Two-way cluster with 2.0

Gusek, Michael Michael.Gusek at vanguard-healthcare.com
Mon Feb 20 15:06:50 CET 2012


Thanks for your answer. My now working configuration looks:

<?xml version="1.0"?>
<cluster name="Test-Cluster" config_version="9">

  <cman keyfile="/var/lib/pve-cluster/corosync.authkey" two_node="1" expected_votes="1"></cman>

  <fencedevices>
    <fencedevice name="ipmi_virts01" agent="fence_ipmilan" ipaddr="xxx" login="xxxx" passwd="xxxx" />
    <fencedevice name="ipmi_virts02" agent="fence_ipmilan" ipaddr="xxx" login="xxxx" passwd="xxxx" />
  </fencedevices>

  <clusternodes>
    <clusternode name="virts01" votes="1" nodeid="1">
      <fence>
        <method name="power">
          <device name="ipmi_virts01" action="reboot"/>
        </method>
      </fence>
    </clusternode>
    <clusternode name="virts02" votes="1" nodeid="2">
      <fence>
        <method name="power">
          <device name="ipmi_virts02" action="reboot"/>
        </method>
      </fence>
    </clusternode>
  </clusternodes>
</cluster>


-----Ursprüngliche Nachricht-----
Von: pve-user-bounces at pve.proxmox.com [mailto:pve-user-bounces at pve.proxmox.com] Im Auftrag von Thierry Groteclaes
Gesendet: Montag, 20. Februar 2012 14:11
An: pve-user at pve.proxmox.com
Betreff: Re: [PVE-User] Two-way cluster with 2.0

hoi.

your fencedevices and your clusternodes have the same name. change that.
also, it's not agent="ipmilan", but agent="fence_ipmilan".

Le 20/02/2012 13:57, Gusek, Michael a écrit :
> Hi,
>
> i've created a cluster.conf in /etc/pve for two nodes:
>
> <?xml version="1.0"?>
> <cluster alias="TestCluster" config_version="17">
>    <cman two_node="1" expected_votes="1" keyfile="/var/lib/pve-cluster/corosync.authkey"/>
>
>    <fencedevices>
>          <fencedevice name="virts01" agent="ipmilan" ipaddr="xxxx" user="xxx" password="xxx" secure="1"/>
>          <fencedevice name="virts02" agent="ipmilan" ipaddr="xxxx" user="xxx" password="xxx" secure="1"/>
>    </fencedevices>
>
>    <clusternodes>
>     <clusternode name="virts01" votes="1" nodeid="1">
>          <fence>
>                  <method name="power">
>                          <device name="virts01"/>
>                  </method>
>          </fence>
>     </clusternode>
>     <clusternode name="virts02" votes="1" nodeid="2">
>          <fence>
>                  <method name="power">
>                          <device name="virts02"/>
>                  </method>
>          </fence>
>     </clusternode>
>   </clusternodes>
>    <rm>
>      <failoverdomains/>
>      <resources/>
>    </rm>
> </cluster>
>
> But on the HA's page i cannot commit them. What is going wrong ?
>
> Regards,
>
> Michael
>
>
>
> michael.gusek at vanguard-healthcare.com
> T  +49 (0)30 80 484 - 116
> F  +49 (0)30 80 484 - 335
> M  +49 (0)151 180 50 - 362
>
> VANGUARD AG
> Friedrichstraße 78, 10117 Berlin, Deutschland
> www.vanguard-healthcare.com
>
> Sitz/Registergericht: Berlin/AG Charlottenburg, HRB 80368 B
> Vorstand: Dr. Ralf Berscheid, Dr. Kordt Griepenkerl
> Vorsitzender des Aufsichtsrates: Herr Marcus Bracklo
>
> Hinweis: Diese Nachricht enthält vertrauliche Informationen. Diese sind ausdrücklich nur für den/die Empfänger/in dieser Nachricht bestimmt. Sollten Sie nicht der beabsichtigte Empfänger sein, so nehmen Sie bitte zur Kenntnis, dass jede Weiterleitung, jede Kopie oder die Verwendung der in dieser Nachricht enthaltenen Informationen untersagt ist. Sollten Sie diese Nachricht fälschlicherweise erhalten haben, löschen Sie bitte diese Nachricht und sämtliche Kopien bzw. Ausdrucke. Vielen Dank!
>
> Confidentiality Notice: This mail contains information which is confidential and may also be privileged. It is for exclusive use of the intended recipient(s). If you are not the intended recipient(s), please note that any distribution, copying or use of this mail or the contained information is strictly prohibited. If you have received this mail in error, please delete this email and any copies of it. Thank you!
>
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>
_______________________________________________
pve-user mailing list
pve-user at pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user



More information about the pve-user mailing list