Clone ispconfig install to new replacement server

Discussion in 'Server Operation' started by chief, Dec 19, 2019.

  1. chief

    chief Member HowtoForge Supporter

    I have a newer server with more space and more processing power.
    I have multi server 1 x control / web server - 1 x mail server - 1 x ns1 - 1 x ns2 setup.
    both servers have raid setup HD's
    what i want to do and am unsure is whether it will work is to clone 1 control web server to replacement unit and then power down old server as i want to replace it.
    What is the best method to achieve this, rather than a fresh install disrupting the existing setup?

    many thanks in advance

    chief / dave
    Last edited: Dec 19, 2019
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    This should work, provided the servers are sufficiently similar so that the cloned disk image works on the new server. I have done similar thing with Debian GNU/Linux, it worked with some tweaking to get network up. I used Clonezilla to clone the disk image.
    I would turn off all the servers while cloning, and only start the three other servers when I have verified the new cloned server seems to be working OK.
  3. MephiaSR

    MephiaSR New Member

    The best method (regardless the OS) of cloning is to setup a mirror. For this you need external hardware to store mirror (the larger the better; optimal is three times larger than original) and special script that will run in sequence (controlled by cron).....

    Just remeber to create same file system on target that is on source drive(s) or mirror will be unusable.
  4. Steini86

    Steini86 Active Member

    I doubt that.
    What makes you think that?
  5. chief

    chief Member HowtoForge Supporter

    I want to move my webserver/control from 1 machine to a newer server, power down old noisy server and make the copy its replacement with same IP address.
    Taleman i think is best to clone it via LAN
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Cloning the whole system is one method, another one is to move the ISPConfig master server to a new system with the program ISPCopy (which is part of the ISPConfig Migration Toolkit). The steps basically are:

    1) Install ISPConfig on the new server in the same way you installed it on the old one, using a newer version of the same Linux distribution is normally ok.
    2) Add the root users in mysql that are needed to install ispconfig updates on the slave servers.
    3) Use ISPCopy to move over the ISPConfig installation from old to new server.
    4) Run an ispconfig update on the new system with reconfigure services = yes and reconfigure permissions in master database = yes.
  7. chief

    chief Member HowtoForge Supporter

    i am nearly ready to make the move, do you recommend using migration toolkit and do i have to just run the basic installer as i have a multi server setup?
  8. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    How are these alternatives?
    If you want to use Migration Toolkit, you have to install a new system for the target of migration. It can be multiserver or single server.

Share This Page