[MIP-494] λ³΅ν•©μ‘μš© λ˜λŠ” κΈ°λ³Έμ‘μš© ꡬ성 ν›„ 슀크립트λ₯Ό "각 μ„œλ²„ (each nodes)"둜 λ³€κ²½ν•˜λ©΄ λ¦¬μ†ŒμŠ€ ν™œμ„±ν™”κ°€ λ˜μ§€ μ•ŠμŒ

Subject
λ³΅ν•©μ‘μš© λ˜λŠ” κΈ°λ³Έμ‘μš© ꡬ성 ν›„ 슀크립트λ₯Ό "각 μ„œλ²„ (each nodes)"둜 λ³€κ²½ν•˜λ©΄ λ¦¬μ†ŒμŠ€ ν™œμ„±ν™”κ°€ λ˜μ§€ μ•ŠμŒ.


APPLIES TO:
MCCS version: 3.6
OS: Red Hat Enterprise Linux Server release 6.2 (Santiago)
APPs:
Disk Type:Β 

SYMPTOMS
MCCS 3.6μ—μ„œ κ°μ„œλ²„μ˜ λ‹€λ₯Έ 슀크립트 정상 μž‘λ™ μ—¬λΆ€λ₯Ό ν™•μΈν•˜κΈ° μœ„ν•΄ ν…ŒμŠ€νŠΈ μ‹œλ„λ₯Ό ν–ˆμœΌλ‚˜, λ³΅ν•©μ‘μš©, κΈ°λ³Έμ‘μš© 슀크립트 변경을 ν•˜λ©΄ λ¦¬μ†ŒμŠ€ ν™œμ„±ν™”κ°€ λ˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€.

ν…ŒμŠ€νŠΈ Β ν™˜κ²½
Β  - ν…ŒμŠ€νŠΈ μ„œλ²„ A와 B λ₯Ό ꡬ좕 ν›„ λ³΅ν•©μ‘μš©, κΈ°λ³Έμ‘μš© 등둝
Β  - A μ„œλ²„μ™€ Bμ„œλ²„μ— 슀크립트 등둝
Β  - Aμ„œλ²„ μŠ€ν¬λ¦½νŠΈλŠ” ntpd_start.sh, ntpd_stop.sh, ntpd_mon.shλ₯Ό μ‚¬μš©
Β  - Bμ„œλ²„ μŠ€ν¬λ¦½νŠΈλŠ” ntpd1_start.sh, ntpd1_stop.sh, ntpd1_mon.shλ₯Ό μ‚¬μš©

ν…ŒμŠ€νŠΈ 방법
Β  - 초기 λ³΅ν•©μ‘μš© κ΅¬μ„±μ‹œ μ–‘ μ„œλ²„μ— ntpd_start.sh, ntpd_stop.sh, ntpd_mon.sh으둜 ν”„λ‘œμ„ΈμŠ€ 등둝
Β  - λ¦¬μ†ŒμŠ€ μ†μ„±μ—μ„œ StartProgram, StopProgram, MonitorProgram μ†μ„±νŽΈμ§‘ -> ""각 λ…Έλ“œλ³„(each nodes)"" μ„€μ •μœΌλ‘œ 슀크립트 등둝
Β  Β  ex) Aμ„œλ²„ -> ntpd_start.sh, Bμ„œλ²„ ->ntpd_start1.sh 등둝

κ²°κ³Ό
λ³΅ν•©μ‘μš© λ˜λŠ” κΈ°λ³Έμ‘μš©μ΄ ""λΉ„ν™œμ„±ν™”"" μƒνƒœλ‘œ λ³€ν•œ ν›„ ""ν™œμ„±ν™”""κ°€ Β λ˜μ§€ μ•ŠμŒ
μ•„λž˜λŠ” ν•΄λ‹Ή μ‹œμ  mccs log μž…λ‹ˆλ‹€.
=================================================
13/07/11-13:03:34,442 | ERROR | 40040:StartProgram 의 κ²½λ‘œκ°€ μ˜¬λ°”λ₯΄μ§€ μ•ŠμŒ.(경둜:A=/opt/mantech/scripts/ntpd_start.sh,B=/opt/mantech/scripts/ntpd_start1.sh)
13/07/11-13:03:34,442 | WARN | 30128:λ¦¬μ†ŒμŠ€crond ꡬ성 μ‹€νŒ¨. 속성이 μœ νš¨ν•˜μ§€ μ•Šμ•„ λ¦¬μ†ŒμŠ€ ν™œμ„±ν™”κ°€ λΆˆκ°€λŠ₯ν•©λ‹ˆλ‹€.
================================================="

CAUSE

SOLUTION
Β 1. 각 λ…Έλ“œμ— ν•΄λ‹Ήν•˜λŠ” 슀크립트λ₯Ό μ‚¬μš©ν•˜κ³  싢을 경우 μŠ€ν¬λ¦½νŠΈλ‚΄λΆ€μ—μ„œ λ…Έλ“œλ³„λ‘œ λ‚˜λˆ„μ–΄ μ„œ 처리 ν•˜λ„λ‘ μ‚¬μš©μž μœ λ„.
Β 2. 속성 λ³€κ²½μ°½μ—μ„œ 슀크립트 μˆ˜μ •μ‹œ "κ°λ…Έλ“œ" μ‚¬μš©λͺ»ν•˜λ„둝 μˆ˜μ •.

Fixed MCCS 3.6.1