Skip to content
Snippets Groups Projects
Commit e0f0133f authored by Pavel Jirásek's avatar Pavel Jirásek
Browse files

Vyřazený uzel s běžící úlohou - mail do RT

parent 6e43df12
No related branches found
No related tags found
4 merge requests!368Update prace.md to document the change from qprace to qprod as the default...,!367Update prace.md to document the change from qprace to qprod as the default...,!366Update prace.md to document the change from qprace to qprod as the default...,!303Předělání onboardovací dokumentace
......@@ -197,6 +197,19 @@ kexec -l /boot/vmlinuz-${latestkernel} --initrd=/boot/initramfs-${latestkernel}.
reboot
```
# Vyřazený uzel s běžící úlohou - mail do RT
Upozornění na doběhnutí úlohy [založením tiketu v RT] (https://support.it4i.cz/rt/Ticket/Display.html?id=2967).
* Pro připojení k exist. tiketu nutno doplnit číslo tiketu do subjectu zprávy.
* Nebo odebrat ze subjectu zprávy [IT4I Support #2967] a založí se nový tiket.
```bash
nohup bash -c 'while true ; do sleep 60 ; x=`qstat -n` ; [ $? -ne 0 ] && continue ; echo "$x" | grep -q cn173 || { echo "prosim otocit, viz RT#XXXX" | mail -s "[IT4I Support #XXXX] prosim otocit tento uzel" infrastruktura@it4i.cz ; exit 0 ; } ; done > /tmp/qstat_reboot 2>&1' &
```
# Vadný disk
* Vypsání bolavých uzlů pomocí pbsnodes
```bash
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment