|
|
|
|
||||||
| linux.debian.user debian-user@lists.debian.org. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
I have a dedicated server at the moment (which is the one i want
mirrored), i have considered the solution below before, but does the dns "load balance" to a server when it is down? i've been told that it doesn't, but i haven't put it into practice yet. What i really need is a service to check whether the main server is available, and if its not, switch to the secondary. The solution below does take care of the data redundancy problem though. Cheers Will Julian De Marchi wrote: > > What I do is purchase ( if money is an option ) a near identical > server, then create your own scripts just to copy changed data, using > the tar program. For Mysql I use Mysql dump. Do not host any sites > using postgreSQL so no advice in that area. Cron will only have to be > copied once, same with most of your config files. DNS obviously is not > an issue. > > > > I have my setup working, mirroring data daily. > > > > Have you thought about renting a dedicated server for the role you are > after? > > > > Julian > > > > ------------------------------------------------------------------------ > > *From:* Will Parkinson [mailto:wil@businessleader.com.au] > *Sent:* Tuesday, 23 January 2007 09:30 > *To:* debian-user@lists.debian.org > *Subject:* Re: Data Redundancy > > > > Yes i need to mirror all functions, programs, crons, databases etc to > do with a web server. I have been looking this up and it seems, as > roberto said in an earlier post, its is going to be an expensive > exercise. I really need a cheap option at the moment if there is such > a thing. > > Cheers > > Will > > Ron Johnson wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 01/21/07 23:43, Will Parkinson wrote: > >> Hi All, >> >> I have a server that i need to mirror elsewhere for data redundancy >> purposes. What is the best way to have this done? The sites on my box >> are MySQL and PostgreSQL driven so those need to be on both machines as >> well. Ideally id like to have a main server and in any event that the >> main server went down, switch to the other server. >> Any info greatly appreciated >> > > Do you mean that you need to mirror the MySQL & PostgreSQL > databases, or some non-database files, or both? > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > > iD8DBQFFtF94S9HxQb37XmcRAkpPAJ9j3tOas1wGYgKqEjjq+V UazU1oSwCglm25 > 0Jqjnu59/XZDos8E9WuTbT0= > =B/MW > -----END PGP SIGNATURE----- > > > > > > |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 On 01/22/07 18:14, Will Parkinson wrote: > I have a dedicated server at the moment (which is the one i want > mirrored), i have considered the solution below before, but does the dns > "load balance" to a server when it is down? i've been told that it > doesn't, but i haven't put it into practice yet. What i really need is > a service to check whether the main server is available, and if its not, > switch to the secondary. The solution below does take care of the data > redundancy problem though. Heartbeat monitors are a dime a dozen. $ wajig show heartbeat-2 Package: heartbeat-2 Priority: optional Section: admin Installed-Size: 4504 Maintainer: Simon Horman <horms@debian.org> Architecture: i386 Version: 2.0.7-2 Replaces: heartbeat, libpils0, libstonith0, stonith Provides: heartbeat, libpils0, libstonith0, stonith Depends: libbz2-1.0, libc6 (>= 2.3.6-6), libcurl3 (>= 7.15.5-1), libgcrypt11 (>= 1.2.2), libglib2.0-0 (>= 2.12.0), libgnutls13 (>= 1.4.0-0), libgpg-error0 (>= 1.4), libltdl3 (>= 1.5.2-2), libncurses5 (>= 5.4-5), libnet1 (>= 1.1.2-1), libopenipmi0, libpam0g (>= 0.76), libsensors3 (>= 1:2.10.1), libsnmp9 (>= 5.2.3), libssl0.9.8 (>= 0.9.8c-1), libtasn1-3 (>= 0.3.4), libuuid1, libwrap0, libxml2 (>= 2.6.27), zlib1g (>= 1:1.2.1), python, python-central (>= 0.5.8), iproute, adduser, iputils-ping, psmisc Recommends: sysklogd | syslog-ng | system-log-daemon, logrotate, iptables Conflicts: heartbeat, libpils0, libstonith0, stonith Filename: pool/main/h/heartbeat-2/heartbeat-2_2.0.7-2_i386.deb Size: 1362814 MD5sum: 8528217421a5d8836733fcfdd327e4a8 SHA1: a0f2677d256e0b6df00897b4994c751b7fabc4f5 SHA256: 6e49f5a6937e9046b4ef14640d6f79392da06f09a1dcc7bfb7 378ba02c5609e0 Description: Subsystem for High-Availability Linux heartbeat is a basic heartbeat subsystem for Linux-HA which implements serial, UDP, and PPP/UDP heartbeats together with IP address takeover including a nice resource model including resource groups. |
|
![]() |
| Outils de la discussion | |
|
|