Issues with Cluster Sync

mmeklenschek

New Member
Jan 31, 2022
2
0
1
54
Hi All, I created 2 new 7.1 PMG servers to replace my v6 ones. I backed up the master of the 6, restored it to the master 7.

After reconfiguring the cluster, I get the following in the syslog. It doesn't seem to be syncing.

I am able to SSH to each box without having to enter a password.



Jan 31 11:11:48 proxmox2 pmgmirror[2731]: database sync 'proxmox1' failed - command 'rsync '--rsh=ssh -l root -o BatchMode=yes -o HostKeyAlias=proxmox1' -q -aq --timeout 10 '[10.0.0.175]:/var/spool/pmg/cluster/2/' /var/spool/pmg/cluster/2 --include spam/ --include 'spam/*' --include 'spam/*/*' --include virus/ --include 'virus/*' --include 'virus/*/*' --exclude '*'' failed: exit code 23
Jan 31 11:11:49 proxmox2 pmgmirror[2731]: cluster synchronization finished (1 errors, 2.34 seconds (files 0.00, database 1.91, config 0.43))

My cluster information is the following:

master: 1
fingerprint 90:55:2B:F9:97:7C:43:41:72:81:77:9E:71:1A:EF:98:93:66:E5:59:75:3D:D4:85:B0:CD:AB:73:D9:77:A6:4B
hostrsapubkey *********
ip 10.0.0.175
maxcid 3
name proxmox1
rootrsapubkey ***********


node: 7
fingerprint 9B:76:26:40:66:35:29:F7:8E:C7:36:86:57:0D:3C:D5:74:1F:C5:2E:9D:FC:40:00:02:08:95:E9:22:9F:17:6B
hostrsapubkey **************
ip 10.0.0.174
name proxmox2
rootrsapubkey **************

The only thing I found is that the directory "/var/spool/pmg/cluster/2" doesn't exist.

Please help. thank you all!
 
After reconfiguring the cluster, I get the following in the syslog. It doesn't seem to be syncing.
One option to get a clean fresh state would be to:
* create both PMG 7 installations
* restore the backup to the future master node
* simply create the cluster anew on it
* join the second node

else you can also try to recreate the directory structure (compare it with the one on your PMG 6 nodes) - and restart the pmgmirror service

I hope this helps!
 
How would I start a new cluster all together with these 2 new servers? What files/folders would I need to delete?

Thank you
 
If possible - and it's not too much work (and hasn't been live) consider freshly creating the two PMG installations
(everything else is a bit fragilie)

if this is not possible - then - try creating the folders (compare with your PMG 6 installations)
 

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!