planing change of Master in Cluster

Discussion in 'Installation/Configuration' started by LKTechnik, May 31, 2023.

  1. LKTechnik

    LKTechnik New Member

    I have currently a setup like this
    • Server 1 that is EOL ( i686 GNU/Linux / Debian 11.7) as MASTER
      • Nothing on it except ispconfig Master
      • MariaDB10.5
    • Server 2 and 3 ( x86_64 GNU/Linux / Debian 11.7) as SLAVE
      • Apache / MariaDB / website
    The master is at is end because of 32 bit and i have issues with mysql and other things.

    now im trying to switch to a two node setup so that Server 3 became the new master and i can shutdown Server1 and reconfigure Server 2 to connect to Server 3

    i know its not a recomendet way, but the solution to setup a new Server and restore configs as Master is not a Solution

    is there any tutorial or help do do someting?

    currently i planed to dump the Server 1 and Server 3 DB as Backup
    then i clear Server 3 and restore server 1 DB on it.
    and change some values in the db so that server 3 knows that he is the master and know his sites

    and change connection on server 2 to server 3 instead of server 1

    any better idea?
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

  3. till

    till Super Moderator Staff Member ISPConfig Developer

    In general, you can do that as you described it, but might be a bit wor work and tweaking server ID's in the database.

    No, I don't think that there are any guides on that topic available.
     
  4. LKTechnik

    LKTechnik New Member

    Yes i doo but i dont think it will work,
    because i have on server 2 and 3 allready data on it and the data from server 1 is useless / Nothing
    or did i miss some options?
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    You can not use Migration Toolkit for your special case.
     
    ahrasis and LKTechnik like this.

Share This Page