Some questions

Discussion in 'General' started by tom123, Feb 18, 2012.

  1. tom123

    tom123 Member

    Hi all,
    we are evaluating ispconfig and we have one questions:

    is possibile to setup ispconfig on a server with no hosting services on it and then manage multiple hosting servers (10-12) from this single instance?
    for example, we would like to make a VPS dedicated to control panel only and from this VPS manage 10 or 12 phisical servers with apache,dovecot and so on.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Yes, that's possible.
     
  3. anset

    anset New Member

    Hi,

    I have three virtual servers. ispconifig is installed on all three and all three offer web/mail/etc... services. Only on one server is the web interface installed and available. From that interface, I control all three servers.

    Now my "control" VM also serves services, but that is optional: you decide on what servers clients run their stuff, so just never assign the control vm.

    Hope this helps,

    Anset
     
  4. tom123

    tom123 Member

    Cool!

    More questions:
    1) is possibile to backup a single user account and then be able to restore it (maybe on another server) with every configuration? (like DirectAdmin does)
    What happens if this user account has services on multiple server?

    2) is possibile to migrate an user account to another server?

    3) are there any custom skins for ISPConfig?
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    1) Not yet
    2) Not yet.
    3) Yes.
     
  6. tom123

    tom123 Member

    can you tell me where to find any custom skin?
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

  8. tom123

    tom123 Member

    I'm trying to use a multiserver setup.
    The main server works properly.
    I've configured a second server, connected it to the master with success, but any domain added from the control panel to that server, is not configured.

    are there any ispconfig log file to check?
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

  10. tom123

    tom123 Member

  11. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you run this on the slave and not the master and did you enable debugging before you run the command? According to the output, debuffing was not enabled or the command was not run on the salve server.
     
  12. tom123

    tom123 Member

    I've ran on the slave.

    On the master, i'm unable to add user. Every time i try to add a new user, the whole panel will hang and I have to restart apache.
     
  13. tom123

    tom123 Member

    my mistake, debug was not enabled from the panel.
    now i've enabled debug, but slave still doesn't log or exec anything.

    the same site, activated on the master, is working properly.
    seems that salve is unable to connect to master server.
     
  14. till

    till Super Moderator Staff Member ISPConfig Developer

    About what kind of user are you talking? We have sys users, remote users, email users, ftp users, ssh users, site users, webdav users? And which guide did you follow to prepare the servers for the installation of ispconfig?

    Then the slave cant connect to the mysql db of the master. This happens e.g. when the hosts files on both servers are not prepared in the way that is described in the multiserver guides. You can verify that by using the master mysql login details from the ispconfig config.inc.php file to connect from the slave to the master on the commandline.
     
  15. tom123

    tom123 Member

    you are right. I've totally forgot to add ips in host file.
     
  16. tom123

    tom123 Member

    slave absolutely needs mysql root access to the master?
    Is not possibile to create an unprivileged user?
     
  17. till

    till Super Moderator Staff Member ISPConfig Developer

    The root user is only required for the installation, it is not used by ispconfig when connecting to the master.

    Thats what the ispconfig installer is doing, but without the correct entrys in the hosts files, these users are wrong now so that the salve cant connect to the master. To fix that, uninstall ispconfig on the slave, delete the record for the slave server in the server of the master table and then reinstall ispconfig on the slave.
     
  18. tom123

    tom123 Member

    I've done a new installation.
    on the master i'm able to see a mysql user called: "ispcsrv4" with no privilege on it. I don't think that ISPConfig is using this user, so it still using root account.
     
  19. till

    till Super Moderator Staff Member ISPConfig Developer

    Your wrong here, ispconfig never uses the root account (at least if you have not modified the ispconfig sources ) and the ispcsrv user has priviliges for the tables where it needs access to as it has no global privs of course, see all the other privilige tables in the mysql db, you will find them there. If the ispcsrv user cant access the master from the slave, then your hosts files or server hostnames are still not correct. The lines in the hosts files have to be exactly as described in the guides and they have to match with the fqdn of the server and they have to be fqdn only, so this is ok:

    123.123.123.123 server.hosts.tld

    while this will not work with mysql:

    123.123.123.123 server.hosts.tld server

    or

    123.123.123.123 server

    and the commands:

    hostname

    and

    hostname -f

    have to retutn both:

    server.hosts.tld

    if you configured the servers correctly and as described in the guides. If:

    hostname returns "server" while hostname -f returns "server.hosts.tld" then your system is not installed properly.
     
  20. tom123

    tom123 Member

    Thank you.
    Now all seems to be ok.
    The only thing that doesn't work is user creation, but i thank that is an issue with my test vps.
     

Share This Page