RAID Contoller Dell PERC H200

Configuration of PERC H200

We recommend to use the packages from the following site: HWraid.

Below you'll find how to use it on your distribution.

Debian Squeeze

echo "deb http://hwraid.le-vert.net/debian squeeze main" >> /etc/apt/sources.list
apt-get update
apt-get install sas2ircu-status

Debian Wheezy

echo "deb http://hwraid.le-vert.net/debian wheezy main" >> /etc/apt/sources.list
apt-get update
apt-get install sas2ircu-status

Ubuntu Precise

echo "deb http://hwraid.le-vert.net/ubuntu precise main" >> /etc/apt/sources.list
apt-get update
apt-get install sas2ircu-status

Ubuntu Lucid

echo "deb http://hwraid.le-vert.net/ubuntu lucid main" >> /etc/apt/sources.list
apt-get update
apt-get install sas2ircu-status

Check the status of PERC H200

To list details of your controller Dell PERC H200, use the command:

sas2ircu LIST

You will see the information about your controller:

  LSI Corporation SAS2 IR Configuration Utility.
  Version 5.00.00.00 (2010.02.09)  
  Copyright (c) 2009 LSI Corporation. All rights reserved. 
  
         Adapter      Vendor  Device                       SubSys  SubSys 
  Index    Type          ID      ID    Pci Address          Ven ID  Dev ID 
  -----  ------------  ------  ------  -----------------    ------  ------ 
   0     SAS2008     1000h    72h   00h:01h:00h:00h      1028h   1f1dh 
  SAS2IRCU: Utility Completed Successfully.

Check the status of the RAID

To check the status of the hardware RAID on your Dell PERC H200, use the following command:

sas2ircu-status 
-- Controller informations --
-- ID | Model
c0 | SAS2008

-- Arrays informations --
-- ID | Type | Size | Status
c0u0 | RAID1 | 1907G | Okay (OKY)

-- Disks informations
-- ID | Model | Status
c0u0p0 | ST32000444SS (9WM3NAR0) | Optimal (OPT)
c0u0p1 | ST32000444SS (9WM3MZL2) | Optimal (OPT)

Automatize the check of your RAID status

You can use the following script and a CRON job to automatize the check of your RAID status:

      
  #!/bin/bash
  #         Version 2, December 2004
  # written by Milan Berger (m.berger@ghcif.de)
  #
  # necessite le package bsd-mailx sous debian
  # et le package sas2ircu-status
  # voir http://hwraid.le-vert.net/wiki/DebianPackages
     
  recipient='user@domain.tld'
  if /usr/sbin/sas2ircu-status | grep -q Okay
  then
        echo 'RAID status is okay'
  else
        echo -e 'RAID check failed' | mailx -s "RAID check on $HOSTNAME failed" $recipient
  fi 

Optimize your RAID controller PERC H200

his optimization can be done on PERC H200 controllers with SATA disks.

Currently this fix can be applied to the following offers:

For maximum performance, activate the cache of your SATA disks. Following the creation of a virtual disk, the cache of your SATA disks is disabled.

To profit again from a maximum of performance, it is required to re-enable the cache of the disks.

This can be done in a rescue environment, running a 64 bit Ubuntu OS.

1. Boot your server into rescue mode by choosing Ubuntu 14.04 LTS amd64.
2. Connect yourself in SSH using the provided credentials.

sudo su
 
echo 'deb http://linux.dell.com/repo/community/deb/latest /' | sudo tee -a  /etc/apt/sources.list.d/linux.dell.com.sources.list

apt-get update && apt-get install -y --force-yes srvadmin-base

service dataeng start

/opt/dell/srvadmin/sbin/omconfig storage vdisk  action=changepolicy controller=0 vdisk=0 diskcachepolicy=enabled

This will enable the cache of your disks again.