Change Master <> Slave

Discussion in 'Installation/Configuration' started by Petr, Aug 24, 2010.

  1. Petr

    Petr New Member

    please, I have any question about ISP Confing 3.

    Is it possible to change the Master server in multiserver configuration ? ( from server1 to server2)
    (this multiservers configuration contains 6 servers , including 1 Master ,and 5 slaves )

    Problem is , the master server is unusually slowly. Slaves servers are OK.

    I need to change one slave server reconfigure to a new master server , and current master server reconfigure to slave server to work for a new master, at the same time.

    What is the correct procedure?
    How do I guarantee no lost working accounts on wrong master server? The current master server has about 60 accounts including webs, mails, DB and all of them work permanently.

    thanx for all answer
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You can not change a slave to be the master as the slave does not have the information that is required to be the master.

    One solution for your problem is to make a full backup of the master and replace the hardware.
  3. Petr

    Petr New Member

    Till, thanks for your response.
    ok, i am know.

    little other questions.
    my idea be to change the master server, but not the tasks running on servers

    this scenario: master slave slave

    ok, new i am make and configure him that new master.
    step 1. from server migrate dbispconfig on
    step 2. for all sleve servers change master (from >

    I think it is posible. servers 2 , 3 must be work for server 4 new correctly.

    step3. ???
    on ispconfig on run php -q install.php - select expert, select new master is , select reconfigure all tasks - end......... but! all data , postfix, sql, apache , mailbox working continually from , or this operation is delete or wrong data and server is emty new?

    sorry for my pure english :(
    Last edited: Aug 25, 2010
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    This might work, but you will have to copy all permission records from the mysql database of the old masetr to the new master and then adjust the hostnames in the mysql permission records.

    But the much easier solution is to make a full backup of the current master harddisk and restore this full backup to the new master. Then switch of the old master and turn on the new one, so that it has the same IP and and hostname is used. Or in other words, you replace the hardware as I suggested above.

Share This Page