Re: Linux LVM software raid, and SAN question.



On Jan 23, 4:36 pm, Kyle Schmitt <kyleaschm...@xxxxxxxxx> wrote:
....
So it appears to be that it's not standard having the db server handle
the mirroring across the sans.
OK, fair enough.
But, to get to the core of it... in linux would this best be done via
LVM mirroring, or software raid (level 1)?

Since you seem to be stuck with this architecture and these are your
only two options, I would use LVM.
The software raid stuff has really been designed to provide raid
capabilities for people who couldn't afford a raid controller or
storage array.
It likes to think of storage as disks, and it's only goal in life is
to protect against catastrophic disk failure.
You on the other hand, have luns coming from storage arrays via HBAs
over two dual-redundant SANs. I'd like to think you certainly
don't have to worry about disk failures anymore, since there shouldn't
be any single point of failure left, other than perhaps power outage
taking out an entire array.

At least with lvm, you get to attach and detach the luns from the
second array as you see fit (for example if you want to take down the
2nd array for maintenance)
And with lvm, maybe you can even wow your boss by making a snapshot on
those luns, providing some logical snapshot taken at strategical
points in time, rather than a blind mirror.
Note that without using enterprise-level software (read: $$$) which
would allow you to integrate the snapshot into the database, you'll
need to manually coordinate flushing and freezing the db
before taking a snapshot at the volume manager level.
.



Relevant Pages

  • Re: Grub2 reinstall on raid1 system. Corrections!!!!!
    ... Bob Proulx wrote: ... With your pastebin information and the mdstat information (that last ... You can rename the array. ... The LVM volume group won't be able to assemble without ...
    (Debian-User)
  • Re: Grub2 reinstall on raid1 system. 2nd Corrections!!!!!
    ... Bob Proulx wrote: ... With your pastebin information and the mdstat information (that last ... You can rename the array. ... disk array to the LVM volume group on the above array? ...
    (Debian-User)
  • Re: [SOLVED] Re: Partitioning And Formatting A Large Disk (2086.09GB)
    ... array is degraded but my data is safe. ... LVM is not there to protect your data. ... If you're using hardware raid and one disk starts failing, ... drives you have in a raid5 array. ...
    (Debian-User)
  • Re: Grub2 reinstall on raid1 system. Corrections!!!!!
    ... With your pastebin information and the mdstat information (that last ... You can rename the array. ... But, and this is an important but, did you previously add the new disk ... The LVM volume group won't be able to assemble without ...
    (Debian-User)
  • Re: For Lenny: LVM, LVM+MD or just MD for mirroring?
    ... 10 arrays and then we use LVM on top of that. ... Depending on if I have any other disks or not I will make a raid5 (or ... LVM snapshot, but after the snapshot is created we remove the locks. ... You have to manually do that or if the hdd that does have grub ...
    (Debian-User)