Skip to contentSkip to conversation

How to mirror or Replicate a primary server's data to a secondarymachine

linux-lvm Gary Mansell 6 participants 6 messages Apr 14, 2005

lore
Share & tools
lore
#0 lore raw

Hi,

I am considering whether to go down the path of a dual server, manual failover solution for one of my RHEL fileservers.

I would have two identical servers in two different machine rooms on our site and if the main server failed then I would manually reconfigure the secondary server with the primary server's IP address so that the client machines can carry on working.

Can anyone recommend to me what I need to do to mirror the data across the two servers so that updates to the primary server are also made to the secondary server

Thanks in advance for any help

Regards

Gary Mansell

Signature · 22 lines
This e-mail and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this e-mail in error please notify the sender immediately
and delete this e-mail from your system.  Please note that any views or opinions
presented in this e-mail are solely those of the author and do not necessarily
represent those of Ricardo (save for reports and other documentation formally
approved and signed for release to the intended recipient).  Only Directors
or Duly Authorised Officers are authorised to enter into legally binding
obligations on behalf of Ricardo unless the obligation is contained within
a Ricardo Purchase Order.

Ricardo may monitor outgoing and incoming e-mails and other telecommunications
on its e-mail and telecommunications systems.  By replying to this e-mail you
give consent to such monitoring.  The recipient should check this e-mail and
any attachments for the presence of viruses.  Ricardo accepts no liability for
any damage caused by any virus transmitted by this e-mail.  "Ricardo" means
Ricardo plc and its subsidiary companies.

Ricardo plc is a public limited company registered in England with registered
number 00222915.
The registered office of Ricardo plc is Bridge Works, Shoreham-by Sea,
West Sussex, BN43 5FG.
#1 lore raw

Use rsync ????

Sorry, but is a dificult question because there is many, many responses.

regards!

On Thu, 14 Apr 2005 17:13:54 +0100, Gary Mansell wrote

Quoted 46 lines

Hi,

I am considering whether to go down the path of a dual server, manual failover solution for one of my RHEL fileservers.

I would have two identical servers in two different machine rooms on our site and if the main server failed then I would manually reconfigure the secondary server with the primary server's IP address so that the client machines can carry on working.

Can anyone recommend to me what I need to do to mirror the data across the two servers so that updates to the primary server are also made to the secondary server

Thanks in advance for any help

Regards

Gary Mansell
--

This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error please notify the sender immediately and delete this e-mail from your system. Please note that any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Ricardo (save for reports and other documentation formally approved and signed for release to the intended recipient). Only Directors or Duly Authorised Officers are authorised to enter into legally binding obligations on behalf of Ricardo unless the obligation is contained within a Ricardo Purchase Order.

Ricardo may monitor outgoing and incoming e-mails and other telecommunications on its e-mail and telecommunications systems. By replying to this e- mail you give consent to such monitoring. The recipient should check this e-mail and any attachments for the presence of viruses.
Ricardo accepts no liability for any damage caused by any virus
transmitted by this e-mail. "Ricardo" means Ricardo plc and its subsidiary companies.

Ricardo plc is a public limited company registered in England with registered number 00222915.
The registered office of Ricardo plc is Bridge Works, Shoreham-by Sea, West Sussex, BN43 5FG.

Quoted 5 lines

_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

=======================================================================================
El que nace para buey, hasta la yunta lame.
=======================================================================================

#2 lore raw

[linux-lvm] RE: How to mirror or Replicate a primary server's data to asecondarymachine

In reply to Gary Mansell

I assume you mean a real-time replication solution. Also supports IP-failover so you don't worry about manual intervention.

- Constant Data (www.constantdata.com)
- PeerFS (www.radiantdata.com)

Both are the commercial products configured easily and can be downloaded for testing.

Quoted 56 lines

From: "Gary Mansell" <[email protected]>
Reply-To: [email protected]
To: <[email protected]>, <[email protected]>, <[email protected]>, <[email protected]>
Subject: How to mirror or Replicate a primary server's data to asecondarymachine
Date: Thu, 14 Apr 2005 17:13:54 +0100

Hi,

I am considering whether to go down the path of a dual server, manual failover solution for one of my RHEL fileservers.

I would have two identical servers in two different machine rooms on our site and if the main server failed then I would manually reconfigure the secondary server with the primary server's IP address so that the client machines can carry on working.

Can anyone recommend to me what I need to do to mirror the data across the two servers so that updates to the primary server are also made to the secondary server

Thanks in advance for any help

Regards

Gary Mansell
--

This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error please notify the sender immediately and delete this e-mail from your system. Please note that any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Ricardo (save for reports and other documentation formally approved and signed for release to the intended recipient). Only Directors or Duly Authorised Officers are authorised to enter into legally binding obligations on behalf of Ricardo unless the obligation is contained within a Ricardo Purchase Order.

Ricardo may monitor outgoing and incoming e-mails and other telecommunications on its e-mail and telecommunications systems. By replying to this e-mail you give consent to such monitoring. The recipient should check this e-mail and any attachments for the presence of viruses. Ricardo accepts no liability for any damage caused by any virus transmitted by this e-mail. "Ricardo" means Ricardo plc and its subsidiary companies.

Ricardo plc is a public limited company registered in England with registered number 00222915.
The registered office of Ricardo plc is Bridge Works, Shoreham-by Sea, West Sussex, BN43 5FG.

_______________________________________________
Linux-PowerEdge mailing list [email protected]
http://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq

#3 lore raw
In reply to Gary Mansell

One way sync: rsync
Two way sync: unison

I'm partial to "balance" (you can find it on freshmeat) for load balancing and failover of stateless protocols.

Quoted 19 lines · Gary Mansell

Hi,

I am considering whether to go down the path of a dual server, manual failover solution for one of my RHEL fileservers.

I would have two identical servers in two different machine rooms on our site and if the main server failed then I would manually reconfigure the secondary server with the primary server's IP address so that the client machines can carry on working.

Can anyone recommend to me what I need to do to mirror the data across the two servers so that updates to the primary server are also made to the secondary server

Thanks in advance for any help

Regards

Gary Mansell

#4 lore raw
In reply to Gary Mansell

If you want to implement a failover solution, you might want to consider using shared storage, e.g. :
1) a HP clustered server with shared data storage; or
2) a XIOTECH SAN; or
3) or a NAS. You can build a NAS using Linux.

If you dont want to go the route of shared storage, you can probably use RSYNC to perform replication of data.

Signature · 3 lines
In Peace,
Saqib Ali
http://tools.tldp.org/search.php <--- Search for Linux HOWTOs
#5 lore raw
In reply to Gary Mansell
Quoted 14 lines · Gary Mansell

Hi,

I am considering whether to go down the path of a dual server, manual failover solution for one of my RHEL fileservers.

I would have two identical servers in two different machine rooms on our site and if the main server failed then I would manually reconfigure the secondary server with the primary server's IP address so that the client machines can carry on working.

Can anyone recommend to me what I need to do to mirror the data across the two servers so that updates to the primary server are also made to the secondary server

Quoted 5 lines

Thanks in advance for any help

Regards

Gary Mansell

If you need ordered writes (as a database would), the only solution I'm sure works is DRBD. I then MD layered above NBD can also be used, but I'm not positive it supports ordered writes.

If you choose DRBD, then Linux-HA (heartbeat) can be added to the mix to get rid of the manual failover aspect. SLES (SuSE Linux Enterprise Server) comes with both of these and Novell's support.

Or all of the above are GPL and you can use yourself and the community for support.

HTH
Greg