How can I mirror two hard drives in two different machines?

How can I mirror two hard drives in two different machines?

Post by Linux_3 » Fri, 31 Aug 2001 18:58:26



Here is my situation,

I am running two identical boxes with the same configuration and
partitions.  I have two nics in each box and I have a cross over cable
between the boxes so that they can talk to each other directly.  These
are mail servers and one is live and the other is backup.  Now the
question.  Two partitions will be constanly be changing, /home and
/var because of the email.  How do I make the primary server write to
both /home and /var on both servers?  I want the data to match on both
servers, in case the primary fails, I can change the IP address of the
backup and continue serving mail.  In essence, how do I mirror these
two partitions to another box?

Thank you

Linux303

 
 
 

How can I mirror two hard drives in two different machines?

Post by Swif » Fri, 31 Aug 2001 19:05:26



[ Classic example of a server <-> backup with automated correction and some
  sort of balancing... ]

You should take a look at http://www.linux-ha.org

--
  SwifT
  |- LUG : http://www.lugwv.be
  |- PGP Key-# : 0xCDBA2FDB
  `- "Happy Linux-user :)"

 
 
 

1. How to trigger two programs on two different machines at the same time?

Hi all,

I hope this is a proper ng to pose my question, could you please point
me to a better one if otherwise?

I need to run two different recording systems each residing in a
separate machine: one acquires audio while the other records video.
Obviously, I want the two resulting streams to be as synchronized as
possible, i.e., they should start recording at the same time.

How good do you think it would be to do this over the ethernet network?
Also, could you suggest a way to program a script that would launch the
recording on the second machine at the same time as the one on the first
machine? Any pointer on where to start studying in order to achieve this?

Thanks in advance for any hints you'll give me.

2. how to distinguish switch or hub per software?

3. DiskSuite Mirroring two different size drives

4. Installation Help - Hangs up on boot

5. Two OS, two hard drives, one computer

6. Sourcing a file when opening an interactive shell

7. Cloning two different sized hard drive's running Solaris 2.6 on Sparc

8. appending data to streaming tapes

9. two hard disks, different parameters same drives

10. Getting two different Hard Drive controllers to work together

11. How to merge two hard drive into one logical hard drive for Linux

12. Large IDE Hard Drive as a Second Hard Drive

13. Two hard drives to a single hard drive