Server notifications if hard drive fails software raid

Hi I have some servers that are using software raid on Server 2012 R2.  I was looking for a software program to email me if one of the drives goes south.

Thanks all.
LVL 2
DanOwnerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

kenfcampCommented:
What type of servers??

Dell/HP/IBM/Buld-your-own, etc
Philip ElderTechnical Architect - HA/Compute/StorageCommented:
Most vendors use LSI/Avago with a few alternatives out there.

Whatever the vendor's server product set up the management software with the RAID component then configure event notification to e-mail on certain events.

Two things:
 1: We stopped using software RAID except in cluster nodes years and years ago
 2: In our experience, when a disk fails with a software RAID setup the server locks up

Intel RMM, HPE iLO Advanced, Dell iDRAC Enterprise, or other out-of-band with KVM over IP management is an absolute must IMNSHO.
DanOwnerAuthor Commented:
I think they are dell mainly, but I don't have perc controllers, just onboard stuff, some custom builds.  Was looking for something generic that works with the OS

Is LSI/Avago a program?
Protecting & Securing Your Critical Data

Considering 93 percent of companies file for bankruptcy within 12 months of a disaster that blocked access to their data for 10 days or more, planning for the worst is just smart business. Learn how Acronis Backup integrates security at every stage

Sebastian TalmonSystem Engineer Datacenter SolutionsCommented:
Do you use software raid through drivers for a hardware controller card, or real Software RAID through Windows Dynamic Disks or Storage Spaces?
Philip ElderTechnical Architect - HA/Compute/StorageCommented:
The on board will either be Intel RSTe or LSI. On some server boards the RAID setting in the BIOS can be set to one or the other.

I don't have a Dell in the shop otherwise I could check on it. I don't remember seeing such a setting.

The Dell OpenManage software should work with both on board and PERC RAID setups.
DanOwnerAuthor Commented:
I used the Windows software, like disk management and mirror drive.

Philip, I didn't use the dell setup, just the windows, unless I ca use the openmanage without having it that way.

Thanks all
Philip ElderTechnical Architect - HA/Compute/StorageCommented:
As in creating the mirrored drive _within_ the Windows operating system via Disk Management? Oh.
DanOwnerAuthor Commented:
Philip, yes
kenfcampCommented:
unless I ca use the openmanage without having it that way

I was going to suggest OpenManage, but I don't think it will work w/o the PERC controller
kenfcampCommented:
Well I've come across this post which explains how to setup a script to create a event log event for soft raid failure
https://www.eventsentry.com/blog/2012/02/how-to-make-the-windows-softwa.html

With a little tweaking you should be able to setup email/SMS notifications

I'll keep looking for a bit, but you may end up having to "roll your own solution"

Ken
Sebastian TalmonSystem Engineer Datacenter SolutionsCommented:
There seems to be no way to throw an event / email as soon as some disks are not redundant anymore.

But you can query the state of your volumes with diskpart.exe:

echo list volume | diskpart

Do you have a central network monitoring solution? Maybe it could query the health state for you and alert you if a disk has a problem (and also if you have other problems on your servers)

There are some scripts recommended in this thread: https://serverfault.com/questions/149917/how-do-you-monitor-the-health-of-a-mirrored-disk-in-windows

Do you use dynamic disks for your boot volume or your data volume? Dynamic disks are deprecated for data volumes as StorageSpaces is now the recommended feature for this.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
DanOwnerAuthor Commented:
thanks guys those scripts worked great.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Software

From novice to tech pro — start learning today.