Go Back   vb.org Archive > Community Central > Community Lounge
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-20-2005, 12:28 AM
trackpads's Avatar
trackpads trackpads is offline
 
Join Date: Aug 2003
Location: Armyville
Posts: 1,074
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Clustering, load etc

Please help give me a clue here

I have a dedicated server with cpanel and one of the options is DNS Clustering. If I add another dedicated server what does this do for me? Is there a way to have one as a dedicated mysql server and the other for mail and apache?

Also, and this is basic, why when everything from top to vb shows the load there are 3 numbers? ie. 4.01, 3.51, 1.56 ?

Thanks in advance,

-Jason
Reply With Quote
  #2  
Old 01-20-2005, 12:35 AM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1st = 1minute
2nd = 5minute
3rd = 15 minute
load average.

You don't need load balancing if you just got 1 webserver and 1 DB server. Just change config.php of vBulletin to point to the DB server, make sure that it does accept non-local connections for the account and you're settled.
Both servers should be cross-connected via seperate NICs. Make sure that you do use the "internal" IP of the DB server in config.php
Reply With Quote
  #3  
Old 01-20-2005, 12:40 AM
trackpads's Avatar
trackpads trackpads is offline
 
Join Date: Aug 2003
Location: Armyville
Posts: 1,074
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KirbyDE
1st = 1minute
2nd = 5minute
3rd = 15 minute
load average.

You don't need load balancing if you just got 1 webserver and 1 DB server. Just change config.php of vBulletin to point to the DB server, make sure that it does accept non-local connections for the account and you're settled.
Both servers should be cross-connected via seperate NICs. Make sure that you do use the "internal" IP of the DB server in config.php
First, thanks for taking the time to answer, i definately appreciate the help!

So if I buy a second dedicated server and set up the DNS clustering I can do this? So would it be it be something other than 'localhost' I presume in the config.php?

I am still pretty new at all of this so I apologize if you need to dumb it down to me

Thanks,

-Jason
Reply With Quote
  #4  
Old 01-20-2005, 12:45 AM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As already said, you don't need "DNS clustering" for that purpose.
This would only be needed if you got several web-servers that should be accessible as one host (eg. www.yourdomain.com) but where the requests should be balanced (round robin) on them.

If you got a separate DB server, place it's hostname or IP in config.php and you're done.
Reply With Quote
  #5  
Old 01-20-2005, 12:47 AM
trackpads's Avatar
trackpads trackpads is offline
 
Join Date: Aug 2003
Location: Armyville
Posts: 1,074
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KirbyDE
As already said, you don't need "DNS clustering" for that purpose.
This would only be needed if you got several web-servers that should be accessible as one host (eg. www.yourdomain.com) but where the requests should be balanced (round robin) on them.

If you got a separate DB server, place it's hostname or IP in config.php and you're done.
Ahhh.. sorry. Again I am new, ok and hardheaded but mostly new

I VERY much appreciate the help!

-Jason
Reply With Quote
  #6  
Old 01-20-2005, 12:51 AM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

> Join Date: Aug 2003
[high]* Andreas is newer [/high]
Reply With Quote
  #7  
Old 01-20-2005, 12:55 AM
trackpads's Avatar
trackpads trackpads is offline
 
Join Date: Aug 2003
Location: Armyville
Posts: 1,074
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KirbyDE
> Join Date: Aug 2003
[high]* KirbyDE is newer [/high]
I will still bank on you being smarter
Reply With Quote
  #8  
Old 01-20-2005, 12:56 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

DNS clustering has nothing to do with server clustering per se. It's to use multiple servers as domain name servers (DNS servers) and automatically updating their DNS info. What you are suggesting is a simple dedicated web and database server network. Kirby's posted the basics already.
Reply With Quote
  #9  
Old 01-20-2005, 03:14 AM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just remember to have them connected via a cross-over like Kirby said. If you have requests to mySQL going back and forth across the net its not only slow but un-secure and will eat up alot of bandwidth.
Reply With Quote
  #10  
Old 02-03-2005, 09:42 PM
huss huss is offline
 
Join Date: Nov 2001
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Brad.loo
Just remember to have them connected via a cross-over like Kirby said. If you have requests to mySQL going back and forth across the net its not only slow but un-secure and will eat up alot of bandwidth.
Well I have a related subject so I"ll jump on board and ask for help:

From my thread here:
http://www.vbulletin.com/forum/showt...921#post810921

We have implemented full load balancing on our forums, which is working great. However, now all IP logging shows the virtual IP of the load balancer, and not the user themself.

The load balancer passes 'X-Cluster-Client-Ip' with the original client IP address (at least for clear http requests; https and other protocols, not so much).

In this http://forums.servermatrix.com/viewtopic.php?t=9828 thread, there is a suggestion on how to fix this issue for your apache logs. I'm not sure how to fix it in the VBulliten case.

The problem isn't in our logs. The problem is in the vb admincp - when you click to view a users ip, they are all showing as the LB's ip, not the user's actual ip. Sounds liek we have to hack vb to read the xforwarded by?

Yes you would have to hack the VB code to get that functionality

Thoughts?
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 08:17 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04278 seconds
  • Memory Usage 2,253KB
  • Queries Executed 11 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete