Forums

BF2Statistics.com :: Forums :: Tech Support

synchronize multiple servers with the statistics, perhaps it?

Get First Aid Here!!
MrNiceGuy


Joined: Tue Jan 24 2006, 01:32PM
Posts: 619

You could add server 1 on server 2, and vice versa...
So that server 1 sends data to server 2, and server 2 to server 1.
Shark-kun

Joined: Sun Nov 26 2006, 02:56PM
Posts: 153
Here's a version of the testing!
example:
BF2DED Server 1 (python\bf2\BF2StatisticsConfig.py)
  1. http_central_enable = 1    # Use settings above (0, 1, 2)
  2. http_central_addr = '192.168.0.1'       #Address Central STATS Server (this is where you add the third database address)
  3. http_central_port = 80 (the web port you will be using for the third database)
  4. http_central_asp = '/ASP/bf2statistics.php' (leave as is!)

BF2DED Server 2 (python\bf2\BF2StatisticsConfig.py)
  1. http_central_enable = 1    # Use settings above (0, 1, 2)
  2. http_central_addr = '192.168.0.2'       #Address Central STATS Server (this is where you add the third database address)
  3. http_central_port = 80 (the web port you will be using for the third database)
  4. http_central_asp = '/ASP/bf2statistics.php' (leave as is!)

example:
WEB Server 1 (ASP\_config.php)
  1. $game_hosts = array('127.0.0.1','192.168.0.1','192.168.0.2');

WEB Server 2 (ASP\_config.php)
  1. $game_hosts = array('127.0.0.1','192.168.0.2','192.168.0.1');

[ Edited Mon Feb 20 2012, 03:05PM ]

Website
Shark-kun

Joined: Sun Nov 26 2006, 02:56PM
Posts: 153
Why is not working, what could be the problem?
Website

Moderators: MrNiceGuy, Twhyman, Chump, hurr1k4ne, The Shadow, Wilson212

<< Previous thread | Next thread >>

Jump:     Back to top