ispCP - Board - Support
Split services to more than one hardware machines - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: Suggestions (/forum-2.html)
+--- Thread: Split services to more than one hardware machines (/thread-1796.html)

Pages: 1 2


Split services to more than one hardware machines - soringo - 11-16-2007 05:45 PM

Hi guys!


I intend to split my running services to more than one servers like this:
- machine #1 we'll run mail server (postfix + courier);
- machine #2 we'll run mysql;
- machine #3 we'll run the rest (daemon, Cp, Http).

I know how to do that by NFS but I have one question for the DEV TEAM....I see that DAEMON controls authdaemon and mail dbs and of course httpd....is there a way to make daemon to control this services remotely or any other solutions?

Let's say that more important is to split mail server and ignore the others for now.


Thx

Sorin


RE: Split services to more than one hardware machines - rbtux - 11-16-2007 05:51 PM

use dovecot... there are sql queries for the users and passwords... (let machine #3 store ispcp database in machine #2, and let machine #1 query machine #2)


RE: Split services to more than one hardware machines - soringo - 11-16-2007 05:55 PM

Thx...I have in mind this solution but when you have 2000 mailboxes and hight email traffic it may be crash or have slow answers to email clients because for every query must open a mysql connection.

Thx again.

rbtux Wrote:use dovecot... there are sql queries for the users and passwords... (let machine #3 store ispcp database in machine #2, and let machine #1 query machine #2)



RE: Split services to more than one hardware machines - rbtux - 11-16-2007 05:59 PM

thats not correct...

The Dovecot Auth Process opens one connection (resp. two: one for the domains and one for the subdomains...) and send only the queries afterwards...


But when you have fear of slow reaction I suggest you to replicate the sql server to a instance hosted on the mailserver. (Dovecot will only read from your database... You don't need a cluster though...)


RE: Split services to more than one hardware machines - soringo - 11-16-2007 06:10 PM

YEs, that's more efficient Smile

rbtux Wrote:thats not correct...

The Dovecot Auth Process opens one connection (resp. two: one for the domains and one for the subdomains...) and send only the queries afterwards...


But when you have fear of slow reaction I suggest you to replicate the sql server to a instance hosted on the mailserver. (Dovecot will only read from your database... You don't need a cluster though...)



RE: Split services to more than one hardware machines - ephigenie - 11-16-2007 07:57 PM

In later ispCP versions we're targetting to implement native support for splitting services on multiple machines.

But that needs most things completely rewritten.
We'll start on that once that 1.0 is there.

That will be our new development - branch.


RE: Split services to more than one hardware machines - raphael - 11-17-2007 01:03 PM

Quote:I see that DAEMON controls authdaemon and mail dbs and of course httpd....is there a way to make daemon to control this services remotely or any other solutions?
the daemon runs the requests manager when the GUI tells him to do so.
By default the daemon only listens on localhost, so the daemon and the gui must run on the same server (if you don't want to play with the code).
And if needed, you may also replace requests manager script of that server to make it run the real requests manager on an other server.


RE: Split services to more than one hardware machines - soringo - 11-21-2007 04:39 AM

thx all you guys.....I'll wait 'till release 1.0....and of course for debian dev team to resolve fcgi bug .... looks like in r1 release is not solved....in rest all the best to all.


RE: Split services to more than one hardware machines - soringo - 11-21-2007 04:46 AM

for dev team and releases after 1.0....I think we must have a profund disscussion about the core/engine/gui of this CP for future....I mean about engine(control, language,etc), database system(clusters, control,mysql, pgsql,etc), email-server (control, daemons, postfix vs qmail, courier vs dovecot, etc).

Ceers!!
sorin G


RE: Split services to more than one hardware machines - rbtux - 11-21-2007 04:51 AM

OT:

@soringo: I know postfix and a bit of exim. I don't know much about qmail. Would you really consider use it instead of postfix? I would be interessted in the points why qmail should be used because I heard that it has a lincese that has kind of a special interpretation of open source...

Do you run qmail in a productive environment? I would be very interested in some case studies...