How to change master/slave roles between servers

Discussion in 'Installation/Configuration' started by ethraza, Aug 24, 2017.

  1. ethraza

    ethraza New Member

    Hi.
    I would like to know how to change places between a master and a slave server in ISPConfig 3.1.6, without move the services.

    What I have:
    Server1 (Master) - Ubuntu 10.04 / MySQL / Apache / Pure-FTP
    Server2 (Slave) - Ubuntu 10.04 / MySQL / Postfix
    Server3 (Slave) - Ubuntu 16.04 / MariaDB / Apache
    Server4 (Slave) - Ubuntu 16.04 / MariaDB

    What I would like to change to:
    Server1 (Slave) - Ubuntu 10.04 / MySQL / Apache / Pure-FTP
    Server2 (Slave) - Ubuntu 10.04 / MySQL / Postfix
    Server3 (Master) - Ubuntu 16.04 / MariaDB / Apache
    Server4 (Slave) - Ubuntu 16.04 / MariaDB

    Right now I go to server1:8080 to access ISPConfig panel. I have installed the web interface on server3 as well, so server3:8080 already works but it does not administrate all the servers because it is not the master.
    So, how do I change roles between servers without affect the services they are running, or IPs or hostnames? Just move the administration role to the newer server. All the Sites, FTP users, and DBs must stay in the server they are.

    Thanks in advance.
     
    Last edited: Aug 24, 2017
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You can not change the roles of the servers as the slaves do not hold all data (only the master has a complete dataset), or at least it would be a lot of work to do so.
     

Share This Page