BetaONE will rise again!


Reply
  #1  
Old 19th May 04, 02:47 AM
xpgamer1 xpgamer1 is offline
New Member
 
Join Date: May 2004
Posts: 2
xpgamer1
hey guys, i was wondering, me and a buddy of mine have 2 mirros for Gamers on Demand club.. how would we mirror a php board and a website (both use 1 mysql database) my question is how can we updateboth at the same time with out having to really phyisically update them both? (update one and both are updated..) anyways thanks i really didn't know where to post this, i found offtopic and thought why not :-P.


-Xpgamer aka 13yearoldkilla
Reply With Quote
  #2  
Old 19th May 04, 03:00 AM
DoG's Avatar
DoG DoG is offline
Administrator
 
Join Date: Nov 2001
Posts: 2,996
DoG will become famous soon enoughDoG will become famous soon enough
Send a message via ICQ to DoG Send a message via MSN to DoG Send a message via Yahoo to DoG
Welcome to BetaONE, hope you stick around

I'm going to move this to our web development area, it may get a better response
__________________

Reply With Quote
  #3  
Old 19th May 04, 03:21 AM
Zone-MR Zone-MR is offline
M.I.A.
 
Join Date: Sep 2001
Location: Near Newcastle, UK
Posts: 1,077
Zone-MR will become famous soon enoughZone-MR will become famous soon enough
Send a message via MSN to Zone-MR
It's difficult to do mirroring/load balancing on pages with dynamic content, unless the board software you are using is specifically designed to support it.

You would have to host the MySQL database on only one server, and get both copies of your forum to connect to the same DB.
__________________
[img]http://celltrack.spv-developers.com/render/Zone-MR.png[/img]
[url="http://future.betaone.net/forum/links.php?url=http://future.betaone.net/forum/links.php?url=http://zone-mr.net"]http://zone-mr.net[/url] - Transcribing Life
Reply With Quote
  #4  
Old 19th May 04, 08:58 AM
Cyberion Cyberion is offline
eh!!
 
Join Date: Jul 2001
Location: BC, Canada
Posts: 1,449
Cyberion is an unknown quantity at this point
Send a message via MSN to Cyberion Send a message via Yahoo to Cyberion
You could try an rss feed type of system. One central server, shows to you, but hidden to the public and is where your content is posted to start.

After you post the content, the rss feed publishes the updated material on as many mirrors as your throw at it. Though I think that is what Zone is getting at, and I'm a little slow on the jump here.

Welcome to B1. By your sn your a gamer. Max Payne? 1 and/or 2?
Reply With Quote
  #5  
Old 19th May 04, 03:09 PM
Prism128 Prism128 is offline
New Member
 
Join Date: May 2004
Posts: 1
Prism128
try changing the "include config.php" bit (change config.php to ur configuration file) to http://your.address.here/your_board/config.php

i havent ever done it, but it should work.

or, you could externally connect to the sql database, but i dunno how; sorry. try the MySQL homepage; www.mysql.org

Prism128
Reply With Quote
  #6  
Old 19th May 04, 03:39 PM
Zone-MR Zone-MR is offline
M.I.A.
 
Join Date: Sep 2001
Location: Near Newcastle, UK
Posts: 1,077
Zone-MR will become famous soon enoughZone-MR will become famous soon enough
Send a message via MSN to Zone-MR
Quote:
Originally posted by Prism128@May 19 2004, 02:09 PM
try changing the "include config.php" bit (change config.php to ur configuration file) to http://your.address.here/your_board/config.php

i havent ever done it, but it should work.
Unfortunatly it won't, because the server on which config.php resides will try to parse the PHP file and send it's output rather than it's contents.

Quote:
or, you could externally connect to the sql database, but i dunno how; sorry. try the MySQL homepage; www.mysql.org
Yes, that would work. Edit config (or is it config_global) and change the mysql server value to be the IP/host of your server, rather than "localhost".

To be perfectly honest I don't know why you would want to host the same forum accross two different servers. The largest IBF-based forum on the internet (neowin) runs OK on one server. If your server is struggling, I suggest you upgrade it. Sending all mysql requests to another server accross the internet will most likely cause more performance problems than it would solve.
__________________
[img]http://celltrack.spv-developers.com/render/Zone-MR.png[/img]
[url="http://future.betaone.net/forum/links.php?url=http://future.betaone.net/forum/links.php?url=http://zone-mr.net"]http://zone-mr.net[/url] - Transcribing Life
Reply With Quote
  #7  
Old 19th May 04, 10:53 PM
xpgamer1 xpgamer1 is offline
New Member
 
Join Date: May 2004
Posts: 2
xpgamer1
Well first off, we are just having 2 mirrors to make our webmasters happy (both have paid for webspace, so ya...) I'm gonna try to make them both run off one database, i believe it will work, ill try it and report back.

-On a side note...
I'm a gamer as my name says, I have beaten both maxpayne 1 and 2, but i prefer online gaming (multiplayer rocks!) I play games like sof2, cs, mohaa, farcry.. you get the point. I'm one of the younger gamers, mature for my age (13 as of april 2nd) And help manage the gamers on demand club, I would give you guys links but I really don't know the rules of the board, I gotta read :-).
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:38 AM.


Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.