About the cluster joining a synchronization problem

SCM

Member
Aug 9, 2019
43
2
13
21
I modified the ssh port, A and B clusters can also log in to each other, but the clusters cannot be synchronized. When I use the default port 22, restarting the service is fine. I confirm that ssh_config and sshd_config have been modified, and the ssh login is normal

such as:
connect('dbname=Proxmox_ruledb;host=/run/pmgtunnel;port=2;','root',...) failed: could not connect to server: No such file or directory#012#011Is the server running locally and accepting#012#011connections on Unix domain socket "/run/pmgtunnel/.s.PGSQL.2"? at /usr/share/perl5/PMG/DBTools.pm line 68.​
 
which modification to the ssh config did you make?
In general PMG assumes that the ssh config stays more or less the same, and it cannot support arbitrary changes to the config, since cluster synchronization relies (partially) on ssh

check if the command:
Code:
 /usr/bin/ssh -N -o BatchMode=yes -o HostKeyAlias=<node>-L /run/pmgtunnel/.s.PGSQL.2:/var/run/postgresql/.s.PGSQL.5432 <node-ip>
works, where you replace <node> by the nodename as it's written in the cluster.conf, and <node-ip> as the ip of the node in the cluster config...

I hope this helps!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!