Red Hat ENTERPRISE LINUX 4.5.0 - Guida Utente Pagina 67

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 117
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 66
67
# chkconfig: - 27 46
# description: software watchdog
#
# Source function library.
. /etc/rc.d/init.d/functions <= Delete for SLES10SP2, SLES10SP3
prog=/usr/sbin/ResetWDT
case "$1" in
start)
echo -n "Starting watchdog daemon: "
${prog} &
success "Starting watchdog daemon" <= Delete for
SLES10SP2,SLES10SP3
echo
;;
*)
echo "Usage: watchdog {start}"
exit 1
;;
esac
----------------------------------------
* Specify the path of WDT Update program in prog=
3-4) Copy WDT Update program script.
RHEL4, RHEL5
# install -p -m 755 watchdog /etc/rc.d/init.d
SLES10SP2, SLES10SP3
# install -p -m 755 watchdog /etc/init.d
3-5) Set that WDT Update program is possible to start automatically.
# chkconfig -add watchdog
# chkconfig watchdog on
Note
When you create the program and script on Windows, It is necessary to change
code for Linux under use.
4) Restart the system.
# reboot
Disable Procedure
Log in to the system as the root user.
1) Refer to the following and modify /etc/sysconfig/ipmi by using editor.
----------------------------------------
IPMI_WATCHDOG=no
----------------------------------------
Vedere la pagina 66
1 2 ... 62 63 64 65 66 67 68 69 70 71 72 ... 116 117

Commenti su questo manuale

Nessun commento