[PVE-User] Console with dedicate network for cluster

Quentin H. ml at my-heb.eu
Tue Sep 11 10:26:27 CEST 2012


Le 11/09/2012 09:43, Dietmar Maurer a écrit :
>> I'm not able to use the console for the other
>> nodes, because the connection is created on the cluster network interface.
> I do not understand that (VNC connection is tunneled wit ssh).
>
For example, I have two Proxmox configured on a Cluster :
     - prx-1 (eth0/vmbr0 : 192.168.0.50, eth3 : 10.10.0.1)
     - prx-2 (eth0/vmbr0 : 192.168.0.51, eth3 : 10.10.0.2)

The both eth0 are connected on a switch device reachable from the PCs.
The both eth3 are directly connected with a cross over cable.

The cluster configuration use the IPs of eth3 :

root at prx-1:~# pvecm status
Version: 6.2.0
Config Version: 2
Cluster Name: prx-cluster
Cluster Id: 14251
Cluster Member: Yes
Cluster Generation: 20
Membership state: Cluster-Member
Nodes: 2
Expected votes: 2
Total votes: 2
Node votes: 1
Quorum: 2
Active subsystems: 5
Flags:
Ports Bound: 0
Node name: prx-1
Node ID: 2
Multicast addresses: 239.192.55.226
Node addresses: 10.10.0.1

root at prx-2:~# pvecm status
Version: 6.2.0
Config Version: 2
Cluster Name: prx-cluster
Cluster Id: 14251
Cluster Member: Yes
Cluster Generation: 20
Membership state: Cluster-Member
Nodes: 2
Expected votes: 2
Total votes: 2
Node votes: 1
Quorum: 2
Active subsystems: 5
Flags:
Ports Bound: 0
Node name: orx-2
Node ID: 1
Multicast addresses: 239.192.55.226
Node addresses: 10.10.0.2


When I go on the interface https://192.168.0.50:8006, I can use the 
console for every prx-1 guests, however when I try to use the console of 
the prx-2 guests I get the error : TASK ERROR: command '/bin/nc -l -p 
5900 -w 10 -c '/usr/bin/ssh -T -o BatchMode=yes -c blowfish-cbc 
10.10.0.2 /usr/sbin/qm vncproxy 115 2>/dev/null'' failed: exit code 255

I think the problem come from the IP 10.10.0.2 used in the command line 
(should use 192.168.0.51).


regards,








More information about the pve-user mailing list