The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

separate servers for each service

Discussion in 'General Discussion' started by hidonet, Oct 31, 2006.

  1. hidonet

    hidonet Well-Known Member

    Joined:
    Apr 29, 2005
    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Istanbul / Turkey
    Hi,

    i want to run each service ( or daemon like httpd, mysqld, exim ) on separate server for better performance and uptime.

    How can I do that ?
     
  2. brianoz

    brianoz Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,146
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    Melbourne, Australia
    cPanel Access Level:
    Root Administrator
    This isn't something to approach lightly, as not many people do it. It's easy enough to run your MySQL server on another server, but harder to separate out other things.

    It's going to be easier to separate your users onto separate servers, which is how most people do it.

    If it's all one user and thus inseparable, hire someone to do it with/for you.
     
  3. krava

    krava Well-Known Member

    Joined:
    Sep 23, 2003
    Messages:
    149
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    cPanel allows to run named and MySQL on separate servers, but it doesn't allow to run mail, HTTPD, etc services on different boxes.
     
  4. SoftDux

    SoftDux Well-Known Member

    Joined:
    May 27, 2006
    Messages:
    983
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Johannesburg, South Africa
    cPanel Access Level:
    Root Administrator
    My question is this:

    cPanel (as with many other hosting control panels) is built for one thing, to ease the setup & maintenance no a linux server.

    So, if joe blogs signs up for a hosting account, you want to simplify, and auto mate the process. This involves creating his UNIX username, home directory, email spool folders, and database permissions (amongst others)
    cPanel then allows him to easily add / edit / delete email acocunts, sub domains, databases, FTP permissions, and more. So, if you want SMTP, IMAP & POP3 to be on server A, HTTP & HTTPS on server B, MySQL on server C, etc. How will you manage it?
    How will cPanel know that when the user adds an email account it should look @ server A for the stuff.
    How does the three servers sync permissions?

    Yes, this can all easily be done with stuff like NIS, LDAP, even rsync, etc. The point of my argument is, cPanel (and I'm sure other control panels as well) is not written for this task. .... yet?

    Rather, get server A, B & C up, and on the OS level cluster them, this will give you both load balancing, and redundancy, and then install cPanel. You could easily add more servers (physical machines), as the need arise, without having to move user's accounts around, reconfiguring software, etc. This also allows easy upgrading on both the hardward, and the underlying OS, on a per machine basic, without affecting the actual server

    Different approach, same (or better) results.
     
Loading...

Share This Page