Мониторинг raid массива windows

Время на прочтение4 мин

Количество просмотров25K

image

Всем привет!

За последние годы мы привыкли что можно и нужно все мониторить, множество инструментов начиная от простых логов, заканчивая Zabbix и все можно связать. Microsoft в свою очередь тоже дала нам отличный инструмент WinRM, с помощью которого мы можем отслеживать состояние операционных систем и не только. Но как всегда есть ложка дегтя, собственно об «обходе» этой ложки дегтя и пойдет речь.

Как выше было сказано, мы имеем все необходимые инструменты для мониторинга IT структуры, но так сложилось что мы не имеем «автоматизированный» инструмент для мониторинга состояния Intel raid массивов в Windows core. Обращаю Ваше внимание на то, что речь идет об обычном «желтом железе».

Все мы знаем что есть софт от Intel, rapid и matrix storage, но к сожалению на стандартном Windows core он не работает, также есть утилита raidcfg32, она работает в режиме командной строки, умеет обслуживать в ручном режиме и показывать статус, тоже в ручном режиме. Думаю Америку не для кого не открыл.

Постоянно в ручном режиме проверять состояние raid или ждать выхода из строя сервера виртуализации не самый лучший выбор.

Для реализации коварного плана по автоматизации мониторинга Intel raid мы используем
основные инструменты:

  • Powershell
  • EventLog
  • Raidcfg32.exe
  • Вспомогательные:
  • WinRM
  • Rsyslog
  • LogAnalyzer

Первым делом нужно установить драйвер для raid контроллера:
cmd.exe pnputil.exe -i -a [путь до *.inf]

Копируем raidcfg32.exe в c:\raidcfg32\

Проверяем корректно ли установлен драйвер:
cmd.exe C:\raidcfg32\raidcfg32.exe /stv

Если получаем состояние raid и дисков, то все ок.

Создаем источник в журнале application:

*Дальше все выполняется в powershell

New-EventLog -Source "RAID" -LogName "Application"

Выполняем запрос состояния raid, удаляем кавычки для упрощения парсинга, подключаем содержимое файла.

c:\RAIDCFG32\RAIDCFG32.exe /stv > c:\RAIDCFG32\raidcfgStatus.txt
Get-Content "c:\RAIDCFG32\raidcfgStatus.txt" | ForEach-Object {$_ -replace ('"'),' '} > c:\RAIDCFG32\raidstatus.txt
$1 = Get-Content c:\RAIDCFG32\raidstatus.txt
$2 = "$1"

Ищем ключевые слова, если одно из слов ниже будет найдено, то в файле errorRAID.txt появится значение true, это будет говорить о наличии ошибки, если совпадений не найдено, то будет записано значение false.

$2 -match "failed" > c:\RAIDCFG32\errorRAID.txt
$2 -match "disabled" >> c:\RAIDCFG32\errorRAID.txt
$2 -match "degraded" >> c:\RAIDCFG32\errorRAID.txt
$2 -match "rebuild" >> c:\RAIDCFG32\errorRAID.txt
$2 -match "updating" >> c:\RAIDCFG32\errorRAID.txt
$2 -match "critical" >> c:\RAIDCFG32\errorRAID.txt

Подключаем файл с записаными true и false, ищем в файле true, если true найдено то заменяем его на Error, заменяем false на Information.

Записывам результат в EntryType.txt

$3 = Get-Content c:\RAIDCFG32\errorRAID.txt
$4 = "$3"
$5 = $4 -match "true"
$6 = "$5"
$7 = $6 -replace "true", "Error" > c:\RAIDCFG32\EntryType.txt
$8 = $6 -replace "false", "Information" >> c:\RAIDCFG32\EntryType.txt

Подключаем содержимое файла EntryType.txt и удаляем в нем False, тем самым выводим корректный -EntryType что в свою очередь и является «Уровнем» сообщения.

Записываем в EventLog сообщение, где в случае если будут найдены ключевые слова, уровень сообщения будет Error, если не будут найдены, то Information.

$9 = Get-Content c:\RAIDCFG32\EntryType.txt
$10 = "$9"
$11 = $10 -replace "False"
Write-EventLog -LogName Application -Source "RAID" -EventID 9999 -EntryType "$11" -Message "$1"
exit

Сохраняем код в *.ps1

Создаем в планировщике задание на запуск скрипта, я запускаю задание 1 раз в сутки и при каждой загрузке.

Если будет производится сбор логов другой Windows ОС в Eventlog, то на коллекторе логов необходимо создать источник «RAID», пример есть выше.

Мы транспортируем логи в rsyslog через Adison rsyslog для Windows.

На выходе получается вот такая картинка:

image

UPD.
По поводу использования store space, все сервера с windows core на борту используются в филиалах, в филиале установлен только 1 сервер и для получения «бесплатного» гипервизора и уменьшения стоимости лицензии используется именно core.

для windows логов

c:\RAIDCFG32\RAIDCFG32.exe /stv > c:\RAIDCFG32\raidcfgStatus.txt
Get-Content "c:\RAIDCFG32\raidcfgStatus.txt" | ForEach-Object {$_ -replace ('"'),' '} > c:\RAIDCFG32\raidstatus.txt
$1 = Get-Content c:\RAIDCFG32\raidstatus.txt
$2 = "$1"
$2 -match "failed" > c:\RAIDCFG32\errorRAID.txt
$2 -match "disabled" >> c:\RAIDCFG32\errorRAID.txt
$2 -match "degraded" >> c:\RAIDCFG32\errorRAID.txt
$2 -match "rebuild" >> c:\RAIDCFG32\errorRAID.txt
$2 -match "updating" >> c:\RAIDCFG32\errorRAID.txt
$2 -match "critical" >> c:\RAIDCFG32\errorRAID.txt
$3 = Get-Content c:\RAIDCFG32\errorRAID.txt
$4 = "$3"
$5 = $4 -match "true"
$6 = "$5"
$7 = $6 -replace "true", "Error" > c:\RAIDCFG32\EntryType.txt
$8 = $6 -replace "false", "Information" >> c:\RAIDCFG32\EntryType.txt
$9 = Get-Content c:\RAIDCFG32\EntryType.txt
$10 = "$9"
$11 = $10 -replace "False"
Write-EventLog -LogName Application -Source "RAID" -EventID 9999 -EntryType "$11" -Message "$1"

UPD2.
В zabbix конфиг на клиенте вносим:
UserParameter=raid.status,powershell c:\raidcfg32\raidstatusZabbix.ps1
В zabbix добавляем новый элемент данных raid.status, числовой. Создаём триггер — если 0 то всё хорошо, если 1 то беда.
Скрипт ps2 немного меняется:

для zabbix

c:\RAIDCFG32\RAIDCFG32.exe /stv > c:\RAIDCFG32\raidcfgStatus.txt
Get-Content "c:\RAIDCFG32\raidcfgStatus.txt" | ForEach-Object {$_ -replace ('"'),' '} > c:\RAIDCFG32\raidstatus.txt
$1 = Get-Content c:\RAIDCFG32\raidstatus.txt
$2 = "$1"
$2 -match "failed" > c:\RAIDCFG32\errorRAID.txt
$2 -match "disabled" >> c:\RAIDCFG32\errorRAID.txt
$2 -match "degraded" >> c:\RAIDCFG32\errorRAID.txt
$2 -match "rebuild" >> c:\RAIDCFG32\errorRAID.txt
$2 -match "updating" >> c:\RAIDCFG32\errorRAID.txt
$2 -match "critical" >> c:\RAIDCFG32\errorRAID.txt
$3 = Get-Content c:\RAIDCFG32\errorRAID.txt
$4 = "$3"
$5 = $4 -match "true"
$6 = "$5"
$7 = $6 -replace "true", "1" > c:\RAIDCFG32\EntryType.txt
$8 = $6 -replace "false", "0" >> c:\RAIDCFG32\EntryType.txt
$9 = Get-Content c:\RAIDCFG32\EntryType.txt
$10 = "$9"
$11 = $10 -replace "False"
$11

  • Updated on 12 Jul 2024

  • Min Reading 5 Min

Summary:
Continuous monitoring of RAID health is a better practice than checking disk health in intervals. Because, with intervals-based disk checking, you would not be able to track down disk health issues that cropped up during the unmonitored phase. Meaning, there’s a delay in detecting the issue when measured against its actual moment of occurrence.

Let’s explore this scenario in detail: 

Administrators often complain that a RAID configuration failed due to corrupt disk, despite regular monitoring of hard disk health and configuration. The fact is that ‘periodic’ health monitoring is not enough, as the time period between two checkups may be enough to corrupt the disk and affect the entire RAID.  

The Sequence of activities are:

The situation can be easily avoided by being proactive and monitoring the RAID Hard Disk health status on Windows.

An important point to note is that checking the hard disk (even if it is done at regular intervals) does not monitor the gadget 24×7. Hence, if the disaster strikes the hard disk during an unmonitored phase, then the results will not be shown until the next check or there’s a functional issue. Such disasters are easily avoidable using RAID hard disk monitoring software.

How to monitor RAID Hard Disk Health status?

There are a few ways to monitor Hard Drives, as follows:

  • Monitoring tools from Hard Drive manufacturers:

Hard drive manufacturers provide their own native monitoring tool to track hard drive health and performance. This is how you can find and use the monitoring utility for your hard drive — 

  • Get the make and model number of your hard drive
  • Go to the Support page of the hard drive on the manufacturer’s site and search for the hard drive utility.
  • Activate the diagnostic features of the hard drive to test the disk health on the basis of Self-monitoring, analysis and reporting technology or S.M.A.R.T. attributes. 

Windows CHKDSK Tool:

The built-in Windows tool scans the disks to locate system errors. CHKDSK Command also helps when there are issues in your hard drive. The integrated tool scans and fixes the issues, if possible, or else reports them. Regular checks help mitigate the problems arising out of bad disk health. 

  • Use WMIC:

WMIC is a command-line interface to monitor the S.M.A.R.T. attributes of a hard drive. It provides a simple conclusion in the form of “OK” or “Pred Fail”. This built-in feature is a basic command and only limited information.

  • ‘Monitor Drive’ Option of Stellar Data Recovery Technician software

Stellar Drive Monitor that comes along with multi-utility RAID Recovery software is a real-time disk monitor, helps track multiple parameters of the hard disk and when any monitored attribute exceeds its threshold value, the application displays an alert. 

The software allows users to select the drive from the RAID Disk to check the health status of the select drive. 

Why choose a SMART Drive monitor?

  • The manufacturer’s hard drive tool is brand-specific. The Samsung drive monitor monitors Samsung-make only. Samsung can not observe disks of other brands. Also, if the disk of some other brand is installed along with Samsung drive, then the other disk cannot be tracked, as the system doesn’t allow downloading of drive monitor for other make or brand.

  • CHKDSK and WMIC are checking tools and are not proactive to provide complete information on disk status.

  • Installing and launching Stellar Drive Monitor in Windows 10 is easy. Once activated, the S.M.A.R.T. software can be used to monitor various attributes of the hard disk like Disk Status, Smart Status, Disk Partition, Scan Disk, and Clone Disk.

Disk Status:

It monitors the physical status of the disk — temperature, drive health and performance. Users can define the threshold and the critical limit on the application. Any deviation from the normal is illustrated through color, where blue depicts ideal, orange is acceptable, and Red shows the worst. Most users take action as soon as a Disk status starts showing orange color and secure the RAID Hard Disk health by being proactive.

Smart Status::

This module measures the fitness quotient of the disk and identifies the status of the attributes. The threshold value depicts the limit, above which the disk is likely to fail. Stellar Drive Monitor displays the threshold limit to help save the disk and the RAID from breaking down.

Disk Partition::

It monitors all the partitions in the disk and displays the partition status, the status of each partition and the space available. System administrators can judge the condition and storage space from the available values.

Scan Disk::

It identifies and displays the bad sectors in a disk. If the number of bad sectors is high, then it is advised to replace the disk.

Clone Disk::

This process helps to copy the entire data from the Source Disk to the available Target Disk, thus retaining the data of the original disk.

In all, the proactive functioning of Drive Monitor helps the users to monitor the status of RAID Hard Disk health status and saves them from unwanted data loss.

Conclusion

Organizations take several measures to safeguard their data — the most critical component. One such measure is to use a RAID configuration in disks. Storage devices with RAID configuration also help improve performance and resilience. Since RAID configuration involves many drives, it is imperative to monitor the health of individual hard disks and avoid data loss situations.

Deploying Drive Monitor to check RAID Hard Disk health status on Windows keeps a check on the health and performance of the disks and take suitable action, proactively.


Was this article helpful?

Делюсь полезным шаблоном для мониторинга программных RAID контроллеров Intel RST (Rapid Storage Technology), Intel RSTe (Intel Rapid Enterprise), Intel VROC (Virtual RAID on CPU).

Скачать шаблон для Zabbix 5.0: zabbix_intel_rst_vroc.zip

Мониторим с помощью утилит CLI. В пакете есть следующие утилиты:

zabbix

В зависимости от установленного в системе драйвера для RAID контроллера используется подходящая утилита CLI:

  • 13_16_rstcli64.exe — для драйвера версии ниже 1.7.0.
  • 4.6.0_rstcli64.exe — для драйвера версии ниже 5.0.0.
  • 5.0.0_rstcli64.exe — для драйвера версии ниже 5.0.3.
  • 5.0.3_rstcli64.exe — для драйвера версии ниже 5.3.0.
  • 5.3.0_rstcli64.exe — для драйвера версии ниже 5.6.0.
  • 5.6.0_rstcli64.exe — для драйвера версии ниже 6.1.0.
  • IntelVROCCli.exe — для драйвера версии ниже 6.2.0.
  • rstcli64.exe — для остальных случаев.

Не уверен в точности соответствия версий и утилит, возможно, в дальнейшем потребуется корректировка в BAT файле и препроцессинге элемента данных «RST cli path».

В папке old есть более старая утилита IntelVROCCli.exe, вдруг, кому-то пригодится.

Шаблон получает все данные от CLI, затем, используя JavaScript и регулярные выражения, с помощью низкоуровневого обнаружения LLD находит:

  • Контроллеры
  • Массивы
  • Логические диски
  • Физические диски

Можно было бы не заморачиваться с регулярными выражениями, если бы работало опция —xml, которая имеется в описании CLI IntelVROCCli.exe. Однако, вывод в XML не работает, о чём я нашёл подтверждение в документации к CLI.

Благодарности

Мой шаблон основан вот на этом шаблоне (автор Николай Куликов):

https://github.com/mykolq/zabbix_intel_rst_template

Изначально предполагалось создание локального пользователя, который в автоматическом режиме прописывал в макрос путь к CLI. Мне это не понравилось, я сделал автоматическое определение CLI по версии драйвера в файле BAT, который при первом запуске определяет драйвер и записывает путь CLI в текстовый файл. Если драйвер изменится, то нужно на сервере вручную удалить файл RST.txt. Можно избавиться от этого текстового файла и модифицировать скрипт, но тогда каждый раз при запросе будет определяться версия драйвера, а эта процедура отрабатывает секунд пять, не очень быстро. Ещё можно сделать полную автоматизацию, как у Николая, написав скрипт для обновления RST.txt в планировщике. Но, поскольку, я не собираюсь обновлять версию драйвера RST без особых причин, то не буду делать автоматизацию. Для защиты от дурака сделал триггер, который сравнивает текущий путь CLI и определённый по версии драйвера в системе. Вдруг, кто-то полезет на сервер и начнёт всё бездумно обновлять.

Добавил к исходному шаблону функционал определения контроллеров и массивов. Ну и добавил все элементы данных, которые возвращает мой RST контроллер.

А за набор CLI утилит спасибо Николаю. Я там только заменил IntelVROCCli.exe на более новый.

Установка шаблона в Linux

Отдельный мониторинг Intel RST в Linux не требуется. Для мониторинга Intel RST, Intel RSTe, Intel VROC в Linux необходимо использовать утилиту mdadm:

Zabbix — мониторинг программных RAID массивов в Linux

Установка шаблона в Windows

Качаем архив zabbix_intel_rst_vroc.zip

Импортируем шаблон zbx5_intel_rst_vroc.xml.

В макросах шаблона можно отредактировать параметры:

  • {$ARRAY_HISTORY_PERIOD} — 30d. Срок хранения истории массивов.
  • {$ARRAY_THROTTLING_HB_PERIOD} — 6h. Срок тротлинга массивов.
  • {$CTRL_HISTORY_PERIOD} — 30d. Срок хранения истории контроллеров.
  • {$CTRL_THROTTLING_HB_PERIOD} — 6h. Срок тротлинга контроллеров.
  • {$INTERNAL_ITEMS_HISTORY_PERIOD} — 30d. Срок хранения истории внутренних элементов.
  • {$INTERNAL_ITEMS_NODATA} — 1h. Для триггеров. Интервал, в течение которого допускается отсутствие данных от RST.
  • {$INTERNAL_ITEMS_REQUEST_PERIOD} — 5m. Периодичность опроса RST. Основной интервал.
  • {$LD_HIGH_SEVERITY_STATES} — Degraded|Failed. Для триггеров. Критичные статусы локальных дисков.
  • {$LD_HISTORY_PERIOD} — 30d. Срок хранения истории локальных дисков.
  • {$LD_INFORMATION_SEVERITY_STATES} — Initializing. Для триггеров. Информационные статусы локальных дисков.
  • {$LD_RECOVERY_STATES} — Normal. Для триггеров. Нормальные статусы локальных дисков.
  • {$LD_THROTTLING_HB_PERIOD} — 3h. Срок тротлинга локальных дисков.
  • {$LD_WARNING_SEVERITY_STATES} — Rebuilding|Verify and Fix. Для триггеров. Предупреждающие статусы локальных дисков.
  • {$PD_HIGH_SEVERITY_STATES} — Missing|Failed|Degraded|Smart event triggered. Для триггеров. Критичные статусы физических дисков.
  • {$PD_HISTORY_PERIOD} — 30d. Срок хранения истории физических дисков.
  • {$PD_INFORMATION_SEVERITY_STATES} — Online|Initialize. Для триггеров. Информационные статусы физических дисков.
  • {$PD_RECOVERY_STATES} — Normal. Для триггеров. Нормальные статусы физических дисков.
  • {$PD_THROTTLING_HB_PERIOD} — 3h. Срок тротлинга физических дисков.
  • {$PD_WARNING_SEVERITY_STATES} — Verify|Rebuilding|Offline|Incompatible. Для триггеров. Предупреждающие статусы физических дисков.
  • {$RSTCLI_REQUEST_PERIOD} — 6h. Периодичность опроса версий драйвера RST.

zabbix

Копируем rst.conf в папку с пользовательскими переменными, у меня это C:\zabbix\zabbix_agent.conf.d\rst.conf. В конфигурации агента этот файл должен быть подключен.

Копируем папку со скриптами в C:\zabbix\scripts. В ней у нас:

  • rst — папка с утилитами RST
  • rst.bat — скрипт для получения данных RST
  • rstcurrent.bat — скрипт для получения текущей утилиты RST CLI

Перезапускаем агент:

net stop "Zabbix Agent" && net start "Zabbix Agent"

Версии

v.1 от 03.07.2022

Начальная версия

v.2 от 05.12.2022

Упрощено регулярное выражение для LLD контроллеров. В некоторых случаях обработка регулярки уходила в бесконечный цикл, непонятно почему. И нагрузку на сервер снизили.

zabbix

v.3 от 07.10.2023

  • Изменена абсолютная ссылка между BAT файлами на относительную.
  • Добавлена возможность работы скриптов в путях с пробелом в имени.

v.4 от 07.10.2023

Добавлены версии rstcli64.exe:

  • 3.8.0
  • 4.3.0
  • 4.5.0
  • 5.5.0

v.5 от 11.10.2023

Изменено регулярное выражение для определения логического диска. Теперь имя логического диска может включать A-Za-z0-1, подчёркивание и пробел.

v.6 от 01.11.2023

  • Исправлены ошибки в шаблоне, допущенные в версии 4.
  • Полностью переписаны все регулярные выражения в шаблоне.
  • Добавлена поддержка нескольких контроллеров на сервере.
  • Добавлена поддержка контроллеров, у которых нет дисков и массивов без логических томов.

v.7 от 14.11.2023

  • Исправлены ошибки в BAT файлах.
  • Добавлена поддержка путей к RST.txt файлу с пробелами

v.8 от 22.11.2023

  • Драйвер контроллера какой-то код в конце выводил, из-за этого неправильно определялся ID диска. Предусмотрел игнорирование этого параметра.

v.9 от 19.02.2024

Добавлена поддержка драйверов:

  • 7.0.0
  • 7.5.0
  • 7.5.6
  • 7.6.0
  • 7.7.0
  • 7.8.0
  • 7.8.3
  • 8.0.0
  • 8.2.0
  • 8.5.0

Драйвер с утилитой 8.5.0.1592 добавлен в сборку для системного администратора.

Бонус, где можно надыбать VROC CLI:

https://support.hpe.com/connect/s/softwaredetails?language=en_US&softwareId=MTX_c075fea240b6497197e47bc22d

Бонус где можно надыбать VROC:

https://www.supermicro.com/wdl/driver/VROC/

Картинки

Достаточно часто использую программные RAID-массивы на  Windows-серверах: удобно, дёшево, сердито. 🙂

Однако, за программным RAID-массивом, как и за любым другим, нужно следить. Хотя бы чуть-чуть.

Есть отличная статья, которая описывает, как следить за программным RAID-массивом в Linux: https://serveradmin.ru/monitoring-programmnogo-reyda-mdadm-v-zabbix/

И тут я подумал: «А чем Windows хуже?». Сказано, — сделано. 🙂

Шаг 1. Настройка Zabbix-client на наблюдаемом сервере

Вояем простенький скрипт, который выводит «0», если с массивом всё хорошо, и «1», если есть проблемы. Сразу замечу, что скрипт писался с расчётом на то, что Windows Server у вас использует по умолчанию русский язык. Если же у вас используется другой язык, рекомендую от имени администратора выполнить команду «echo list volume | diskpart» и посмотреть, что выводится в том случае, если какой-то RAID-массив имеет проблемы.

Текст скрипта

@echo off
echo list volume | diskpart | findstr /i ошибка > %TEMP%\mdadm.txt
set /p a=< %TEMP%\mdadm.txt
echo %a% >nul
If %Errorlevel%==0 (echo 1) else (echo 0)

Открываем «блокнот», в новый документ вставляем указанный выше текст и записываем всё это в bat-файл. У меня Zabbix-Client на серверах обычно установлен в папку  с именем «C:\zabbix», поэтому полный путь до файла со скриптом будет таким: «C:\zabbix\raid_status.bat»

Теперь открываем файл с конфигурацией Zabbix-клиента, который у меня расположен по адресу  «C:\zabbix\zabbix_agentd.win.conf», и в самый конец файла дописываем новую строку

UserParameter=raid_status, C:\zabbix\raid_status.bat

После того, как сохранили конфигурацию, перезапускаем службу агента. Я обычно это делаю при помощи оснастки «Управление компьютером».

Теперь нужно проверить, всё ли правильно мы сделали. Открываем «От имени администратора» консоль (CMD) и подаём команду

C:\zabbix\zabbix_agentd.exe -c c:\zabbix\zabbix_agentd.win.conf -t raid_status

Если будет выведено «raid_status [t|0]», значит вы всё настроили правильно.

Шаг 2. Настройка Zabbix-Server

Сервер настраиваем по аналогии с указанной выше статьёй: https://serveradmin.ru/monitoring-programmnogo-reyda-mdadm-v-zabbix/

Только всегда нужно делать «поправку на ветер». Ну, например, я использую элемента данных «raid_status», а  в статье используется «mdadm.status».

В  статье написано всё очень подробно. Я просто приведу свои скриншоты. 🙂


The purpose of this blog post is to provide a detailed guide on how to check RAID configuration on Windows Server 2016. RAID, which stands for Redundant Array of Independent Disks, is a data storage technology that combines multiple physical drives into a single logical unit for improved performance, data redundancy, and fault tolerance. Understanding the RAID configuration of your server is crucial for managing and troubleshooting storage issues.

In this article, we will explore different methods for checking the RAID configuration on Windows Server 2016. We will discuss the necessary steps and precautions for each method, as well as the pros and cons of using these methods. By the end of this article, you will have a comprehensive understanding of how to check RAID configuration on your server.

Video Tutorial:

What’s Needed

Before we dive into the methods for checking RAID configuration, there are a few things you will need:

  1. A Windows Server 2016 machine with RAID configured.
  2. Administrator access to the server.
  3. Basic knowledge of server management and storage concepts.

Once you have these prerequisites in place, you can proceed with checking the RAID configuration on your Windows Server 2016 machine.

What Requires Your Focus?

When checking the RAID configuration on your Windows Server 2016 machine, it’s important to focus on the following key aspects:

  1. The RAID level used: RAID can be configured in different levels such as RAID 0, RAID 1, RAID 5, etc. Each RAID level offers different benefits and trade-offs, so understanding the RAID level used on your server is crucial.
  2. The number and type of physical drives: RAID requires multiple physical drives to function. Make sure to identify the number and type of drives used in your RAID configuration.
  3. Data redundancy and fault tolerance: RAID provides redundancy and fault tolerance by storing data across multiple drives. Ensure that your RAID configuration is properly set up to provide data protection in case of drive failures.

Keeping these focus areas in mind will help you effectively manage and troubleshoot any RAID-related issues on your Windows Server 2016 machine.

Method 1: Using the RAID Controller Software

One of the most common methods for checking RAID configuration on Windows Server 2016 is by using the RAID controller software. Most servers come with built-in RAID controllers that provide an interface for managing and monitoring the RAID configuration.

To check the RAID configuration using the RAID controller software, follow these steps:

  1. Boot up your Windows Server 2016 machine and log in as an administrator.
  2. Open the RAID controller software by either accessing the BIOS settings during the boot process or via a dedicated software utility provided by the server manufacturer.
  3. Navigate to the RAID configuration section within the software.
  4. Here, you should be able to see a summary of your RAID configuration, including the RAID level, physical drives, and other relevant details.
  5. Take note of the RAID level, number and type of physical drives, and any other information that might be useful for troubleshooting or future reference.
Pros Cons
1. Provides detailed information about the RAID configuration. 1. Requires server reboot to access the RAID controller software.
2. Allows for easy management and monitoring of the RAID configuration. 2. Software interface may vary depending on the server manufacturer.
3. Provides options for configuring RAID settings and performing maintenance tasks. 3. Limited to servers with built-in RAID controllers.

Method 2: Via Disk Management

Another method for checking RAID configuration on Windows Server 2016 is by using the Disk Management utility. Disk Management is a built-in Windows tool that allows you to manage and monitor the storage devices connected to your server.

To check the RAID configuration via Disk Management, follow these steps:

  1. Go to the Start menu and search for “Disk Management.”
  2. Open the Disk Management utility from the search results.
  3. You should see a list of all the disks connected to your server, including the RAID volumes.
  4. Identify the RAID volumes by their size and type.
  5. Right-click on a RAID volume and select “Properties.”
  6. In the Properties window, you will find detailed information about the RAID configuration, such as the RAID level, status, and health.
  7. Note down the RAID level and any other relevant information for future reference.
Pros Cons
1. No server reboot required. 1. Limited detailed information compared to RAID controller software.
2. Easy access on any Windows Server 2016 machine. 2. May not detect some RAID configurations.
3. Allows for basic management and monitoring of RAID volumes. 3. Limited to RAID volumes recognized by the Windows operating system.

Method 3: Using Command-Line Tools

If you prefer a command-line approach, you can check the RAID configuration on Windows Server 2016 using command-line tools. These tools provide a more technical and in-depth view of your RAID setup.

To check the RAID configuration using command-line tools, follow these steps:

  1. Open the Command Prompt as an administrator.
  2. Run the command “wmic diskdrive get deviceid,model,size” to get a list of all the physical drives connected to your server.
  3. Note down the device ID and model of each drive.
  4. Run the command “wmic diskdrive get status” to check the status of each drive. Make sure all drives are in a “OK” status.
  5. Run the command “wmic diskdrive get deviceid,mediatype” to identify the type of each drive, whether it’s a hard disk drive (HDD) or a solid-state drive (SSD).
  6. Run the command “wmic diskdrive get deviceid,interfacetype” to check the interface type of each drive, such as SATA, SAS, or NVMe.
  7. Use the information gathered to infer the RAID configuration, such as the RAID level and number of drives.
Pros Cons
1. Provides detailed technical information about the physical drives. 1. Requires familiarity with command-line tools and commands.
2. No additional software or utilities required. 2. May not provide clear indication of RAID configuration.
3. Can be used on any Windows Server 2016 machine. 3. Limited to detecting physical drives only, may not recognize RAID volumes.

Method 4: Via Third-Party Software

If the methods mentioned above don’t provide the desired level of information or if your server doesn’t have built-in RAID controller software, you can consider using third-party software to check the RAID configuration on your Windows Server 2016 machine.

There are several third-party software solutions available that offer advanced RAID monitoring and management features. These software solutions provide more extensive information about the RAID configuration, performance monitoring, and alerting capabilities.

The specific steps for checking the RAID configuration via third-party software will vary depending on the software you choose. However, most third-party RAID monitoring software offer intuitive interfaces and easy-to-follow instructions.

Make sure to research and choose a reputable and reliable third-party software solution that supports your RAID controller and meets your specific requirements.

Pros Cons
1. Provides advanced RAID monitoring and management capabilities. 1. Requires additional software installation and configuration.
2. More detailed information about the RAID configuration and performance. 2. May incur additional costs for purchasing the software.
3. Offers more flexibility and customization options. 3. Limited to compatibility with specific RAID controllers and software versions.

Why Can’t I Check RAID Configuration?

There could be several reasons why you are unable to check the RAID configuration on your Windows Server 2016 machine:

1. Missing RAID controller software: If your server doesn’t have built-in RAID controller software or if the software is not installed, you won’t be able to check the RAID configuration using the method mentioned in Method 1.

2. Unsupported RAID controller: Some RAID controller software may not be compatible with Windows Server 2016 or specific versions of the operating system. Make sure to check the compatibility of your RAID controller software before attempting to check the RAID configuration.

3. Physical drive failure: If one or more of your physical drives have failed, it can affect the RAID configuration and prevent you from accessing or checking it. In this case, you will need to replace the failed drive and rebuild the RAID array before checking the configuration.

To fix these issues and check the RAID configuration, you can:

1. Install the RAID controller software: If your server doesn’t have built-in RAID controller software, you can download and install the software from the manufacturer’s website.

2. Update the RAID controller firmware: Updating the RAID controller firmware can often resolve compatibility issues and allow you to check the RAID configuration. Check the manufacturer’s website for the latest firmware version and update instructions.

3. Replace the failed drive: If you have experienced a physical drive failure, replace the failed drive with a new one of the same specifications and rebuild the RAID array according to the manufacturer’s instructions. Once the rebuild is complete, you should be able to check the RAID configuration.

Implications and Recommendations

After understanding how to check RAID configuration on Windows Server 2016, there are a few implications and recommendations to keep in mind:

  1. Regular monitoring: Monitoring the RAID configuration is essential for identifying potential issues and ensuring optimal performance. Make it a habit to regularly check and monitor the RAID configuration on your Windows Server 2016 machine.
  2. Backup and recovery: While RAID provides data redundancy, it is not a substitute for regular backups. Implement a comprehensive backup and recovery strategy to protect your data in case of catastrophic failures.
  3. Keep RAID controller firmware up to date: Updating the firmware of your RAID controller can improve performance, stability, and compatibility. Check the manufacturer’s website regularly for firmware updates and apply them as recommended.

5 FAQs about Checking RAID Configuration on Windows Server 2016

Q1: Can I check RAID configuration without rebooting the server?

A: Yes, you can check RAID configuration using methods like Disk Management or command-line tools without rebooting the server.

Q2: How can I identify the RAID level used in the configuration?

A: The RAID level can usually be identified through the RAID controller software, Disk Management, or third-party software solutions. These tools provide information about the RAID configuration, including the RAID level.

Q3: What should I do if I encounter a failed physical drive in my RAID configuration?

A: If a physical drive fails in your RAID configuration, replace the failed drive with a new one of the same specifications and initiate a rebuild process to restore the RAID array. Follow the manufacturer’s instructions for replacing and rebuilding a failed drive.

Q4: How often should I monitor the RAID configuration?

A: It is recommended to monitor the RAID configuration regularly, such as on a weekly or monthly basis, to identify potential issues and ensure data integrity. Additionally, monitor the configuration after any changes or updates to the server’s hardware or software.

Q5: Is RAID a substitute for regular backups?

A: No, RAID is not a substitute for regular backups. While RAID provides data redundancy and fault tolerance, it does not protect against data loss due to other factors such as accidental deletion, software corruption, or catastrophic events. Implement a comprehensive backup strategy to ensure data protection.

Final Words

Checking the RAID configuration on your Windows Server 2016 machine is essential for managing and troubleshooting storage issues. By following the methods outlined in this article, you can gain valuable insights into your RAID setup, including the RAID level, number and type of physical drives, and other relevant configuration details.

Remember to regularly monitor the RAID configuration, keep your RAID controller firmware up to date, and maintain a comprehensive backup strategy to ensure data integrity and protection. With a clear understanding of your RAID configuration, you can effectively manage and troubleshoot any storage-related challenges that may arise.

{“@context”:”https://schema.org”,”@type”:”FAQPage”,”mainEntity”:[{“@type”:”Question”,”name”:”Q1: Can I check RAID configuration without rebooting the server?”,”acceptedAnswer”:{“@type”:”Answer”,”text”:”A: Yes, you can check RAID configuration using methods like Disk Management or command-line tools without rebooting the server.”}},{“@type”:”Question”,”name”:”Q2: How can I identify the RAID level used in the configuration?”,”acceptedAnswer”:{“@type”:”Answer”,”text”:”A: The RAID level can usually be identified through the RAID controller software, Disk Management, or third-party software solutions. These tools provide information about the RAID configuration, including the RAID level.”}},{“@type”:”Question”,”name”:”Q3: What should I do if I encounter a failed physical drive in my RAID configuration?”,”acceptedAnswer”:{“@type”:”Answer”,”text”:”A: If a physical drive fails in your RAID configuration, replace the failed drive with a new one of the same specifications and initiate a rebuild process to restore the RAID array. Follow the manufacturer’s instructions for replacing and rebuilding a failed drive.”}},{“@type”:”Question”,”name”:”Q4: How often should I monitor the RAID configuration?”,”acceptedAnswer”:{“@type”:”Answer”,”text”:”A: It is recommended to monitor the RAID configuration regularly, such as on a weekly or monthly basis, to identify potential issues and ensure data integrity. Additionally, monitor the configuration after any changes or updates to the server’s hardware or software.”}},{“@type”:”Question”,”name”:”Q5: Is RAID a substitute for regular backups?”,”acceptedAnswer”:{“@type”:”Answer”,”text”:”A: No, RAID is not a substitute for regular backups. While RAID provides data redundancy and fault tolerance, it does not protect against data loss due to other factors such as accidental deletion, software corruption, or catastrophic events. Implement a comprehensive backup strategy to ensure data protection.”}}]}

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Как починить windows hello
  • Код ошибки 1003 windows
  • Windows dialog что это
  • Rsat windows server 2008
  • Где находится автозагрузка приложений в windows 7