ISPConfig 3.3 master migration

Discussion in 'Installation/Configuration' started by Olivier BOUMATI, May 19, 2025.

  1. Hi,

    I have a multi-server installation of 3 servers managed by ISPConfig 3.3.0p1:
    • 1 server 'Web 1' where ISPConfig master is installed,
    • 1 'Mail' server with ISPConfig slave
    • 1 new server 'Web 2' with ISPConfig slave
    Now that almost everything is transferred from Web1 server to Web2 server, I need to get rid of the web server 1, but first I need to get ISPConfig master to move from Web server 1 to Web server 2.

    So what is the best method to do this?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You can not make a slave server of a multiserver setup the master. If a new server is to become the master, then you must move ISPConfig installation to it. You can not add a new server as a slave and use this as a new master, as the master server ID is always 1, and your new slave node has no ID 3.
     
  3. Ok, but I have no choice, I need to find a solution to do that. Certainly by intervening directly in the database to change the server id, while taking maximum care to not break everything.
     
  4. nhybgtvfr

    nhybgtvfr Well-Known Member HowtoForge Supporter

    is this just to replace the old server with a newer, more powerful server?
    or are you trying to switch to a newer version of the OS as well?


    is everything that was on web1 still there? or have you removed it?
    if everything can still run on web1, i'd go back to doing that, and then remove the web2 server from ispconfig.
    then use ispcopy to copy the web1 installation to the new server.
    then get rid of web1 and either set the hostname and ip's on the new server to be whatever web1 had and just go from there.
    or update the slave config, and dns, to use the hostname / ip's of the new server
     
  5. Yes it is to replace old server by a more powerful new server.
    OS are different, Debian 11 for old server, and 12 for the new server.
    In the end, all services on the web1 server will be migrated on the web2 server. There were a hundred of web sites on the web1, I've already moved one by one to the web2, This work has been completed.
    It remains only ISPConfig itself and I'm not going to keep this server only for this, I need to find a solution to get rid of it.
     

Share This Page