vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Community Lounge (https://vborg.vbsupport.ru/forumdisplay.php?f=13)
-   -   Clustering, load etc (https://vborg.vbsupport.ru/showthread.php?t=74701)

Erwin 02-05-2005 03:55 AM

Quote:

Originally Posted by huss
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?

There's a hack that shows user's real IPs rather than their "proxy" IPs. See if that helps.

trackpads 02-11-2005 01:26 AM

Another question: I just got a dual xeon server as an upgrade, with your stats hack Erwin, should I divide the load now displayed by the number of CPUs? In my Cpanel it says to do it but does all the services on the server need to do that as well?

Thanks!


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

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.01071 seconds
  • Memory Usage 1,716KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete