Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 19 Next »

리눅스 서비스를 관리하는 에이전트입니다.
리눅스 서비스는 cron이나 iptables 같이 시스템 서비스 관리자(chkconfig)에 의해 관리되는 프로세스입니다.
일부 설정 값들은 대부분 유저가 정의한 값을 그대로 사용하지만 MCCS 에이전트에 등록되면 2가지 값이 변경됩니다.

서비스의 시작 유형이 수동(RunLevel 3, 4, 5 OFF)으로 변경됩니다. 이것은 MCCS에서 시작, 중지를 관리 할 수 있도록 하기 위함입니다.
리소스를 삭제해도 RunLevel은 리소스 등록 전의 값으로 복구되지 않습니다. 


이 페이지의 주요 내용

서비스 에이전트는 서비스 상태를 모니터링 합니다.
서비스가 동작 중이라면 모니터링 결과로 0이 반환되고, 서비스가 정지되었다면 3이 반환됩니다.
만약 서비스 스크립트의 리턴 값이 기본값과 다르게 설정되어 있을 경우 모니터링 결과를 신뢰할 수 없습니다.

 

 

Adding

There are two way to add a resource which one is select this from a group name and another is select this from a resource type.

Adding in Group

  1. select a group -> right click -> 'Add Resource'

    [Figure] Adding Resource in a group

  2. Select 'Service' from Resource Type lists and click 'Next' button. When add a resource from the service resource type name, this step will be skipped.

    [Figure] Select Resource Wizard View

  3. Next steps are same as adding in resource type.

Adding in Resource Type

  1. ResourceType - Right Click - Click Add Resource

    [Figure] Adding Service Resource in a resource type

  2. 서비스 리소스 추가 최초 화면입니다.

    [그림] 서비스 리소스 추가 화면


  3. Enter 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

  4. Click "Finish" and service resource is added.

    [Figure] Adding service resource is completed

Deleting

Select resource type - right click - delete resource

  1. Select delete resource

    [Figure] Deleting resource view

State

다음 테이블은 상태와 사용자 명령에 의해 발생되는 MCCS 리소스의 상태 이동에 대해 설명합니다.
명령은 사용자에 의해 발생되는 것을 전제로 합니다.

서비스 에이전트: 리눅스 서비스들을 관리합니다. 서비스는 일반적으로 데몬으로 구동하는 프로세스입니다.

상태Agent 가능 명령설명비고

온라인

서비스가 정상 작동 중입니다.

오프라인

서비스를 중지합니다.

 
모니터링

서비스 상태를 파악합니다.

 

오프라인

서비스가 중지된 상태입니다.

온라인

서비스를 시작합니다.

 
모니터링

서비스 상태를 파악합니다.

 

장애

서비스가 정상적으로 작동하지 않는 상태입니다.

온라인서비스를 시작합니다. 
오프라인서비스를 중지합니다. 

 

 

Attribute


[Figure] Window Service Attribute


Attribute

Description

Type

DefaultEditNote

ServiceName

It is a name of the window service to be monitored.
서비스가 동작 중이라면 모니터링 결과로 0이 반환되고, 서비스가 정지되었다면 3이 반환됩니다.
만약 서비스 스크립트의 리턴 값이 기본값과 다르게 설정되어 있을 경우 모니터링 결과를 신뢰할 수 없습니다.

STRING

 

false

 

Attribute value 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.

 

 

  • No labels