I have set up 2 SLES HA machines, and run ha-cluster-init on the first one, as stated in quick start document, and then I ran ha-cluster-join. Then I get error:
"Configuring csync2...ERROR: 1: cluster.join: Can't retrieve csync2 config from sles-a"
If i try to retrieve file manually it works fine:
sles-b:~ # scp root@sles-a:'/etc/csync2/csync2.cfg' /etc/csync2
csync2.cfg 100% 516 672.2KB/s 00:00
The whole output of ha-cluster-join:
[CODE]sles-b:~ # ha-cluster-join
Join This Node to Cluster:
You will be asked for the IP address of an existing node, from which
configuration will be copied. If you have not already configured
passwordless ssh between nodes, you will be prompted for the root
password of the existing node.
IP address or hostname of existing node (e.g.: 192.168.1.1) []sles-a
Retrieving SSH keys - This may prompt for root@sles-a:
/root/.ssh/id_rsa already exists - overwrite (y/n)? y
One new SSH key installed
Configuring csync2…ERROR: 1: cluster.join: Can’t retrieve csync2 config from sles-a[/CODE]
Hawk2 website works fine, node1 (sles-a for me) or virtual IP, resources can be added, stopped, started, … tested with apache2 server. Bot devices can ssh passwordless into each other. Both devices are virtual machines, bridged to LAN. Does anyone know if this is a problem with setup script or did I do something wrong? If I take command from script and run it I get this error:
[CODE]sles-b:~ # scp root@sles-a:’/etc/csync2/{csync2.cfg,key_hagroup}’ \ /etc/csync2
error: unexpected filename: csync2.cfg
sles-b:~ # scp root@sles-a:’/etc/csync2/{csync2.cfg,key_hagroup}’ /etc/csync2
error: unexpected filename: csync2.cfg
[/CODE]
Thank you in advance to anyone willing to try to help
Kristjan