Clustering Ubuntu 18.04 servers - can't Tools > Resync

Discussion in 'Installation/Configuration' started by Dogbreath, Jan 10, 2019.

  1. Dogbreath

    Dogbreath New Member

    Built two Ubuntu 18.04 servers and then followed:
    https://www.howtoforge.com/tutorial...abase-cluster-on-debian-8.4-with-ispconfig-3/
    There was a comment from Till about copying /usr/local/ispconfig/interface/lib/config.inc.php from master to the slave server, which I have done and now have access to the management interface on both.
    I think I also concluded that step 5.5 may be optional, so haven't done it. I could be wrong however.

    Pretty much everything seems to be working [after I created a cron job to sync /etc/letsencrypt/] but there is one step on the install which doesn't work - "If you have already data (Websites, Mail....) running on server1, go to Tools / Resync and start a full resync (enable all checkboxes).". I only ever see the master server in the dropdown so can't run a resync to the slave.
    I have tried doing an "update" and re-doing a few steps but it hasn't made any difference. MySQL clustering is working fine.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    That's correct as all operations that are executed on the master are executed on the slave as well automatically.

    And I don't think that step 5.5 is optional.
     
  3. Dogbreath

    Dogbreath New Member

    Thanks for clearing up the point about the Resync.
    I guess I have further work to do on MySQL. I think I have interpreted "We are running a MySQL Master-Slave-Replication where server1 is the master and server2 the slave" as meaning that something is "done", when it isn't.
     
  4. Dogbreath

    Dogbreath New Member

    Is step 5.5 really right?
    "Login into MySQL on server1 and set the master-server with
    CHANGE MASTER TO MASTER_HOST="server2.example.tld"
    suggests to me that we are making server1 the slave of server2 which doesn't seem right.

    SHOW SLAVE STATUS \G on server1 then says
    ...
    Master_Host: server2
    ...
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    This is master/master replication (bi-directional).
     
  6. Dogbreath

    Dogbreath New Member

    D'oh! Of course, they are both masters and slaves of each other.
     
    Last edited: Jan 11, 2019

Share This Page