HP-UX
1748118 회원
3669 온라인
108758 솔루션
새 메시지

envd 데몬에 대해서

 
장호준
비정기 조언자

envd 데몬에 대해서

서버의 내부 온도를 체트하는 데몬이 envd 라고 알고 있습니다.



이 데몬은 항상 실행중인지( ps -ef | grep envd 했을 때 항상 나와야 하는지 ) 아니면, 보드가 온도를 체크하다가 일정 온도 이상일 때 실행시키는 것인지 궁금합니다.



또, envd 는 /etc/encd.cfg 가 없으면 실행이 안되던데, 시스템이 Oveer Temp 를 감지하고 envd 의 실행 없이 셧다운 될 수도 있는건지 궁금합니다.



시스템실 에어컨 고장으로 서버가 셨다운 되었고, syslog 에 SIGNAL 15 메시지가 뿌려진 것으로 보아 정상 셧다운으로 보입니다.

/etc/envd.cfg 는 존재하지 않고, 장비는 C8000 Workstation , OS 는 HP-UX 11i 입니다.



고수님들의 답변 미리 감사드립니다. 새해 복 많이 받으세요.
4 응답 4
양계전
초등학생

envd 데몬에 대해서

안녕하세요



envd.cfg가 아니고 /etc/envd.conf 입니다



위 파일은 웍스테이션에는 없는걸로 알고 있습니다



envd.conf 는



# @(#)B.11.11_LR

# envd reads its configuration information when the envd daemon

# starts, and when it receives a SIGHUP signal to restart itself.

#

# This configuration file contains comment lines, event lines,

# and action lines. Lines beginning with the # character in

# the first column are comment lines, and all characters

# up to the subsequent new-line character are ignored.

# The syntax of event lines and action lines are:

#

# event:message_indicator

# action

#

# The event line is composed of two fields: event and message_indicator;

# single colon separated, without any blanks interspersed. Recognized

# events include OVERTEMP_CRIT, OVERTEMP_EMERG, FANFAIL_CRIT, and

# FANFAIL_EMERG. The message indicator field takes only a binary value,

# and may be specified as either 'y' or 'n', indicating to log event messages,

# or not, upon the occurrence of an event. All event lines must start from

# the first column of the line. Invalid event lines will be taken

# as action lines.

#

# The action lines for an event may span across several lines,

# but the syntax of every line must be understood by /usr/bin/sh.

# No parsing or syntax checking is performed on the action lines.

#

# The example below configures envd to log the warning message at

# OVERTEMP_CRIT or FANFAIL_CRIT, and to log emergency messages and perform

# system shutdown immediately at OVERTEMP_EMERG or FANFAIL_EMERG, in order

# to preserve data integrity.



OVERTEMP_CRIT:y



OVERTEMP_EMERG:y

/usr/sbin/reboot -qh



FANFAIL_CRIT:y



FANFAIL_EMERG:y

/usr/sbin/reboot -qh





이렇식으로 되어있습니다
김병수
본과생

envd 데몬에 대해서

envd daemon은 /etc/envd.conf 라고하는 file의 정의에 의해 작동합니다.



OVERTEMP_LOW : 28 도

OVERTEMP_CRIT : 32 도

OVERTEMP_EMERG : 35 도



이daemon은 항상 떠있습니다.



/etc/envd.conf 내에 DOWN 명령을 해제할 수 있습니다.

하지만, 온도가 35도 이상올라갈 경우에는 장비에 어떠한 문제가

야기될 지 모르기 때문에 권장하지 않습니다.



그럼~~~~
장호준
비정기 조언자

envd 데몬에 대해서

답변 감사드립니다. 제가 잠시 착각을 했습니다.



/etc/envd.conf 가 맞습니다. ^^



envd 데몬이 떠 있지 않은 상태에서 시스템이 Over Temp 를 인지하고 셧다운 되는 상황이 가능한가요?



C8000 Workstation 은 Diagnotics LED 를 통해서 Over Temp System Fault 를 보여주는 것으로 알고 있는데, 이 때 시스템을 Fault 시키는 것은 프로세서가 하는 것인가요? 하드웨어에서 강제적으로 전원을 차단하는 것인가요?



고수님들의 답변 미리 감사드립니다 ^^

양계전
초등학생

envd 데몬에 대해서

제가 잘못 알고 있었네요..



HW(firmware) 단에서 감지한후 envd 데몬에서 shutdown을 시키는거같네요



아래문서 참조요



http://docs.hp.com/en/B2355-60127/envd.1M.html



DESCRIPTION

The envd daemon provides a means for the system to respond to environmental conditions detected by hardware. Such responses are typically designed to maintain file system integrity and prevent data loss. The environmental conditions currently recognized by envd are over-temperature and chassis fan failure.