Distributed Database Testing!

What do you want to see here? Some more categories, forums, and mods? Hmm...
Post Reply
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6712
Joined: Thu Dec 18, 2003 7:03 pm

Distributed Database Testing!

Post by Tank Program »

I've made a COPY of this place for testing with the distributed MySQL database thing that lucifer found. Play with it some, make sure thing (mostly) work.

http://electricpotential.net/~fcs/af/armagetronforums/
http://electricpotential.net:82/~fcs/af ... ronforums/

WARNING. NO CHANGES THERE WILL BE SAVED. DON'T POST ANYTHING IMPORTANT.

Also, you might want to log out of here before you login there. And I'm serious if you accidently post there you'll have to copy & paste it here yourself.

And also don't do anything with the uploads/downloads. At all.

POST ANY ERRORS HERE.

Changes on one of those links should be availble on the other. That's what we're testing. Those are two physically seperate machines at my house.
Image
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6712
Joined: Thu Dec 18, 2003 7:03 pm

Post by Tank Program »

You may get taken to random sites. This is cause I had to not put in an absolute server name into phpbb. When this happens hit the back button and click on the forum index link. Should skip around it.
Image
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

Browsing both works fine, but when I login (enter my ID and password, hit "Login"), I'm sent off to a URL starting with this:

http://~fcs/af/armagetronforums/index.php

Edit: D'oh, now I understand. I'm logged in anyway and can restart browsing from the root node.
Edit2: seems to work fine.

What exact versions of the software do you have to install to become a node here?
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6712
Joined: Thu Dec 18, 2003 7:03 pm

Post by Tank Program »

As near as I can work out, it's Apache2, PHP4, and MySQL 5.1. (And then a copy of the forums.)

Something special will need to be done so that avatars and files uploaded to one node propegate to the others.
Image
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6712
Joined: Thu Dec 18, 2003 7:03 pm

Post by Tank Program »

Test post from other node...
Image
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6712
Joined: Thu Dec 18, 2003 7:03 pm

Post by Tank Program »

The main forums is now running on a distributed data base. Still setting up the 2nd access point. This should be interesting :D.
Image
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6712
Joined: Thu Dec 18, 2003 7:03 pm

Post by Tank Program »

Setting up a round robin domain...
Image
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6712
Joined: Thu Dec 18, 2003 7:03 pm

Post by Tank Program »

Ok, with any luck load should be distributed. Not that that's need, but it's a cool test.
Image
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6712
Joined: Thu Dec 18, 2003 7:03 pm

Post by Tank Program »

Again, do say if you notice anything unusual, posts not showing up...
Image
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

Got this error on a post:

Code: Select all

Ran into problems sending Mail. Response: 554 : Relay access denied 

DEBUG MODE

Line : 164
File : smtp.php
The posting itself was successful.
User avatar
Jonathan
A Brave Victim
Posts: 3391
Joined: Thu Feb 03, 2005 12:50 am
Location: Not really lurking anymore

Post by Jonathan »

I didn't have major problems so far. During the transition, it couldn't reach the database server. After that, I got this once again.
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6712
Joined: Thu Dec 18, 2003 7:03 pm

Post by Tank Program »

Cause I had to restart the local web daemon for the new vhost and that's what caused that bit.

As for the mail server bit... I think I know how to fix that.
Image
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6712
Joined: Thu Dec 18, 2003 7:03 pm

Post by Tank Program »

Please post if you get that mail error again. It might not be liking how things work...
Image
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

The mail error didn't happen again after your last post. Before that, another one of the errors revealed 2020's email address, but I had that anyway.

Fonkay's latest attachment doesn't work for me, though:

thread: http://forums.armagetronad.net/viewtopic.php?t=3491
picture link: http://forums.armagetronad.net/download.php?id=2861
error page wrote:The selected Attachment does not exist anymore

404 File Not Found: The File files/forum.jpg does not exist.
Reloading doesn't help, it seems the DNS cache on the PC I'm working on is overly conservative. Half of the time, master1 is unreachable because the cache hasn't picked up a recently changed IP.
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6712
Joined: Thu Dec 18, 2003 7:03 pm

Post by Tank Program »

I still need to work out a way to get the file uploads to propegate. I've got an idea or two floating around tho...
Image
Post Reply