Difference between revisions of "Raidstatus"

From SME Server
Jump to navigationJump to search
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{Languages}}
 
{{Languages}}
== Dhcpmanager for SME Server ==
+
== Raidstatus for SME Server ==
 
{{Level|beginner}}
 
{{Level|beginner}}
 
==Maintainer==
 
==Maintainer==
 
[mailto:stephdl@de-labrusse.fr[[User:stephdl|Stephane de Labrusse aka stephdl]]]<br />
 
[mailto:stephdl@de-labrusse.fr[[User:stephdl|Stephane de Labrusse aka stephdl]]]<br />
 +
===Version===
  
 +
{{#smeversion: smeserver-raidstatus }}
 +
[[Version::contrib9|stephdl]][[Has SME9::true| ]]
  
 
=== Description ===
 
=== Description ===
Line 10: Line 13:
  
 
=== Installation ===
 
=== Installation ===
This contrib is currently held in the [[stephdl]] repository, so the following commands will install on your SME Server.
+
<tabs container><tab name="For SME 10">
 +
yum --enablerepo=smecontribs install smeserver-raidstatus
 +
</tab><tab name="For SME 9">
 +
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).  
  
  yum --enablerepo=stephdl install smeserver-raidstatus
+
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.
  
You will then need to activate the database changes etc.
+
Then run the following commands to install the Raidstatus contrib on your SME Server.<br />
The 'official' way is to perform
 
  
 +
'''for sme8 or sme9'''
 +
yum --enablerepo=stephdl install smeserver-raidstatus
 +
Then activate the database changes as follows:
 
  signal-event post-upgrade;  signal-event reboot
 
  signal-event post-upgrade;  signal-event reboot
or if you do not want to restart the server
+
or if you do not want to restart the server, simply do
 
  signal-event console-save
 
  signal-event console-save
 +
</tab>
 +
</tabs>
 
Go to the  Server Manager and check the status of raid
 
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.
+
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 ===
 
=== Uninstall ===
 
  yum remove smeserver-raidstatus
 
  yum remove smeserver-raidstatus
 
  signal-event post-upgrade;  signal-event reboot
 
  signal-event post-upgrade;  signal-event reboot
 +
 
=== Bugs ===
 
=== Bugs ===
Not yet a component in bugzilla, please raise a bug in the unknown section.  
+
Please raise bugs under the SME-Contribs section in  {{BugzillaFileBug|product=|component=|title= bugzilla}}
 +
and select the smeserver-openvpn-bridge component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-raidstatus|title=this link}}
 +
 
 +
{{#bugzilla:columns=id,product,version,status,summary |sort=id |order=desc |component=smeserver-raidstatus|noresultsmessage="No open bugs found."}}
 +
===Changelog===
 +
Only versions released in smecontrib are listed here.
 +
 
 +
{{#smechangelog: smeserver-raidstatus}}
 +
 
 
[[Category: Contrib]]
 
[[Category: Contrib]]

Latest revision as of 05:14, 4 August 2022


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


IDProductVersionStatusSummary
12698SME Contribs10.0CONFIRMEDSpelling error in table header (see attached picture)

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