Cloudmin Replication Issues

Good day,

We have two servers running Cloudmin. Server A is the Cloudmin Master, and server B is the Cloudmin secondary (replica).

The issue - the replica does not appear to be replicating properly. It seems that the only way to replicate from Master to Replica is to go to Cloudmin Settings > Cloudmin Replication and click Save.

According to the documentation, replication should be happening every 5 minutes.

Can you assist us in identifying why this configuration is not working? Or are we just missing something?

We set them up as per the instructions at: https://www.virtualmin.com/documentation/cloudmin/repl.

Server A: Ubuntu 12.04.1 LTS | Webmin 1.930 | Cloudmin Pro 9.4 | Cloudmin Master

Server B: CentOS 7.6.1810 | Webmin 1.940 | Cloudmin Pro 9.4 | Cloudmin Secondary

(we realize that server B has a newer version of Webmin, the issue existed prior to any Webmin upgrades or version differences).

I have included screenshots of each with a bit more details.

Status: 
Active

Comments

Ilia's picture
Submitted by Ilia on Fri, 02/28/2020 - 05:52

Hi,

At first let me point out that Ubuntu 12.04 is literally a dinosaur! xD You have to upgrade your master as soon as possible!

For your issue try running:

/etc/webmin/server-manager/vsync.pl

Actually the command is /etc/webmin/server-manager/replicate.pl

Ilia's picture
Submitted by Ilia on Sun, 03/01/2020 - 08:07

Ah, okay, thanks Jamie for pointing this out!

chadwick89's picture
Submitted by chadwick89 on Mon, 03/02/2020 - 11:08

Haha! Thank you for the advice and feedback :). I will try the /etc/webmin/server-manager/replicate.pl command as suggested by JC.

Upgrading our master is the reason for this inquiry. We are making efforts to move all Cloudmin Master functions to a new server running CentOS 7.

chadwick89's picture
Submitted by chadwick89 on Tue, 03/10/2020 - 11:02

Maybe I am missing something, but in the /etc/webmin/server-manager directory, I do not see either:

/etc/webmin/server-manager/vsync.pl

or /etc/webmin/server-manager/replicate.pl

Where do I go from here?

Ilia's picture
Submitted by Ilia on Tue, 03/10/2020 - 14:10

I suppose you need to look at Cloudmin Replication and/or Virtual Server Replication pages.

chadwick89's picture
Submitted by chadwick89 on Tue, 03/10/2020 - 17:29

Just to follow up...I was able to complete this task and migrate our Cloudmin Master to a much new server.

That said, I could not find either of the .pl scripts mentioned above. In the Cloudmin Master, I had to go into Cloudmin > Cloudmin Replication and click save again. Once this finished (took over 5 hrs), I then changed the replica to a stand-alone host, and marked the old master as a replica (with no master).

The every 5 minute replication still does not seem to work.