I want to have active/passive scheme mirroring of site on Bitriks.
Ie is the main website, and if something happens to it — use a mirror. The mirror is enough to make read-only.
The questions are:
1.Reasonable solution: the database is replicated master-slave standard tools MySQL files from the primary server periodically transferred rsync?
Or is there something better?
2. Is it possible to make the slave database read-only, so users did not have anything new to contribute to the site while repairing the primary server?
3. How does replication, if the master falls off? She will wait until the wizard will work, or will have something to restart with handles?
4. Prompt means for automatically switching to the mirror.