База знаний

PERC - Automating Consistency Checks using Open Manage Server Administrator Command Line in Windows OS


This article provides information about the automation of storage consistency checks on PowerEdge RAID Controllers (PERC) using Open Manage Server Administrator (OMSA) Command Line in Microsoft Windows operating systems.

For systems running Windows server 2008(r2) and 2012(r2), along with the Open Manage Server Administrator software, you can use Task Scheduler to automate the process of running consistency checks of PowerEdge RAID Controllers (PERC). It is recommended to run the check at least once a month. Once started the check itself will take approximately 3 to 5 minutes per gigabyte in the virtual disk and by default dedicate around 30% of system resources to the check.


How To Schedule Consistency Checks

For Windows servers with OMSA installed

  1. Click Start, then All Programs, then Task Scheduler. If you are on server 2008 or 2008r2 click Start, then All Programs, then Administrative Tools, then Task Scheduler.
  2. On the right-hand side of the window, click Create Task.
  3. In the create task window under General:
    1. Give your new task a name (e.g.: OMSA Consistency Check)
    2. When running the task, use the following user account: click Change User or Group…
    3. In the new window type System then click Check Names then OK.
  4. Click Triggers then New:
    1. Make sure it says Begin the task On a schedule
    2. On the left-hand side of the New Trigger window click Monthly
    3. The drop down menu for Months: click <Select all months>
    4. In Days: pick a day that works for your maintenance window or otherwise a day that works for you in our example the 1st is picked
    5. Leave start date alone but set the time for something in your window in our example 11:59:00 pm
    6. Make sure Enabled is checked then click ok.
  5. Under Actions click new:
    1. Click browse and browse to your install of OMSA command line by default that is: C:\Program Files\dell\SysMgt\oma\bin\omconfig.exe
    2. In the box for Add arguments (optional): add the following:
      storage vdisk action=checkconsistency controller=x vdisk=y (where x and y are your controller and virtual disk)
    3. In the box for Start in (optional): copy paste the path from program/script to this box leaving off omconfig.exe you should have C:\Program Files\dell\SysMgt\oma\bin\ in that box now
    4. Click OK
  6. Click OK
  7. Repeat as needed for other virtual disks if you try to do them all at once it will severely degrade the server's performance


For Linux servers with OMSA installed

  1. Open terminal as root
  2. Open your cron file for editing with crontab –e
  3. Add the following line to your crontab file:
    0 0 30 * * /opt/dell/srvadmin/bin/omconfig storage vdisk action=checkconsistency controller=x vdisk=y > /var/log/omccheck.log (where x and y are your controller and virtual disk)
  4. Save and then close the file
Note: If you want to verify it has been added type crontab –l

Example with pictures:

  1. Open Task Scheduler
    OMSA_Task_Scheduler_1

  2. Click Create Task...
    OMSA_Task_Scheduler_2

  3. Name the task and change it to run under System (here: NT AUTHORITHY\SYSTEM)
    OMSA_Task_Scheduler_3

  4. Click on the Triggers tab then click New
    OMSA_Task_Scheduler_4

  5. Change to Monthly under Months: click <Select all months> under Days: click 1 to have it start the first of every month then click OK.
    OMSA_Task_Scheduler_5

  6. Click Actions then click New…
    OMSA_Task_Scheduler_6

  7. Click Browse then browse to: C:\Program Files\Dell\SysMgt\oma\bin\omconfig.exe

    1. Add the following to arguments: storage vdisk action=chceckconsistency controller=0 vdisk=0
    2. Add the following to start in: C:\Program Files\Dell\SysMgt\oma\bin
    3. Click OK.

    OMSA_Task_Scheduler_7

  8. Click OK again.
    OMSA_Task_Scheduler_8


Need more help?
Find additional PowerEdge and PowerVault articles

Visit and ask for support in our Communities

Create an online support Request




Код статьи: SLN246708

Дата последнего изменения: 07/03/2017 08:47 AM


Оцените эту статью

Точно
Функционально
Просто понять
Помогла ли вам эта статья?
Да Нет
Отправьте нам свое мнение
Комментарии не должны содержать следующие специальные символы: <>()\
К сожалению, наша система обратной связи в настоящее время не работает. Повторите попытку позже.

Благодарим вас за отзыв.