ISPConfig panel server

Discussion in 'Installation/Configuration' started by Frost, Sep 15, 2019.

  1. Frost

    Frost Member

    On a multi server setup with mirror server, eg. www1, www2, ns1, ns2, db1, db2, mail1, mail2, where in www1 is the ISPConfig master. If I install ISPConfig panel on www2, it still not have all the server joined like www1. I just want to ask the different approach to handle failover of www1 in terms of ISPConfig panel.
     
    barneby likes this.
  2. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

  3. Frost

    Frost Member

    I think you misunderstood my point. Im looking into ispconfig web control panel server(master ispconfig) failover. I already have a cluster and mirror setup for all service.
     
    Last edited: Sep 15, 2019
  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Frost and ahrasis like this.
  5. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    As confirmed by @Taleman, it can also work for ISPConfig web control panel server. Just backup the ISPConfig mirrored server config.inc.php, then copy and use the ISPConfig master server config.inc.php in its place as posted by @till in there. With some troubleshootings, it should work.
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    The ISPConfig interface part is basically a website, so not that different from a cms system. This interface connects to a database. To make it HA, you must make the database HA that this interface connects to. The ispconfig slave servers are connecting to this database too by using the dbmaster database credentials in their config files to pull the data which is relevant for them into their local database once a minute. So if you want to create a large scale HA ISPConfig setup, then the main part is to make the master database highly available. you can then have as many server run an interface as you want, you just have to take care that all of them connect to the same master database instance to not get any split-brain situations and that all slaves use this database instance as their master database too.
     
    Frost and ahrasis like this.
  7. Frost

    Frost Member

    Thank you all for the reply. I was able to make it work with your advise. However, I observed that local ispconfig database of ns1,ns2, mail1, mail2 doesn't contain or update the web_database table if a new DB was added on DB server. However, If I add new DB user in DB Server, web_database_user table of local ispconfig DB of all server was updated.
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    That's as it should be. A database is added only on the server where the database is created. db users are added on all servers in the dbispconfig database as they are global.
     
  9. Frost

    Frost Member

    oh I see. Right now I have ispconfig DB master pointed to WWW1 is it possible for me to run
    rsync tool then ispconfig_update.sh(on all server) to use the dbispconfig database on my DB1 server? my DB1 server has master to master replication with DB2 so it will be ideal for me to use it if possible.
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    ISPConfig update script is not able to reconfigure this for you, you will have to do that manually by editing all config files on all nodes.
     
  11. Frost

    Frost Member

    Got it. Thank you for your usual help till :)
     

Share This Page