Use Of Shared Storage In High Availability Arrays?
urbanjunkie asks: "I want to ensure my web site/database farm/whatever is as available as possible, so I checked out many HA (High Availability) packages for Linux. It seems that they -all- seem to want me to use shared storage. I don't want to use shared storage since it moves the point of failure to the disk array. I know that the disk array can be RAIDed etc, but what about a fire, power loss and any of the other things that can go wrong? I'd prefer to have something that replicated changes made to one disk to another disk located in a separate PC that may well be in a location 100 metres away. Is there anything open sourced that can do this?"
I know that afs has disreplication abilities. I'm by no means an expert on it, however
-- Who is the bigger fool? The fool or the fool who follows him? --
For the sake of specs, the thing takes 9 SCSI disks, using FC/AL for linkup, and works with Linux and Solaris (among other systems I believe). Placing 2 together DOES NOT make a RAID5+1 array, the whole thing is straigh RAID5. The systems also have 256 MB of RAM to remove the RAID5 write penalty. Should a catastrophic failure occcur (all power to the box kicks), internal UPSes will dump the info in the RAM to the disks and power down correctly.
The investment is definitely worth it, and makes things easier than other systems. As for fire damage, get a Halon system and BACKUP YOUR DATA!
If you're really paranoid, you can seperate the boxes a little...
My karma's bigger than yours!
SIG: HUP
I'd prefer to have something that replicated changes made to one disk to another disk located in a separate PC that may well be in a location 100 metres away. Is there anything open sourced that can do this?
Yes, rsync. http://rsync.samba.org
-Peter
"There is no number '1.'"
If you want the ultimate in high-availability storage, go with EMC. You get the highest possible level of reliability within one box, and you can get remote mirroring to another machine room in another building if need be.
Disclaimer: I work for EMC.
I know he asked for a Linux solution, but the truth is that sometimes Linux just isn't the best tool for the job.
Currently, we're running a pair of Sun E4500's (4 CPU 6 gig 2 disk boards 2 IO boards) connected to a pair of Sun StorEDGE A5200 disk arrays by FCAL. Each box has 2 fiber connections to each array, for a max throughput to the box of 2gbit. The 4500's are running Solaris 7 for OS, Veritas Volume Manager for managing disk storage, and Veritas Cluster Server for HA management of Oracle 8.
Veritas won't let both machines mount the disks at the same time (which would be bad anyway), and it does a rather good job of managing things. Recently when we had a cpu die in the primary machine, the cluster failed over and had Oracle up (and running recovery) in 1 minute 3 seconds. Not bad, considering the other box rebooted itself and didn't shut Oracle down cleanly.
-j
"To err is human, to forgive is simply not my policy." --root