Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
  #1  
Old 20 Mar 2008, 22:35
Philip II Philip II is offline
 
Join Date: Mar 2008
Multi Server How-To?

Where are planning our already active forum to make on two different (same hosting company) virtual dedicated servers.
One server will be web server, the second one will be database server.

How to make this possible, is there any guide/tutorial for configuration?
How to connect the database with the forum, etc.?

Any help will be appreciated.
Reply With Quote
Comments
  #2  
Old 20 Mar 2008, 22:43
DivisionByZero's Avatar
DivisionByZero DivisionByZero is offline
 
Join Date: Dec 2002
Real name: Chris
use NO control panels whatsoever... administer your machines the old fashioned way

step 1. reconsider "virtual dedicated" machines, and go dedicated. so you can do steps 2-5
step 2. setup an isonet between both machines for mysql communication.
step 3. configure machine 1 for apache high-performance.
step 4. configure machine 2 for mysql high-performance.
step 5. completely remove apache from machine 2.
step 6. completely remove mysql from machine 1
step 7. setup your firewalls accordingly.

You can also consider removing $cronimage from your footer and placing it into a separate php file that calls global.php. Run this script as a unix cron at intervals respectively with your most frequently run cron jobs. On big boards, this gets called too often and can help conserve resources.
__________________
Professional vB development since 2002.
References & Praise: 1|2|3|4|5|6|7|8

Last edited by DivisionByZero; 20 Mar 2008 at 22:52.
Reply With Quote
  #3  
Old 21 Mar 2008, 15:41
alphadeity alphadeity is offline
 
Join Date: Mar 2008
I have my servers setup in a cluster. I have 5 servers total in this cluster. I reccomend that you go dedicated instead of vps.

Server1 (Webserver) - Nothing else installed.

Server2 (MySQL Server) - Nothing else installed!

Server3 (MySQL replica Server) - Nothing else installed, replicates the MySQL databases from server2 every 3 hours. If server2 goes down, server3 will act as the master server. Some information will be last, but not completely. The delay is there in case server2 is attacked... the delay will hopefully be enough time to stop server3 from replicating the attack. (be careful how you setup database replication as it can cause bad delay times on your forums).

Server4 (Email Server) - Email only! Does nothing else.

Server5 (Raided backup of server 1, 2, 3, and 4) - This does not have anything installed. It does backups every night.

The only server that has access to the outside internet is server1 and server4. Just make sure that server1, server2, and server5 are nice and beefy. I really only reccomend having a setup like this if you're a host. :-P
Reply With Quote
  #4  
Old 24 Mar 2008, 00:43
okgaz okgaz is offline
 
Join Date: Jun 2007
Nice set up!!!!!

Originally Posted by alphadeity View Post
I have my servers setup in a cluster. I have 5 servers total in this cluster. I reccomend that you go dedicated instead of vps.

Server1 (Webserver) - Nothing else installed.

Server2 (MySQL Server) - Nothing else installed!

Server3 (MySQL replica Server) - Nothing else installed, replicates the MySQL databases from server2 every 3 hours. If server2 goes down, server3 will act as the master server. Some information will be last, but not completely. The delay is there in case server2 is attacked... the delay will hopefully be enough time to stop server3 from replicating the attack. (be careful how you setup database replication as it can cause bad delay times on your forums).

Server4 (Email Server) - Email only! Does nothing else.

Server5 (Raided backup of server 1, 2, 3, and 4) - This does not have anything installed. It does backups every night.

The only server that has access to the outside internet is server1 and server4. Just make sure that server1, server2, and server5 are nice and beefy. I really only reccomend having a setup like this if you're a host. :-P
Reply With Quote
  #5  
Old 24 Mar 2008, 04:10
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Real name: Jarvis
nice setup, not sure if thats considered a cluster or not though
__________________
vBulletin Services and vBulletin Hosting
Reply With Quote
Reply

Similar Mod
Mod Developer Type Replies Last Post
[Linux] loadsock (retrieve server load from remote server) fastforward vBulletin 2.x Full Releases 5 18 Mar 2002 11:55



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 13:54.

Layout Options | Width: Wide Color: