Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th August 2010, 05:19
dinsdale dinsdale is offline
Junior Member
 
Join Date: Jun 2008
Posts: 18
Thanks: 2
Thanked 5 Times in 3 Posts
Default separate email and web on 2 server setup

I thought about separating my mail and web server for performance and security reasons. Server1 should only serve webpages, server2 only email. Both should be administered in the same ispconfig 3 instance.

My idea was to not actually mirror the servers but in order to be able to save space keep web documents only on the 1st and email only on the second.

I have followed the recent tutorial about clustering ( http://www.howtoforge.com/installing...th-ispconfig-3 ) and skipped the steps with GlusterFS. The database is replicating but obviously I cannot create a mailbox on server 2 from the ispconfig panel on server 1.

Is there a way of achieving this or am I on the wrong track?

Both machines will be hosted as vm's (on the same machine) and I'm using lvm volumes for /var/www and /var/vmail respectively. Could this help in any way?
Reply With Quote
Sponsored Links
  #2  
Old 11th August 2010, 10:08
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,769
Thanks: 840
Thanked 5,609 Times in 4,420 Posts
Default

You will have to disable mirroring for the second server in the ispconfig server settings to be able to craete email accounts on it separately from the first server.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 12th August 2010, 01:03
dinsdale dinsdale is offline
Junior Member
 
Join Date: Jun 2008
Posts: 18
Thanks: 2
Thanked 5 Times in 3 Posts
 
Default

After some testing i found that surprisingly ispconfig3 with the configpanel on server1 does also create the user accounts for email users on the filesystem of server2 if the ipsconfig db is mirrored. It also creates the web configuration on server2 but that's fine since it takes up almost no space at all.

All I seem to have to do now is to point the mx record and the webmail subdomain to the second server in the DNS settings.

There seems to be a check every 10 seconds if something has changed in the database since the directories are being created (and deleted for that matter) at the same time after a short delay. What a great architecture.
Reply With Quote
Reply

Bookmarks

Tags
cluster lvm vm

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Centos5.4/ISPConfig 3--Virtual site not working MichaelCaditz Installation/Configuration 25 25th March 2011 12:37
problem with upgrade to 2.2.34 brianetilley Installation/Configuration 14 11th November 2009 18:22
FTP cannot open remote folder!?! andysm849 Server Operation 23 17th October 2008 00:34
Can't start apache Musty Server Operation 12 9th March 2008 14:58
SP-Server Setup - Ubuntu 5.10 "Breezy Badger" - Page 6 (changes) LuisC-SM HOWTO-Related Questions 0 21st April 2006 16:16


All times are GMT +2. The time now is 05:29.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.