Compare commits
5 commits
Author | SHA1 | Date | |
---|---|---|---|
|
4f18286409 | ||
|
838f4c4c73 | ||
|
7707f440ee | ||
|
58a69dfb01 | ||
|
fedfd68c37 |
3 changed files with 56 additions and 4 deletions
|
@ -16,5 +16,7 @@ RUN apt-get update && apt-get install -y \
|
||||||
megaclisas-status \
|
megaclisas-status \
|
||||||
mpt-status \
|
mpt-status \
|
||||||
pciutils \
|
pciutils \
|
||||||
|
procps \
|
||||||
strace \
|
strace \
|
||||||
stress-ng
|
stress-ng \
|
||||||
|
tmux
|
||||||
|
|
43
README.md
43
README.md
|
@ -10,6 +10,10 @@ image uses significant content from the
|
||||||
[hwraid](https://hwraid.le-vert.net/) page that we would like to thank
|
[hwraid](https://hwraid.le-vert.net/) page that we would like to thank
|
||||||
for its years long contribution.
|
for its years long contribution.
|
||||||
|
|
||||||
|
See also the [ungleich hardware maintenance
|
||||||
|
guide](https://redmine.ungleich.ch/projects/open-infrastructure/wiki/The_ungleich_hardware_maintenance_guide),
|
||||||
|
which describes the use of various hardware raid tools.
|
||||||
|
|
||||||
You can use this image from
|
You can use this image from
|
||||||
|
|
||||||
* ungleich/ungleich-hardware
|
* ungleich/ungleich-hardware
|
||||||
|
@ -29,8 +33,10 @@ lspci
|
||||||
megacli
|
megacli
|
||||||
megaclisas-status
|
megaclisas-status
|
||||||
mpt-status
|
mpt-status
|
||||||
|
ps
|
||||||
strace
|
strace
|
||||||
stress-ng
|
stress-ng
|
||||||
|
tmux
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
@ -73,9 +79,44 @@ use using the nodeSelector:
|
||||||
....
|
....
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### fwupdmgr
|
||||||
|
|
||||||
|
```
|
||||||
|
/usr/bin/dbus-daemon --system --address=systemd: --nopidfile --syslog-only
|
||||||
|
```
|
||||||
|
|
||||||
|
### hpacucli
|
||||||
|
|
||||||
|
Ensure the following kernel modules are loaded on the host:
|
||||||
|
|
||||||
|
```
|
||||||
|
hpsa
|
||||||
|
sg
|
||||||
|
```
|
||||||
|
|
||||||
|
to avoid the
|
||||||
|
|
||||||
|
```
|
||||||
|
# hpacucli controller all show
|
||||||
|
|
||||||
|
Error: No controllers detected.
|
||||||
|
```
|
||||||
|
|
||||||
|
error.
|
||||||
|
|
||||||
## Changelog / Tags
|
## Changelog / Tags
|
||||||
|
|
||||||
### Planned
|
### 0.1.0 (planned)
|
||||||
|
|
||||||
|
* Include storcli
|
||||||
|
https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/1.23.02_StorCLI.zip
|
||||||
|
* include megacli.py for prometheus supprt
|
||||||
|
https://github.com/ungleich/megacli2prom
|
||||||
|
|
||||||
|
### 0.0.5 (2022-01-15)
|
||||||
|
|
||||||
|
* Added procps for ps
|
||||||
|
* Added tmux to be able to run things in parallel
|
||||||
|
|
||||||
### 0.0.4 (2022-01-15)
|
### 0.0.4 (2022-01-15)
|
||||||
|
|
||||||
|
|
9
build.sh
9
build.sh
|
@ -6,8 +6,17 @@ docker build -t ungleich-hardware .
|
||||||
|
|
||||||
while [ $# -ge 1 ]; do
|
while [ $# -ge 1 ]; do
|
||||||
tag=$1; shift
|
tag=$1; shift
|
||||||
|
# Does the tag exist?
|
||||||
|
if git rev-list "$tag" 2>/dev/null; then
|
||||||
|
cur=$(git describe)
|
||||||
|
if [ $cur != $tag ]; then
|
||||||
|
echo "Requested build for $tag, but we are on $cur, aborting"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
else
|
||||||
git tag -a -m "Version $tag" $tag
|
git tag -a -m "Version $tag" $tag
|
||||||
git push --tags
|
git push --tags
|
||||||
|
fi
|
||||||
docker tag ungleich-hardware:latest ungleich/ungleich-hardware:${tag}
|
docker tag ungleich-hardware:latest ungleich/ungleich-hardware:${tag}
|
||||||
docker tag ungleich-hardware:latest harbor.ungleich.svc.p10.k8s.ooo/ungleich-public/ungleich-hardware:${tag}
|
docker tag ungleich-hardware:latest harbor.ungleich.svc.p10.k8s.ooo/ungleich-public/ungleich-hardware:${tag}
|
||||||
docker push ungleich/ungleich-hardware:${tag}
|
docker push ungleich/ungleich-hardware:${tag}
|
||||||
|
|
Loading…
Reference in a new issue