Applying new roles to servers in ISPConfig multi-server setup

Discussion in 'ISPConfig 3 Priority Support' started by pfaf, Nov 15, 2016.

  1. pfaf

    pfaf New Member HowtoForge Supporter

    Dear Till,

    we have an existing multi-server setup with two ISPConfig servers,
    both running ISPConfig v3.0.5p8 in master-slave mode.

    ServerA (Debian 7.9) has all roles (Web, DNS, Mail, Firewall, DB-master).
    ServerB (Debian 8.6) has Mail, Firewall and DB-slave roles.

    Would you know if there is a way to add Web role on serverB
    so that we can extent its usage?

    We have tried running
    php -q install.php
    and reports that the server is already configured.

    We have tried running
    php -q update.php
    but we are not given the option to add roles.

    Thank you in advance for your support,

    Panos.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The steps are:

    1) Ensure that the software that is required for the web service is installed (apache, pure-ftpd etc).
    2) Add symlinks in /usr/local/ispconfig/server/mods-enabled/ for the additional modules that you want to use. Take a look on the first server as an example.
    3) Add symlinks in /usr/local/ispconfig/server/plugins-enabled/ for the additional plugins that you want to use on the server. Take a look on the first server as an example.

    Basically, you add in 2 + 3 everything that is not mail server related.

    4) Run an ispconfig update with reconfigure services.
    5) Enable the web server role under System > server services on the master server in ispconfig.
     
  3. pfaf

    pfaf New Member HowtoForge Supporter

    OK, it seems to work!
    I only had to first enable the web server role under System -> Server Services and then run the ispconfig update.
    I have run the ISPConfig update from the installation folder of ISPConfig control panel using php -q update.php.
    Could I run ispconfig_update.sh but without updating ISPConfig to the latest version, only to reconfigure services?
     

Share This Page