Section | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
정의
리눅스 서비스를 관리하는 에이전트입니다.
리눅스 서비스는 cron이나 iptables 같이 시스템 서비스 관리자(chkconfig)에 의해 관리되는 프로세스입니다.
리눅스 서비스의 몇몇 설정 값들은 대부분 유저가 정의한 값 그대로 사용하지만 MCCS 에이전트에 등록되면 2가지 값이 변경됩니다.
서비스의 시작 유형이 수동(RunLevel 3, 4, 5 OFF) 으로 변경됩니다. 이것은 MCCS에서 시작, 중지를 관리 할 수 있도록 하기 위함입니다. 리소스를 삭제해도 RunLevel 은 리소스 등록 전의 값으로 복구 되지 않습니다.
Warning |
---|
서비스 에이전트는 서비스 상태를 모니터링 합니다. 서비스가 동작 중이라면 모니터링 결과로 0이 반환되고, 서비스가 정지되었다면 3이 반환됩니다. 만약 서비스 스크립트의 리턴 값이 기본값과 다르게 설정되어 있을 경우 모니터링 결과를 신뢰할 수 없습니다. |
추가
그룹에서 추가 할 경우
...
리소스 타입에서 추가 할 경우
...
삭제
리소스타입 - 마우스 우 클릭 - 리소스 삭제를 선택합니다.
- 삭제 메뉴를 선택합니다.
[그림] 리소스 삭제 화면
상태
온라인
서비스가 정상 작동 중입니다.
오프라인
서비스가 중지된 상태입니다.
장애
서비스가 정상적으로 작동하지 않는 상태입니다.
속성
그림 서비스 속성 화면
ArgList 인수 | 설명 | 타입 | |||
ServiceName | 모니터링하는 서비스 이름입니다. 서비스가 동작 중이라면 모니터링 결과로 0이 반환되고, 서비스가 정지되었다면 3이 반환됩니다. 만약 서비스 스크립트의 리턴 값이 기본값과 다르게 설정되어 있을 경우 모니터링 결과를 신뢰할 수 없습니다. | String |
ArgList 인수들에 대한 속성값은 해당 리소스를 등록할 때에 입력된 값이며, '리소스 고유 속성'에서 값을 변경하거나 확인할 수 있습니다.
서비스 에이전트
리눅스 서비스들을 관리합니다.
기능
서비스는 일반적으로 데몬으로 구동하는 프로세스입니다.
Online
서비스를 시작합니다.
Offline
서비스를 중지합니다.
Monitor
서비스 상태를 파악합니다.
Adding
Add the service resource to a group.
Warning |
---|
A service agent monitors the service status. |
- Select a group → right click → 'Add Resource'.
- Select 'Service' from Resource Type lists and click 'Next' button. When you add a resource from the service resource type name, this step will be skipped.
- Enter a service name and it will automatically search and suggest proper service name.
Select the service to be managed.
[Figure] Search service resource and suggest name view - Click the 'Finish' button to add the basic application resource.
You can immediately check the result in the management web console.
Deleting
Select resource type → right click → delete resource.
The deleted resource will immediately disappear from the management web console.
Warning |
---|
The service registered in MCCS will be automatically switched to "Manual Start". |
Status
The following table explains the status switching of the MCCS resource caused by a user's command and the status.
The command assumes that it is generated by a user.
Service agent: Manages the Linux services. In general, service is a process operated by daemon.
Status | Agent command | Description | Note |
---|---|---|---|
Online Service is operating properly. | Offline | Terminate the service. | |
Monitoring | The status of service is assessed. | ||
Offline Service is terminated. | Online | Service is started. | |
Monitoring | The status of service is assessed. | ||
Trouble Service is not operating properly. | Online | Service is started. | |
Offline | Terminate the service. |
Attribute
Display the unique attribute of service resource.
Attribute | Description | Type | Default | Edit | Note |
ServiceName | It is a name of the window service to be monitored. | STRING | false |
Attribute values of ArgList arguments are the values that are added resources and the value can be changed or viewed through 'Specified Attribute’ list on the detailed information panel.