account mirroring
I've already researched about this many times... and in the end I give up
now I'll try to go with this till the end, because I'm needing more than ever
I have 2 servers, on 2 different datacenter (so they isn't a direct cable on them)
I think the best way I found up to now (even if it's far from being perfect) is configuring my domain.com with, let's say, ns1.server1.com and ns1.server2.com
ns1.server1.com would point to the server1 IP
ns1.server2.com would point to the server2 IP
then I "just" need to mirror the content of server1 to server2 (let's suppose server1 will be the master and server2 the slave)
I could make a list of the files and databases that should be mirrored
I want to have the smallest ammount of transfers possible... the files can be updated each hour
the database, each 10 minutes
my ideas for the files: check the "last modified" date... if it's newer than (currenttime - 1 hour), than updates it
for the database, I don't know how to do this without sending the whole database, but I guess there's a way
any suggestion or a tool that can do this?
PS: I don't need the server balancing, just the redundance... but since I'll have to mirror the content, I don't see a reason to don't do the balancing (in fact, I see... the database can be up to 10 minutes outdated... but it's not crucial)
PS2: now I'm thinking... if some changes are made on server2, they should be sent to server1 too... maybe looking which of the files is the newer one and replacing on the other server... don't know
thanks