update to 3.1.6 (dual server master/master replication)

Discussion in 'Installation/Configuration' started by electronico_nc, Aug 28, 2017.

  1. Hi all,
    I would need advice to upgrade an old dual-server setup:
    2 identical servers : ubuntu 14.04.5 LTS, bind, apache2, MySQL, pure-FTP, postfix, dovecot, roundcube
    MySQL master/master replication between the 2 servers
    data replication of /var via Unison for www vmail and roundcube config file
    # Roots of the synchronization
    root = /var
    root = ssh://server2//var/
    # Paths to synchronize
    path = www
    path = vmail
    path = lib/roundcube/plugins/ispconfig3_pass/config/config.inc.php.dist
    server1 is the main one using dbispconfig1 database
    server2 is the failover one using dbispconfig2 database
    A third server actually checks services via Monit and switch DNS entries for websites via the ISPConfig API
    Thanks to let me know if this way would be the correct one :
    - Backup MySQL, config files and datas as usually
    - Stop MySQL Slave role on 2 servers
    - Stop Unison cron job
    - server2 (failover) : run ispconfig_update.sh, expert mode
    - server1 (main) : run ispconfig_update.sh, expert mode
    - copy /usr/local/ispconfig/interface/lib/config.inc.php from server1 to server2
    - restart MySQL Slave roles on 2 servers
    - restart Unison cron job
    Thanks in advance for your time.
  2. Sorry to bump ... any advice about upating way ? Thanks
  3. florian030

    florian030 ISPConfig Developer ISPConfig Developer

    I think, you leave cron and mysql active. The update just makes some changes to the database.
    Is there any reason, why you sync the roundcube-config? And i would not use unision to sync mail. Better switch to dsync + dovecot.

Share This Page