vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=173637

Multi Server How-To?
by Philip II
20 Mar 2008 22:35

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.

DivisionByZero 20 Mar 2008 22:43

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.

alphadeity 21 Mar 2008 15:41

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

okgaz 24 Mar 2008 00:43

Nice set up!!!!!

Quote:

Originally Posted by alphadeity (Post 1470752)
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


SEOvB 24 Mar 2008 04:10

nice setup, not sure if thats considered a cluster or not though :D


All times are GMT. The time now is 12:49.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.