Proxmox HA

  • Thread starter Thread starter proxbiba
  • Start date Start date
P

proxbiba

Guest
Hey everybody, i'm rying to test proxmox two nodes high availability, i've already created cluster and configured DRBD and Fencing when i want to validate fencing changes i get the following result -first attachement picture-
the second picture is the output of /etc/pve/cluster.conf.new
Thanl a lot prox1.PNGpro2.PNGprox1.PNGpro2.PNG
 
clusternode #2 is missing the closing tag.
It must be:
Code:
<closternodes>
   <clusternode ....>
       .....
   </clusternode>
   <clusternode ...>
       ....
   </clusternode>
</clusternodes>
 
yes;
I found the mistake :D now i get an other
error.PNGerror.PNG

actualy, my native language is frensh so i find it hard to dell with english explnation in proxmox wiki configuring the High Availability :(
 
It will raise your chances of getting help if you paste the content of cluster.conf with your posts. Only seeing the error messages without the source is making it very hard to help you.
 
Your cluster.conf file seems to contain to cman tags:
<cman keyfile="/var/lib/pve-cluster/corosync.authkey"/>
<cman two_node="1" expected_votes="1"/>

it must be merged to one line like below:
<cman two_node="1" expected_votes="1" keyfile="/var/lib/pve-cluster/corosync.authkey"/>
 
hey
i"ve configured a cluster high availability, when test i it i started the RGmanager in my 2 nodes, and after i stopped it in one node the machines did not start in the other node this is the error:
er.PNG
Hope for some Help, i have a presentation Tomorrow :D
 
hey
i"ve configured a cluster high availability, when test i it i started the RGmanager in my 2 nodes, and after i stopped it in one node the machines did not start in the other node this is the error:

Seem the VM has disks on local storage! You need shared storage for HA.
 
may i have more help on this, i mean how to share the local storage?
 
already done, when i want to create o new vm in the LVM storage created, i go to dowload template or iso i get this messages:
cannot download to storage type 'lvm' at /usr/share/perl5/PVE/API2/Nodes.pm line 934. (500)


 
already done, when i want to create o new vm in the LVM storage created, i go to dowload template or iso i get this messages:
cannot download to storage type 'lvm' at /usr/share/perl5/PVE/API2/Nodes.pm line 934. (500)

DRBD is a block device, so you cannot store files there (templates, iso).
 
Now when i want to start RGmanager i get tasks Ok, but the gui showes that it is stopped...
i'm really confused :(
what i get to do to have ha between two nodes after creating the cluster, configuring fincing and DRBD ?? did i do some misakes in the configuration ?
i use chassis fujitsu and this is the content of /etc/cluster/cluster.conf.new

<?xml version="1.0"?>
<cluster config_version="18" name="clustertest">
<cman expected_votes="1" keyfile="/var/lib/pve-cluster/corosync.authkey" two_$
<fencedevices>
<fencedevice agent="fence_na01" ipaddr="10.78.78.113" login="root" name="pr$
<fencedevice agent="fence_na01" ipaddr="10.78.78.120" login="root" name="pr$
</fencedevices>
<clusternodes>
<clusternode name="proxmox" nodeid="1" votes="1">
<fence>
<method name="1">
<device action="reboot" name="proxmox"/>
</method>
</fence>
</clusternode>
<clusternode name="proxmox2" nodeid="2" votes="1">
<fence>
<method name="1">
<device action="reboot" name="proxmox2"/>
</method>
</fence>
</clusternode>
</clusternodes>
<rm>
<pvevm autostart="1" vmid="106"/>
<pvevm autostart="1" vmid="100"/>
<pvevm autostart="1" vmid="101"/>
<pvevm autostart="1" vmid="102"/>
<pvevm autostart="1" vmid="104"/>
<pvevm autostart="1" vmid="108"/>
<pvevm autostart="1" vmid="103"/>
</rm>
</cluster>