var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
Asking for advice on replication
Hello WHT team,
We have setup a vps server on digitalocean.com
So far so good
We would like to setup replication in case digitalocean is ever down
Do we setitup on another node within digitalocean? Or do we setitup on another provide like linode?
We want to replicate database(MYSQL), all data on our server including code and we want it to be real time
How can we automate this without decreasing performance speeds?
For mysql replication, check the official guide pages on how to do this:
For file replication, I would advise using rsync:
You can use a two way rsync to copy changes between 2 machines or just have one as a backup with an exact real time copy of the master.
Always be careful with these techniques and make sure you have restrictive firewall rules in place (only allow each server to connect to eachother) because you are opening up your sensitive files and data across the internet.
█ █ ViralVPS.com
- Linux & Windows Xen VPS Servers
█ █ 10Gbps Connection
IPv4 & IPv6
█ █ SSD Cached RAID10 Storage
By misterblue in forum Programming Discussion
Last Post: 05-30-2011, 11:04 PM
By Jacobi in forum Hosting Security and Technology
Last Post: 04-22-2006, 02:26 AM
By miladdo in forum Hosting Security and Technology
Last Post: 04-09-2004, 12:20 PM
By ijg0 in forum Hosting Security and Technology
Last Post: 12-19-2003, 08:02 PM
By sck19 in forum Hosting Security and Technology
Last Post: 05-12-2003, 06:43 AM
Tags for this Thread