Raidstatus

From SME Server
Revision as of 22:37, 14 February 2014 by Stephdl (talk | contribs) (→‎Usage)
Jump to navigation Jump to search


Raidstatus for SME Server

  Skill level: beginner
The instructions on this page can be followed by a beginner.


Maintainer

Stephane de Labrusse aka stephdl


Description

This contribution for SME Server adds the abilities to check the status of your software Raid in server-manager

Installation

This contrib is currently held in the stephdl repository, so the following commands will install on your SME Server.

yum --enablerepo=stephdl install smeserver-raidstatus

You will then need to activate the database changes etc. The 'official' way is to perform

signal-event post-upgrade;  signal-event reboot

or if you do not want to restart the server

signal-event console-save

Go to the Server Manager and check the status of raid

In case of your raid is desynchronized, please check our documentation http://wiki.contribs.org/Raid:Manual_Rebuild.

Usage

RED : You have a desynchronized raid, please check which drive is failed and if possible try to add it again

ORANGE : A Raid array is synchronizing or you have installed SME Server on a single drive

GREEN : All is Ok, you can return to work

mailto

This contribs send a mail every sunday with the status of each array of your software raid. The recipient is admin but you change this by a db command

config setprop raidstatus mailto "foo@foo.com"

or if you need several recipients

config setprop raidstatus mailto "foo@foo.com foo@foo.be foo@foo.fr"

Uninstall

yum remove smeserver-raidstatus
signal-event post-upgrade;  signal-event reboot

Bugs

Not yet a component in bugzilla, please raise a bug in the unknown section.