Hello there,
I'm trying to build for the first time a cluster with unicast ( used to do that in LAN where multicast works ). Two servers in a Vrack at OVH but I'm not sure that the problem is there.
First, a fresh install of both server, apt-get update and apt-get upgrade.
Added both servers in each /etc/hosts
Of course, XXX and YYYYYYY replace the real values .
On the first server :
/etc/pve/cluster.conf edited ( without double closing tag, the wiki page http://pve.proxmox.com/wiki/Multicast_notes#Use_unicast_instead_of_multicast is unclear because there is a "\>" at the end of the line, should be ">" without "\", right ? )
Both server rebooted and then, trying to add the second server to the cluster.
On the second server :
Getting the error message : "unable to copy ssh ID"
I tried, on the first server :
Cman seems running :
What did I miss ? Thank for your help.
Michel.
I'm trying to build for the first time a cluster with unicast ( used to do that in LAN where multicast works ). Two servers in a Vrack at OVH but I'm not sure that the problem is there.
First, a fresh install of both server, apt-get update and apt-get upgrade.
Added both servers in each /etc/hosts
127.0.0.1 localhost.localdomain localhost
5.39.XXX.XXX nsYYYYYY.ovh.net nsYYYYYY
178.33.XXX.XXX nsYYYYYY.ovh.net nsYYYYYY
Of course, XXX and YYYYYYY replace the real values .
On the first server :
# pvecm create test
/etc/pve/cluster.conf edited ( without double closing tag, the wiki page http://pve.proxmox.com/wiki/Multicast_notes#Use_unicast_instead_of_multicast is unclear because there is a "\>" at the end of the line, should be ">" without "\", right ? )
<?xml version="1.0"?>
<cluster name="test" config_version="1">
<cman keyfile="/var/lib/pve-cluster/corosync.authkey" transport="udpu">
</cman>
<clusternodes>
<clusternode name="nsYYYYYY" votes="1" nodeid="1"/>
</clusternodes>
</cluster>
Both server rebooted and then, trying to add the second server to the cluster.
On the second server :
# pvecm add IP-ADDRESS-OF-THE-FIRST-SERVER
Getting the error message : "unable to copy ssh ID"
I tried, on the first server :
# /etc/init.d/cman stop
# /etc/init.d/cman start
Cman seems running :
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... [ OK ]
Starting fenced... [ OK ]
Starting dlm_controld... [ OK ]
Tuning DLM kernel config... [ OK ]
Unfencing self... [ OK ]
What did I miss ? Thank for your help.
Michel.