Raidstatus

From SME Server
Revision as of 18:28, 19 March 2014 by Stephdl (talk | contribs) (→‎mailto)
Jump to navigationJump to search


Raidstatus for SME Server

PythonIcon.png 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 an external non default repository. You must first configure the stephdl repository on your SME server by following the steps here stephdl (if not already configured).

You can check the repo status as follows

db yum_repositories show stephdl

If you receive no output then the repo is not configured on your SME server.

Then run the following commands to install the Raidstatus contrib on your SME Server.

yum --enablerepo=stephdl install smeserver-raidstatus

Then activate the database changes as follows:

signal-event post-upgrade;  signal-event reboot

or if you do not want to restart the server, simply do

signal-event console-save

Go to the Server Manager and check the status of raid

In case the raid is unsynchronized, please check the documentation at 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 can 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.