Change master ISPConfig server IP in a multitenant environment

Discussion in 'General' started by frankbootmaker, Oct 1, 2023.

  1. frankbootmaker

    frankbootmaker New Member HowtoForge Supporter

    Hi Till,
    my VPS provider informed me that they need to change the IP of my ISPConfig 3.2 Master server that has 2 slaves connected to it.
    Could you please give me a hint what steps in which order shall I do to keep the setup with the master-slave systems working?
    The provider told me that the old IP is kept as secondary IP for the next 2 weeks, giving me the time to do the necessary change.
    Thank you for your help and hints in advance!

    Cheers,
    Feri
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Does the master server provide services as well (like websites or mail accounts), or does it run only ISPConfig GUI and MySQL/MariaDB for ISPConfig?
     
  3. frankbootmaker

    frankbootmaker New Member HowtoForge Supporter

    Hi Till, yes it is running services of
    - primary DNS server
    - webserver
    - mail server
    - ftp server

    basically all standard ISPConfig services and has the invoicing module too.
    Cheers, Feri
     
  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

  5. till

    till Super Moderator Staff Member ISPConfig Developer

    You basically have to do these steps:

    1) Add new IP address to network configuration.
    2) Change IP address in /etc/hosts files on all nodes of the setup for the hostname of the master.
    3) Change IP address in DNS.
    4) Change IP address in System > server config in ISPConfig and add it temporarily back under system > server IP in case you use the IP address in websites (and not *). Now change the IP address in websites, if it is used there, or change all sites to use * and not an IP in IPv4 field.

    Unlike IP changes on slave nodes, an ISPConfig update is not required and you also do not have to update the IP in MySQL.
     
    ahrasis and Th0m like this.

Share This Page