Difference between revisions of "Raidstatus"
Unnilennium (talk | contribs) |
|||
(11 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{Languages}} | {{Languages}} | ||
− | == | + | == 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]] | + | <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). | ||
− | + | 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.<br /> | |
− | |||
+ | '''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 | + | 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 === | ||
− | + | 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
Maintainer
Stephane de Labrusse aka stephdl
Version
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
ID | Product | Version | Status | Summary |
---|---|---|---|---|
12698 | SME Contribs | 10.0 | CONFIRMED | Spelling error in table header (see attached picture) |
Changelog
Only versions released in smecontrib are listed here.
- apply locale 2022-11-11 patch
- import to SME 10
- Added 'mailto' db setting in the server-manager panel
- 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