Current time: 12-24-2024, 03:55 AM Hello There, Guest! (LoginRegister)


Post Reply 
Separating Mail Web and maybe mysql
Author Message
rsmithgs Offline
Junior Member
*

Posts: 176
Joined: Apr 2007
Reputation: 1
Post: #1
Separating Mail Web and maybe mysql
Hi Everybody,
Is it possible to separate Mail and Web (And even MySql) onto different physical servers but manage them through the same Omega interface?

I.E. Set up a mail server and a Webserver with Omega control panel, when creating, administering, using webmail it would create, edit, use the mail accounts on the server?

If so would you have a quick guide?

Many Thanks Smile
(This post was last modified: 08-03-2007 04:58 PM by rsmithgs.)
08-03-2007 04:57 PM
Find all posts by this user Quote this message in a reply
RatS Offline
Project Leader
******

Posts: 1,854
Joined: Oct 2006
Reputation: 17
Post: #2
RE: Separating Mail Web and maybe mysql
Try it with VFS or NFS.
08-03-2007 07:41 PM
Visit this user's website Find all posts by this user Quote this message in a reply
rsmithgs Offline
Junior Member
*

Posts: 176
Joined: Apr 2007
Reputation: 1
Post: #3
RE: Separating Mail Web and maybe mysql
Wouldn't that still be dependant on the processing power of the web server when processing email?
08-03-2007 09:47 PM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #4
RE: Separating Mail Web and maybe mysql
rsmithgs Wrote:Wouldn't that still be dependant on the processing power of the web server when processing email?

It wouldn't, but it also won't be that easy to set-up.... I would go this way:

mail.domain.tld
- Courier config (/etc/courier) database should be NFS exported
- So should be postfix config (/etc/postfix) with an aditional warning: ispcp will configure it as web.domain.tld fqdn so you will have to replace it manually.

web.domain.tld
- Mount /etc/courier & /etc/postfix from mail.domain.tld
- Modify DNS templates to point MX, mail, pop3, stmp, etc. to mail.domain.tld instead of web.tomain.tld

db.domain.tld
- This is the easiest of all, just enter the db server IP on ispcp installation (and tell your customers that they need to use "db.domain.tld" when connecting to their mysql databases)

Once this is all working you would get:
- Dedicated mail server that processes all mail including pop3/imap and authentication locally
- Dedicated db server (this is optional, you may choose to run this at the web machine)
- Web/panel/ftp server that manages the mail server through NFS access to it's config/userdbs files


This *might* work, but I'm sure that some problems will arise... be ready to fight a bit Wink
08-03-2007 10:54 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BioALIEN Offline
Public Relations Officer
*****
Dev Team

Posts: 620
Joined: Feb 2007
Reputation: 5
Post: #5
RE: Separating Mail Web and maybe mysql
We really need a HOWTO for multi server setup! It would help a lot of people because this is not the first time this question has been asked.
08-04-2007 12:29 AM
Find all posts by this user Quote this message in a reply
RatS Offline
Project Leader
******

Posts: 1,854
Joined: Oct 2006
Reputation: 17
Post: #6
RE: Separating Mail Web and maybe mysql
should work as kilburn wrote. But how to write a HowTo, if you never tried; maybe rsmithgs can do this.

kilburn Wrote:be ready to fight a bit Wink

The poor Bit.
08-04-2007 12:58 AM
Visit this user's website Find all posts by this user Quote this message in a reply
rsmithgs Offline
Junior Member
*

Posts: 176
Joined: Apr 2007
Reputation: 1
Post: #7
RE: Separating Mail Web and maybe mysql
Anything I can do to help the community, I will see if I can do it first lol


Cheers guys
08-04-2007 01:01 AM
Find all posts by this user Quote this message in a reply
rsmithgs Offline
Junior Member
*

Posts: 176
Joined: Apr 2007
Reputation: 1
Post: #8
RE: Separating Mail Web and maybe mysql
OK so I have managed to separate the email and web servers. Was a bit fiddly but got it in the end. The control panel created and deletes email users and the webmail component works.

I'm having issues separating the mysql and web server. ISPCP has placed it's database on the database server which is good but I cannot create databases from the control panel. Is there a change I have to make somewhere to tell the control panel to create databases on my database server rather then attempting to create them on the web server?

Many Thanks Smile

Once I have this all done and tested I will create a nice howto
08-16-2007 06:56 PM
Find all posts by this user Quote this message in a reply
raphael Offline
Member
***

Posts: 474
Joined: Apr 2007
Reputation: 8
Post: #9
RE: Separating Mail Web and maybe mysql
Quote: Is there a change I have to make somewhere to tell the control panel to create databases on my database server rather then attempting to create them on the web server?

I'll try to remove some hard-coded stuff; hope that's all it is required
08-17-2007 01:29 AM
Visit this user's website Find all posts by this user Quote this message in a reply
rsmithgs Offline
Junior Member
*

Posts: 176
Joined: Apr 2007
Reputation: 1
Post: #10
RE: Separating Mail Web and maybe mysql
raphael Wrote:
Quote: Is there a change I have to make somewhere to tell the control panel to create databases on my database server rather then attempting to create them on the web server?

I'll try to remove some hard-coded stuff; hope that's all it is required
Cool, cheers Raphael Smile
08-17-2007 01:31 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)