Red Hat ENTERPRISE LINUX 4.5.0 - Guia do Utilizador Página 66

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 117
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 65
66
The presence designated at timeout period, you can confirm it in having
explanation or not of watchdog-timeout of "man watchdog.conf".
[In the case of the watchdog package which cannot appoint timeout period]
----------------------------------------
watchdog-device = /dev/watchdog
interval = 30
----------------------------------------
[In the case of the watchdog package which can appoint timeout period]
----------------------------------------
watchdog-device = /dev/watchdog
interval = 30
watchdog-timeout = 180 -> Appoint timeout period with number of seconds.
----------------------------------------
In this case appoint 180 seconds.
* Set Update Interval by the number of seconds in interval=.
In this case Update Interval is 30 seconds
3-2) Set that WDT Update program is possible to start automatically.
# chkconfig watchdog on
watchdog package is not installed
3-1) Referring to the following and create WDT Update program.
The file name is assumed to be "ResetWDT" in this case.
----------------------------------------
#!/bin/sh
while true
do
/usr/bin/ipmitool raw 0x6 0x22 > /dev/null 2>&1
sleep 30
done
----------------------------------------
* Set Update Interval by the number of seconds in sleep=.
Update Interval is 30 seconds in this case.
3-2) Copy WDT Update program to /usr/sbin.
# install -p -m 755 ResetWDT /usr/sbin
3-3) Refer to the following and create WDT Update program script.
The file name is assumed to be "watchdog" in this case.
----------------------------------------
#! /bin/sh
#
Vista de página 65
1 2 ... 61 62 63 64 65 66 67 68 69 70 71 ... 116 117

Comentários a estes Manuais

Sem comentários