PDA

View Full Version : 2 forums and 1 database



rammbs
Tue 11th Nov '08, 10:08pm
Hello,

I have 2 licenses and I am planning on doing a failover with my forum. One is hosted in the east coast and the other one - west.

One will be locked (backup) and the other one will be open (primary) for posting.

the servername will be a cname.
$config['MasterServer']['servername'] = '<cname for db>';

Q1: Is this possible?
Q2: Will new post be reflected on the backup (locked) forum?

Thanks in advance!


-ram

thanhdat
Wed 12th Nov '08, 1:01pm
Edit table prefix in config.php for each forum.

rammbs
Wed 12th Nov '08, 5:04pm
Thanks for the reply.

What would the table prefix do? Give a different prefix for each forum/config?

I don't have it in the active forum right now.

Thanks in advance!

Wayne Luke
Wed 12th Nov '08, 5:06pm
vBulletin does not have support for Failover built into the software at this time. You would have to do this within your MySQL Enterprise Cluster for it to work.

rammbs
Thu 13th Nov '08, 2:08pm
Thanks, Wayne.

Can you please explain to me, what the table prefix would be used/good for?

Will it be to distinguish the 2 forums when using 1 db?

Thanks again!

Steve Machol
Thu 13th Nov '08, 2:09pm
Yes, by specifying unique table prefixes you can have two separate vB databases in the same db.

rammbs
Thu 13th Nov '08, 6:37pm
Thank you!