ISPConfig 3 in multi-webserver environment

Discussion in 'Installation/Configuration' started by Tamas Vacz, Apr 19, 2018.

  1. Tamas Vacz

    Tamas Vacz New Member

    Hello!
    I would like to manage a multi-webserver environment with ISPConfig3 as follows:
    I have a Proxmox VE with LXC-s. I've created an LXC for ISPConfig. My goal is: create LXC (DB+WEB server+FTP) for every client (or website) separately. I want to manage every website with one ISPConfig3. I have one public IP, the containers uses private IP-s. I have an Nginx proxy before the webservers (apache) which makes the connections between the user and the webservers (domain-based traffic distribution).
    The mail server (every client uses only this) will run on another LXC.
    Is it possible to build a system I would like or not. If yes, what is the trick I have to use?
    Thanks!
     
  2. Taleman

    Taleman Active Member HowtoForge Supporter

    It is possible. I believe no tricks are involved. Create the hosts as Linux Containers, your plan requires umpteen of them. Add them all to ISPConfig multiserver setup.
    I don't use LXC hosts myself, I trust the proper Virtual Machines are better insulated from each other.
     
  3. Tamas Vacz

    Tamas Vacz New Member

    Thanks!
    So I have to install ispconfig for every (client) container i need?
     
  4. Taleman

    Taleman Active Member HowtoForge Supporter

    Yes. To make a host a member of ISPConfig multiserver setup you install ISPConfig on that host. All members of multiserver setup must run the same version of ISPConfig.
    There is a manual that explains how multiserver setup is installed and setup: https://www.ispconfig.org/documentation/
     
  5. Tamas Vacz

    Tamas Vacz New Member

    I created an ispconfig instance on one of my container. The "main" ispconfig has been installed earlier. I put the new ispconfig to the multiserver environment. Now I can see the server installed on a container but if I create a website or db on the new server, it is not working. I can't see the db, can't see the website folder anywhere.
    Please help me what make wrong.
    Thanks!
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Most likely the ispcsrv* mysql user of the slave server is not able to login to mysql on the master. This happens either when you closed the mysql port on the master or when the hsotanems of master and slave are not configured correctly before you installed ISPConfig on the slave. You can find out more by using ispconfig debug mode, enable it on the master for the slave and then run server.sh script on the slave to get the debug output.
     
  7. Tamas Vacz

    Tamas Vacz New Member

    Got it! Database misconfiguration. I didn't added the slave database users into the master database.
    Working. Thanks!
     
    till likes this.
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    These get added automatically by the ISPConfig installer when you install the slave, but maybe that failed, this can happen when the root user that you add to access the master db from slave does not has sufficient privileges to add the users.
     

Share This Page