Raidstatus

From SME Server
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

Version

Contrib 10:
smeserver-raidstatus
The latest version of smeserver-raidstatus is available in the SME repository, click on the version number(s) for more information.


stephdl

Description

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

Installation

yum --enablerepo=smecontribs install smeserver-raidstatus

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.

for sme8 or sme9

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

Please raise bugs under the SME-Contribs section in bugzilla

and select the smeserver-openvpn-bridge component or use this link


"No open bugs found."

Changelog

Only versions released in smecontrib are listed here.

smeserver-raidstatus Changelog: SME 10 (smecontribs)
2022/11/11 Jean-Philippe Pialasse 0.3-3.sme
- apply locale 2022-11-11 patch
2022/08/04 Jean-Philippe Pialasse 0.3-2.sme
- import to SME 10
2014/08/14 Stephane de Labrusse 0.3-1
- Added 'mailto' db setting in the server-manager panel
2014/06/05 Stephane de Labrusse 0.2-1
- unitialised value $2

2014/03/15 Stephane de Labrusse 0.1.8
- a great big thank to walter who have made the new design and corrected a bug i made

- back of my weekly mail status