Service rearrangement in multiserver setup

Discussion in 'ISPConfig 3 Priority Support' started by Steinbruch, Feb 3, 2024.

  1. Steinbruch

    Steinbruch Member HowtoForge Supporter

    One more thing (tm) ;)
    When I started out with ISPconfig, I basically followed the "perfect server" tutorial and basically picked everything there was so each server in the setup could provide all services I could ever want.
    Now this turns out like unnecessary (and unwanted) overhead on quite a few of them.
    So - can I just go ahead, uninstall certain components and run an ISPconfig update (provided, of course, nobody is actively using the removed services on the respective servers) or will there be other implications I am not seeing?
    Bonus question (if I may) - I'd want to set up a pair of DB servers in replication mode and subsequently remove the MariaDB server from other machines - does ISPconfig require a local MariaDB instance on each slave server? If it were to use the dedicated DB server, each client would need to use a different ISPconfig DB name otherwise, correct?
    Thanks for your patience...
    Gereon
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, that's possible. But you should also deactivate the modules and plugins of the unused services by deleting the symlinks in /usr/local/ispconfig/server/mods-enabled/ and /usr/local/ispconfig/server/plugins-enabled/

    Each ISPConfig node should have its own MariaDB/MySQL instance as ISPConfig keeps its config data there and ensures that it is replicated correctly between master and slave nodes to ensure that each node can operate on its own even if other nodes and even the master fails. So having just one central database instance for ISPConfig itself is not such a good idea as it would lower the availability and speed of your multiserver setup. When it comes to website databases, then you can have a central database server for them in the form of a replicated MariaDB or MySQL system, add a new slave node of type database and set that as the default database for clients.
     
    Th0m likes this.
  3. Steinbruch

    Steinbruch Member HowtoForge Supporter

    Thanks, I was thinking along that line, so I can certainly clean up things a bit going forward as not every node will need all the "bells and whistles" from the "perfect server" setup (e.g. no use running Roundcube and Dovecot on a web server if it's never going to host email accounts anyway).

    That's what I was concerned about - I was hoping to free the resources needed to run MariaDB server on some nodes - however if it's just needed for the ISPconfig DB as such, it could certainly run with significantly trimmed-down resources so that's fine. Thanks again :)
     

Share This Page