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.
Comments
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
Submitted by JamieCameron on Sat, 02/29/2020 - 17:25 Comment #2
Actually the command is
/etc/webmin/server-manager/replicate.pl
Ah, okay, thanks Jamie for pointing this out!
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.
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?
I suppose you need to look at Cloudmin Replication and/or Virtual Server Replication pages.
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.