Migrate master to new Ubuntu version

Discussion in 'Installation/Configuration' started by iqpascal, Jul 13, 2018.

  1. iqpascal

    iqpascal Member

    I want to move my master ISPConfig node to a new server with the latest version of Ubuntu. The master runs web, db and dns server. The new server will get a new servername and ip addresses.

    Can I do this manually or do I need the migration tool for this?

    I gather:
    • Install new server with ISPConfig and additional PHP versions.
    • Copy relevant entries from password and group files
    • Copy over /var/www/
    • Dump all databases and read them into MariaDB on the new server
    • Copy over /usr/local/ispconfig/* to the new server
    • Check the sites for IP settings as they will get new IP addresses (?)
    • Check PHP settings as the new default PHP is different from the previous server
    • Resync on the new server
    • Change DNS entries
    • Change config on slave servers to connect to the new master
    Should do the trick?
    ahrasis likes this.
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    I think it would be easier with migration tool, but this is doable by manually.
    One thing not handled in your plan is virtual usersISPConfig creates, for example e-mail users. They are not in /etc/passwd.
    Not sure what you mean with that, but that may not be possible. What slaves?
  3. iqpascal

    iqpascal Member

    I assume the virtual users are in the database that is being moved? Or in the local database on the other 'slaves' that run a specific task.

    With slaves I mean the other nodes that run mail & dns (and in my case also a couple of web servers) that are connecting to the master that I am planning to migrate :)

    Also need to migrate the lets encrypt certificates.
  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    If not using Migration toolkit, I would install the new server and multiserver setup, then move one client at a time. Create account, website, mailboxes etc., then move the data.
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    The manual procedure that you outlined in our first post should be fine for a manual move of the master. And as you probably will not format the old master server until you tested that the new one fully works, there is no real risk. In case you missed a part, you can just copy it then.

    What I would add:

    1) make an ispconfig update on the new master and let it reconfigure the services before you do the resync.
    ahrasis likes this.

Share This Page