Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > General Hosting/Server Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Multi Server How-To? Details »»
Multi Server How-To?
Version: , by Philip II Philip II is offline
Developer Last Online: Mar 2008 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 03-20-2008 Last Update: Never Installs: 0
 
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 03-20-2008, 08:43 PM
DivisionByZero's Avatar
DivisionByZero DivisionByZero is offline
 
Join Date: Dec 2002
Location: South Bend, Indiana
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 03-21-2008, 01:41 PM
alphadeity alphadeity is offline
 
Join Date: Mar 2008
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 03-23-2008, 10:43 PM
okgaz okgaz is offline
 
Join Date: Jun 2007
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice set up!!!!!

Quote:
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 03-24-2008, 02:10 AM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice setup, not sure if thats considered a cluster or not though
Reply With Quote
Reply


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


All times are GMT. The time now is 01:23 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03756 seconds
  • Memory Usage 2,238KB
  • Queries Executed 20 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete