PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > Data Redundancy
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

Data Redundancy

Réponse
 
LinkBack Outils de la discussion
Vieux 22/01/2007, 06h00   #1
Will Parkinson
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Data Redundancy

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

Cheers

Will


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 22/01/2007, 06h10   #2
Roberto C. Sanchez
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Data Redundancy

On Mon, Jan 22, 2007 at 03:43:05PM +1000, 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.
>

Have you tried searching on "linux high availability" yet? The short
answer is: "it is neither easy nor cheap."

Regards,

-Roberto

--
Roberto C. Sanchez
http://people.connexer.com/~roberto
http://www.connexer.com

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFFtFSi1snWssAFC08RApr5AJwNvQFONSz7Si7FmRVXCh zEKew9uwCggalv
XGoK/s7MfFouKYtgVTS+nPY=
=rDYk
-----END PGP SIGNATURE-----

  Réponse avec citation
Vieux 22/01/2007, 07h00   #3
Ron Johnson
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Data Redundancy

-----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-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 23/01/2007, 00h00   #4
Will Parkinson
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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-----
>
>
>



  Réponse avec citation
Vieux 23/01/2007, 01h10   #5
Ron Johnson
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Data Redundancy

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

MySQL & PostgreSQL each have database-specific replication options.

For non-database files, I'd first look at rsync. If that does not
do what you want, next look at OCFS2 and think about clustering
(non-database) partititions.

On 01/22/07 17:30, Will Parkinson wrote:
> 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:
> 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)

iD8DBQFFtV/QS9HxQb37XmcRAtaNAKCCEY0RmPYnu6blSLDQK/lVYF+OgACg6tsV
kjjqCdp3dTkO6Xmi0owcloo=
=uMvM
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 23/01/2007, 06h50   #6
Tom Brown
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Data Redundancy

On Mon, 2007-01-22 at 15:43 +1000, 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.


That's exactly what drbd+heartbeat does for you. drbd mirrors your data
and heartbeat handles the fail over. (see drbd.org and linux-ha.org)
This has worked for me. I think I saw someone mention heartbeat and
linux-ha already, so sorry if this is redundant. The ideal scenario is
to have both machines identical, but that is not necessary. So, if you
have another server you can use, it may be cheap that way. However,
there is a time commitment to learning how to use the two tools.

Good luck,
Tom


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 08h55.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 3,39386 seconds with 14 queries