Proxmox 2.x Cluster over VPN (pptp tunnel)

  • Thread starter Thread starter ironsf
  • Start date Start date
I

ironsf

Guest
Hi All. I know that there is a posibility to create cluster over OpenVPN. But i'm trying to do over pptp (or this can be any other tunneling proto). So my shceme is:
Proxmox-over-vpn.jpeg

I've setup multicast routing over pptp tunnel, and it works. I've tested multicast as is described here http://pve.proxmox.com/wiki/Multicast_notes.
Here my pings from Node2 to Node1:
Code:
 asmping 224.0.2.1 192.168.33.247
asmping joined (S,G) = (*,224.0.2.234)
pinging 192.168.33.247 from 192.168.233.190
  unicast from 192.168.33.247, seq=1 dist=2 time=89.962 ms
multicast from 192.168.33.247, seq=1 dist=1 time=93.188 ms
  unicast from 192.168.33.247, seq=2 dist=2 time=89.580 ms
multicast from 192.168.33.247, seq=2 dist=1 time=90.543 ms
  unicast from 192.168.33.247, seq=3 dist=2 time=90.414 ms
multicast from 192.168.33.247, seq=3 dist=1 time=91.279 ms
  unicast from 192.168.33.247, seq=4 dist=2 time=90.316 ms
multicast from 192.168.33.247, seq=4 dist=1 time=90.928 ms
^C
--- 192.168.33.247 statistics ---
4 packets transmitted, time 3220 ms
unicast:
   4 packets received, 0% packet loss
   rtt min/avg/max/std-dev = 89.580/90.068/90.414/0.328 ms
multicast:
   4 packets received, 0% packet loss since first mc packet (seq 1) recvd
   rtt min/avg/max/std-dev = 90.543/91.484/93.188/1.061 ms

Here my pings from Node1 to Node2:
Code:
asmping 224.0.2.1 192.168.233.190
asmping joined (S,G) = (*,224.0.2.234)
pinging 192.168.233.190 from 192.168.33.247
  unicast from 192.168.233.190, seq=1 dist=2 time=90.138 ms
  unicast from 192.168.233.190, seq=2 dist=2 time=89.952 ms
multicast from 192.168.233.190, seq=2 dist=2 time=90.402 ms
  unicast from 192.168.233.190, seq=3 dist=2 time=90.354 ms
multicast from 192.168.233.190, seq=3 dist=2 time=90.402 ms
  unicast from 192.168.233.190, seq=4 dist=2 time=89.824 ms
multicast from 192.168.233.190, seq=4 dist=2 time=89.872 ms
^C
--- 192.168.233.190 statistics ---
4 packets transmitted, time 3397 ms
unicast:
   4 packets received, 0% packet loss
   rtt min/avg/max/std-dev = 89.824/90.067/90.354/0.199 ms
multicast:
   3 packets received, 0% packet loss since first mc packet (seq 2) recvd
   rtt min/avg/max/std-dev = 89.872/90.225/90.402/0.350 ms

As we can see, multicast is working in both ways. But when i'm trying to add Node2 to Node1 cluster
Code:
root@Node2:~# /etc/init.d/cman start
Starting cluster: 
   Checking if cluster has been disabled at boot... [  OK  ]
   Checking Network Manager... [  OK  ]
   Global setup... [  OK  ]
   Loading kernel modules... [  OK  ]
   Mounting configfs... [  OK  ]
   Starting cman... [  OK  ]
   Waiting for quorum... 
 Waiting for quorum... Timed-out waiting for cluster
[FAILED]
On node1:

Code:
root@node1:~# pvecm nodes
Node  Sts   Inc   Joined               Name
   1   M     64   2012-08-02 08:13:42  node1
   2   X      0                        Node2

So is it network problem or i was something else?