Manage multiple servers from one control panel?

Discussion in 'Installation/Configuration' started by lonerunner, May 31, 2020.

  1. lonerunner

    lonerunner Member

    Possible to manage multiple servers when they both have same setup and configurations ?

    Possible example would be:

    I have 2 servers
    server1.domain.tld
    server2.domain.tld

    And they both have been setup the same way, apache, webmail, dns, ISPConfig... on both of them.

    So currently if i want to manage users on one server i login with server1.domain.tld:8080 and if i want to manage users on second server i login with server2.domain.tld:8080 and that's ok it works as intended now.

    But what if i would want to manage users from both servers from same control panel, from one control panel. Can i join them up somehow or use remote option to manage users from server 2 through server 1?
    If i login on server1.domain.tld and go to Clients, to see the clients from server2 and edit them. I can see possible issue here, if both servers have user with ID 7, they could overlap and interfere with each other. But maybe there is possibility of some sort that i didn't found through google or browsing forums/ispconfig manual?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    That's named a multiserver installation, you can find instructions on how to install ISPConfig multiserver and mirror server installations here at howtoforge and in the ISPConfig manual. The Multiserver guides are for an older Debian version though, which means you better use them just as a guide and base the system on the recent Debian 10 by using the perfect server tutorial as the basis.
     
    ahrasis likes this.
  3. ahrasis

    ahrasis Well-Known Member

    As said that must be setup as a multiserver installation, thus, I don't think that you can easily merge them together. Do study the manual and the relevant tutorials accordingly, before deciding on how you want to go about merging them.
     
  4. lonerunner

    lonerunner Member

    Ok i've read the tutorial here https://www.howtoforge.com/installi...tabase-servers-on-debian-5.0-with-ispconfig-3 and as i thought with any other tutorials, the multi server setup divide services between servers, so one serve as email server, one serve as database server, etc... But not if i have both servers separated with installations like i have them now, if i would want to merge them i would have to migrate users and databases. This arises another issue i stumbled upon, that's when i run out of HDD space i would have to built up separated server and still manage it from separated control panel ?
     
  5. ahrasis

    ahrasis Well-Known Member

    as i thought with any other tutorials, the multi server setup divide services between servers, so one serve as email server, one serve as database server, etc.

    Not really. You can also mix part or all of them other than separating them.


    But not if i have both servers separated with installations like i have them now, if i would want to merge them i would have to migrate users and databases.

    And related files e.g. website, mail etc.


    This arises another issue i stumbled upon, that's when i run out of HDD space i would have to built up separated server and still manage it from separated control panel?

    In multiserver setup, you can always add more as to your need arises and you can also always migrate to a bigger, more powerful server either manually or using official migrate tool to ease your works.
     
  6. nhybgtvfr

    nhybgtvfr Active Member

    you can have eg, 5 ispconfig servers in one multi-server system where:
    server1 : web/db/dns/postfix +ispconfig interface
    server1: web/db
    server3: db/dns
    server4: web/db/postfix
    server5: postfix
    so you can put services where you like, separating or combining them on servers any way you want.

    as for running out of hdd space, I don't know if you're using physical servers, vps's. on-board disks, shared storage etc.
    but my suggestion for avoiding running out of space: have another disk partition / drive array / EBS volume / NFS share / whatever, and mount it at /var/www or var/vmail or wherever you need it. if you start running low on space, add another larger one at eg /mnt/newdisk, copy all the files from /var/www or /var/vmail or whatever to it, I assume it'll take a while, rsync them again, maybe a couple of times to minimise the number of changes and time required. then the only downtime is that required to stop the relevant service, eg apache, unmount /var/www, and /mnt/newdisk, remount the new partition at /var/www and restart apache. changing paths/services as required if you're doing this for mail, or some other service.
    no need to build a whole new server just to get some more disk space.
     

Share This Page