<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">El 26/09/13 15:16, Luis G. Coralle
escribió:<br>
</div>
<blockquote
cite="mid:CAG+yBPR4YzZ3o8VUmdnsDt9N4qVy91zTS77UMK9cf7Q7sUT22A@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<div dir="ltr">I think they should be in same network.
<div>How is configured the other proxmox cluster?</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2013/9/26 Angel Docampo <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:adocampo@dltec.net" target="_blank">adocampo@dltec.net</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Everytime
I need to create a cluster in proxmox I suffer a bit PITA.
But<br>
now I simply can't do it. I've reinstalled several times and
deleted and<br>
recreated the cluster again and again. No luck.<br>
<br>
Multicast does not work in this network, so I used unicast.
There are<br>
another proxmox cluster in the same network and it's working
(it was<br>
very painfull also to install, but once I realized the
problem was<br>
unicast and the mtu size, it works very well, except when
adding a node,<br>
that always is another pain).<br>
<br>
So, I would like to explain how I'm doing this and perhaps
I'm pretty<br>
obfuscated to see what is happening.<br>
<br>
I've installed two debian 7.1, LVM partitions (not
necessary, but I did<br>
it anyway), and installed proxmox. The servers works as
expected separately.<br>
<br>
The server p01 have the IP: 192.168.200.197<br>
The server p02 have the IP: 192.168.201.191<br>
<br>
The two networks are visible each other, and as cluster
protocol is udp,<br>
it should work. Am I wrong?<br>
<br>
Then on p01, I've created the cluster with "pvecm create
testcluster",<br>
it worked<br>
I've copied /etc/pve/cluster.conf to
/etc/pve/cluster.conf.new,<br>
increased the version number and add transport="udpu" to the
cman<br>
section and added the section <totem netmtu="1400" />
(I tried without<br>
it also). Then I've activated the new configuration throught
the GUI.<br>
<br>
I've double checked /etc/hosts to assure they resolve the
names through<br>
this mechanism.<br>
<br>
Then on p02 I tried to add the node with "pvecm add p01"
(also tried<br>
with IP and also tried this command from p01, both with
hostname and IP<br>
of the p02 node).<br>
<br>
root@p02:~# pvecm add p01<br>
root@p01's<br>
password:<br>
<br>
copy corosync auth<br>
key<br>
stopping pve-cluster<br>
service<br>
Stopping pve cluster filesystem:<br>
pve-cluster.<br>
backup old<br>
database<br>
<br>
Starting pve cluster filesystem :<br>
pve-cluster.<br>
Starting<br>
cluster:<br>
<br>
Checking if cluster has been disabled at boot... [ OK<br>
]<br>
Checking Network Manager... [ OK<br>
]<br>
Global setup... [ OK<br>
]<br>
Loading kernel modules... [ OK<br>
]<br>
Mounting configfs... [ OK<br>
]<br>
Starting cman... [ OK<br>
]<br>
Waiting for quorum...<br>
[FAILED]<br>
Waiting for quorum...<br>
<br>
Well, it never works. The node waits for a quorum forever. I
can see the<br>
p02 node on the p01 GUI (with a red light), but I have no
access.<br>
If I run:<br>
root@p01:~# pvecm status<br>
Version: 6.2.0<br>
Config Version: 2<br>
Cluster Name: testcluster<br>
Cluster Id: 692<br>
Cluster Member: Yes<br>
Cluster Generation: 1276<br>
Membership state: Cluster-Member<br>
Nodes: 1<br>
Expected votes: 1<br>
Total votes: 1<br>
Node votes: 1<br>
Quorum: 1<br>
Active subsystems: 5<br>
Flags:<br>
Ports Bound: 0<br>
Node name: p01<br>
Node ID: 1<br>
Multicast addresses: 239.192.2.182<br>
Node addresses: 192.168.200.197<br>
<br>
root@p02:~# pvecm status<br>
Version: 6.2.0<br>
Config Version: 2<br>
Cluster Name: testcluster<br>
Cluster Id: 692<br>
Cluster Member: Yes<br>
Cluster Generation: 24<br>
Membership state: Cluster-Member<br>
Nodes: 1<br>
Expected votes: 2<br>
Total votes: 1<br>
Node votes: 1<br>
Quorum: 2 Activity blocked<br>
Active subsystems: 1<br>
Flags:<br>
Ports Bound: 0<br>
Node name: p02<br>
Node ID: 2<br>
Multicast addresses: 239.192.2.182<br>
Node addresses: 192.168.201.191<br>
<br>
root@p01:~# pvecm nodes<br>
Node Sts Inc Joined Name<br>
1 M 1276 2013-09-26 13:02:19 p01<br>
2 X 0 p02<br>
<br>
root@p02:~# pvecm nodes<br>
Node Sts Inc Joined Name<br>
1 X 0 p01<br>
2 M 24 2013-09-26 13:04:02 p02<br>
<br>
And trying to access from p01 GUI to the local resources of
p02, Appears<br>
the message "can't open '/etc/pve/authkey.pub' - No such
file or<br>
directory (401)" As the /etc/pve/ mountpoint on p02 is a)
read only and<br>
b) not the same than p01 (i.e: on p01 there are more files),
and<br>
/etc/pve/authkey.pub is not in p02.<br>
<br>
Some help is very appretiated<br>
Regards,<br>
<br>
--<br>
Angel Docampo<br>
<br>
<br>
Nota Legal<<a moz-do-not-send="true"
href="http://www.dltec.net/notalegal.html" target="_blank">http://www.dltec.net/notalegal.html</a>><br>
_______________________________________________<br>
pve-user mailing list<br>
<a moz-do-not-send="true"
href="mailto:pve-user@pve.proxmox.com">pve-user@pve.proxmox.com</a><br>
<a moz-do-not-send="true"
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>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
Luis G. Coralle<br>
</div>
</blockquote>
<br>
May be. Im not sure, but I think that I already mount once a proxmox
cluster with nodes in two different networks... But the actual
working cluster nodes are all in the same network. :S<br>
<br>
So I'm going to put them on the same network and I tell you back.<br>
<br>
Regards,<br>
<pre class="moz-signature" cols="72">--
Angel Docampo</pre>
</body>
</html>